X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclientignorelistmanager.h;fp=src%2Fclient%2Fclientignorelistmanager.h;h=f043e0e77327897de9c2ec9155c3f2413a93277f;hp=797235e3fd11bb55b09329e7fce9eb89b96b2d04;hb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;hpb=30b159cb876a9495de42e9a3e70ca050516f0805 diff --git a/src/client/clientignorelistmanager.h b/src/client/clientignorelistmanager.h index 797235e3..f043e0e7 100644 --- a/src/client/clientignorelistmanager.h +++ b/src/client/clientignorelistmanager.h @@ -22,28 +22,29 @@ #include "client-export.h" -#include "ignorelistmanager.h" #include +#include "ignorelistmanager.h" + class CLIENT_EXPORT ClientIgnoreListManager : public IgnoreListManager { Q_OBJECT public: - explicit ClientIgnoreListManager(QObject *parent = nullptr); + explicit ClientIgnoreListManager(QObject* parent = nullptr); //! Fetch all matching ignore rules for a given hostmask /** \param hostmask The hostmask of the user - * \param network The network name - * \param channel The channel name - * \return Returns a QMap with the rule as key and a bool, representing if the rule is enabled or not, as value - */ - QMap matchingRulesForHostmask(const QString &hostmask, const QString &network, const QString &channel) const; + * \param network The network name + * \param channel The channel name + * \return Returns a QMap with the rule as key and a bool, representing if the rule is enabled or not, as value + */ + QMap matchingRulesForHostmask(const QString& hostmask, const QString& network, const QString& channel) const; signals: void ignoreListChanged(); private: // matches an ignore rule against a given string - bool pureMatch(const IgnoreListItem &item, const QString &string) const; + bool pureMatch(const IgnoreListItem& item, const QString& string) const; };