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/QAbstractItemModel>
#include "core/Global.h"
class Database;
class Group;
@@ -28,7 +30,7 @@ class GroupModel : public QAbstractItemModel
Q_OBJECT
public:
explicit GroupModel(Database* db, QObject* parent = 0);
explicit GroupModel(Database* db, QObject* parent = Q_NULLPTR);
void changeDatabase(Database* newDb);
QModelIndex index(Group* group) const;
Group* groupFromIndex(const QModelIndex& index) const;