Make use of Q_NULLPTR.

This commit is contained in:
Felix Geyer 2012-06-29 14:15:16 +02:00
parent af142fc433
commit 68155e8f89
59 changed files with 144 additions and 96 deletions

View file

@ -20,6 +20,8 @@
#include <QtCore/QAbstractTableModel>
#include "core/Global.h"
class Entry;
class EntryHistoryModel : public QAbstractTableModel
@ -27,7 +29,7 @@ class EntryHistoryModel : public QAbstractTableModel
Q_OBJECT
public:
explicit EntryHistoryModel(QObject* parent = 0);
explicit EntryHistoryModel(QObject* parent = Q_NULLPTR);
Entry* entryFromIndex(const QModelIndex& index) const;
int columnCount(const QModelIndex& parent = QModelIndex()) const;