modernize: Reformat ALL the source... again!
[quassel.git] / src / core / coreirclisthelper.h
index 8cb7c62..e0a0c82 100644 (file)
@@ -22,9 +22,8 @@
 
 #include <memory>
 
-#include "irclisthelper.h"
-
 #include "coresession.h"
+#include "irclisthelper.h"
 
 class QBasicTimer;
 class QTimerEvent;
@@ -34,28 +33,30 @@ class CoreIrcListHelper : public IrcListHelper
     Q_OBJECT
 
 public:
-    inline CoreIrcListHelper(CoreSession *coreSession) : IrcListHelper(coreSession), _coreSession(coreSession) {};
+    inline CoreIrcListHelper(CoreSession* coreSession)
+        : IrcListHelper(coreSession)
+        , _coreSession(coreSession){};
 
-    inline CoreSession *coreSession() const { return _coreSession; }
+    inline CoreSessioncoreSession() const { return _coreSession; }
 
-    inline bool requestInProgress(const NetworkId &netId) const { return _channelLists.contains(netId); }
+    inline bool requestInProgress(const NetworkIdnetId) const { return _channelLists.contains(netId); }
 
 public slots:
-    QVariantList requestChannelList(const NetworkId &netId, const QStringList &channelFilters) override;
-    bool addChannel(const NetworkId &netId, const QString &channelName, quint32 userCount, const QString &topic);
-    bool endOfChannelList(const NetworkId &netId);
+    QVariantList requestChannelList(const NetworkId& netId, const QStringList& channelFilters) override;
+    bool addChannel(const NetworkId& netId, const QString& channelName, quint32 userCount, const QString& topic);
+    bool endOfChannelList(const NetworkIdnetId);
 
 protected:
-    void timerEvent(QTimerEvent *event) override;
+    void timerEvent(QTimerEventevent) override;
 
 private:
-    bool dispatchQuery(const NetworkId &netId, const QString &query);
+    bool dispatchQuery(const NetworkId& netId, const QString& query);
 
 private:
-    CoreSession *_coreSession;
+    CoreSession_coreSession;
 
     QHash<NetworkId, QString> _queuedQuery;
-    QHash<NetworkId, QList<ChannelDescription> > _channelLists;
+    QHash<NetworkId, QList<ChannelDescription>> _channelLists;
     QHash<NetworkId, QVariantList> _finishedChannelLists;
     QHash<int, NetworkId> _queryTimeoutByTimerId;
     QHash<NetworkId, std::shared_ptr<QBasicTimer>> _queryTimeoutByNetId;