X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Firclistmodel.h;h=5cce869a4312ab686c039de7acb4f81913f3d308;hb=39328183a6a87c6eb10a9dbbffcd5d65bf154a1f;hp=791b505fffb98f5a0cec8cbd8974929de495ff5b;hpb=921e54680da16fcf2adb7a90506875aceb6633a4;p=quassel.git diff --git a/src/client/irclistmodel.h b/src/client/irclistmodel.h index 791b505f..5cce869a 100644 --- a/src/client/irclistmodel.h +++ b/src/client/irclistmodel.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,19 +18,20 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef IRCLISTMODEL_H -#define IRCLISTMODEL_H +#pragma once + +#include "client-export.h" #include "irclisthelper.h" #include -class IrcListModel : public QAbstractItemModel +class CLIENT_EXPORT IrcListModel : public QAbstractItemModel { Q_OBJECT public: - IrcListModel(QObject *parent = 0); + IrcListModel(QObject *parent = nullptr); virtual QVariant data(const QModelIndex &index, int role) const; virtual Qt::ItemFlags flags(const QModelIndex &index) const; @@ -50,6 +51,3 @@ public slots: private: QList _channelList; }; - - -#endif //IRCLISTMODEL_H