Make C++11 mandatory.

This commit is contained in:
Felix Geyer 2015-07-24 18:28:12 +02:00
parent 0e85c98d02
commit 7fa0eddc5f
112 changed files with 332 additions and 411 deletions

View file

@ -20,8 +20,6 @@
#include <QTreeView>
#include "core/Global.h"
#include "gui/entry/EntryModel.h"
class Entry;
@ -34,8 +32,8 @@ class EntryView : public QTreeView
Q_OBJECT
public:
explicit EntryView(QWidget* parent = Q_NULLPTR);
void setModel(QAbstractItemModel* model) Q_DECL_OVERRIDE;
explicit EntryView(QWidget* parent = nullptr);
void setModel(QAbstractItemModel* model) override;
Entry* currentEntry();
void setCurrentEntry(Entry* entry);
Entry* entryFromIndex(const QModelIndex& index);
@ -52,7 +50,7 @@ Q_SIGNALS:
void entrySelectionChanged();
protected:
void keyPressEvent(QKeyEvent* event) Q_DECL_OVERRIDE;
void keyPressEvent(QKeyEvent* event) override;
private Q_SLOTS:
void emitEntryActivated(const QModelIndex& index);