modernize: Reformat ALL the source... again!
[quassel.git] / src / core / corehighlightrulemanager.h
index 0648524..e8ae401 100644 (file)
@@ -42,16 +42,21 @@ public:
      *
      * @param[in] session Pointer to the parent CoreSession (takes ownership)
      */
-    explicit CoreHighlightRuleManager(CoreSession *session);
+    explicit CoreHighlightRuleManager(CoreSessionsession);
 
-    bool match(const RawMessage &msg, const QString &currentNick, const QStringList &identityNicks);
+    bool match(const RawMessage& msg, const QString& currentNick, const QStringList& identityNicks);
 
 public slots:
     inline void requestToggleHighlightRule(int highlightRule) override { toggleHighlightRule(highlightRule); }
     inline void requestRemoveHighlightRule(int highlightRule) override { removeHighlightRule(highlightRule); }
-    inline void requestAddHighlightRule(int id, const QString &name, bool isRegEx, bool isCaseSensitive,
-                                                bool isEnabled, bool isInverse, const QString &sender,
-                                                const QString &chanName) override
+    inline void requestAddHighlightRule(int id,
+                                        const QString& name,
+                                        bool isRegEx,
+                                        bool isCaseSensitive,
+                                        bool isEnabled,
+                                        bool isInverse,
+                                        const QString& sender,
+                                        const QString& chanName) override
     {
         addHighlightRule(id, name, isRegEx, isCaseSensitive, isEnabled, isInverse, sender, chanName);
     }
@@ -63,5 +68,5 @@ private slots:
     void save();
 
 private:
-    CoreSession *_coreSession {nullptr};  ///< Pointer to the parent CoreSession
+    CoreSession* _coreSession{nullptr};  ///< Pointer to the parent CoreSession
 };