X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fcoreaccountmodel.h;h=91082b2f40aeea006bb5a08ab0c0cc4e1029345c;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hp=9814d08b211f184f8f87c61651251d27a76d9c7b;hpb=db6e6642a43143bc45ddb0732d144815b68e37f8;p=quassel.git diff --git a/src/client/coreaccountmodel.h b/src/client/coreaccountmodel.h index 9814d08b..91082b2f 100644 --- a/src/client/coreaccountmodel.h +++ b/src/client/coreaccountmodel.h @@ -18,15 +18,16 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef COREACCOUNTMODEL_H_ -#define COREACCOUNTMODEL_H_ +#pragma once + +#include "client-export.h" #include #include #include "coreaccount.h" -class CoreAccountModel : public QAbstractListModel +class CLIENT_EXPORT CoreAccountModel : public QAbstractListModel { Q_OBJECT @@ -36,8 +37,8 @@ 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; @@ -88,6 +89,3 @@ AccountId CoreAccountModel::internalAccount() const { return _internalAccount; } - - -#endif