X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fcoreaccountmodel.h;h=88bc341d97c5656d03b9e34a262b98e5e462abf4;hp=5b224b4589dc7ba0fe66f82d677439df1b00181e;hb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;hpb=92fc8c5b119111a35ab8423c3cbde5b2a022badf diff --git a/src/client/coreaccountmodel.h b/src/client/coreaccountmodel.h index 5b224b45..88bc341d 100644 --- a/src/client/coreaccountmodel.h +++ b/src/client/coreaccountmodel.h @@ -37,11 +37,11 @@ public: UuidRole }; - CoreAccountModel(QObject *parent = 0); - CoreAccountModel(const CoreAccountModel *other, QObject *parent = 0); + CoreAccountModel(QObject *parent = nullptr); + CoreAccountModel(const CoreAccountModel *other, QObject *parent = nullptr); - inline int rowCount(const QModelIndex &parent = QModelIndex()) const; - virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; + inline int rowCount(const QModelIndex &parent = QModelIndex()) const override; + QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; CoreAccount account(const QModelIndex &) const; CoreAccount account(AccountId) const;