X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcore%2Fcoreignorelistmanager.h;h=af0a0817bd9745d6ac211f040dba17d05119eaf3;hb=1f21c1f9613031ae263eeed0c4883bfcd5488343;hp=e7665ca71768f8ec9e0a4e32d6e3426f03696b30;hpb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;p=quassel.git diff --git a/src/core/coreignorelistmanager.h b/src/core/coreignorelistmanager.h index e7665ca7..af0a0817 100644 --- a/src/core/coreignorelistmanager.h +++ b/src/core/coreignorelistmanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -30,23 +30,22 @@ class CoreIgnoreListManager : public IgnoreListManager Q_OBJECT public: - explicit CoreIgnoreListManager(CoreSession *parent); + explicit CoreIgnoreListManager(CoreSession* parent); - StrictnessType match(const RawMessage &rawMsg, const QString &networkName); + StrictnessType match(const RawMessage& rawMsg, const QString& networkName); public slots: - inline void requestToggleIgnoreRule(const QString &ignoreRule) override { toggleIgnoreRule(ignoreRule); } - inline void requestRemoveIgnoreListItem(const QString &ignoreRule) override { removeIgnoreListItem(ignoreRule); } - inline void requestAddIgnoreListItem(int type, const QString &ignoreRule, bool isRegEx, int strictness, - int scope, const QString &scopeRule, bool isActive) override + inline void requestToggleIgnoreRule(const QString& ignoreRule) override { toggleIgnoreRule(ignoreRule); } + inline void requestRemoveIgnoreListItem(const QString& ignoreRule) override { removeIgnoreListItem(ignoreRule); } + inline void requestAddIgnoreListItem( + int type, const QString& ignoreRule, bool isRegEx, int strictness, int scope, const QString& scopeRule, bool isActive) override { addIgnoreListItem(type, ignoreRule, isRegEx, strictness, scope, scopeRule, isActive); } - private slots: void save() const; -//private: -// void loadDefaults(); + // private: + // void loadDefaults(); };