X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreignorelistmanager.h;h=e53124b9fc85ecd8022e5d364e09120b638df92a;hp=9576c1b0c30526fc707e07f2dd1c3826cf6d387d;hb=f19fea582ace1d8f3dfe29c1096c48758079e56e;hpb=27302bba72a29977e81b9a0b2d8cde3a62ebc818 diff --git a/src/core/coreignorelistmanager.h b/src/core/coreignorelistmanager.h index 9576c1b0..e53124b9 100644 --- a/src/core/coreignorelistmanager.h +++ b/src/core/coreignorelistmanager.h @@ -26,6 +26,7 @@ class CoreSession; class CoreIgnoreListManager : public IgnoreListManager { + SYNCABLE_OBJECT Q_OBJECT public: @@ -34,6 +35,14 @@ public: inline virtual const QMetaObject *syncMetaObject() const { return &IgnoreListManager::staticMetaObject; } +public slots: + virtual inline void requestToggleIgnoreRule(const QString &ignoreRule) { toggleIgnoreRule(ignoreRule); } + virtual inline void requestRemoveIgnoreListItem(const QString &ignoreRule) { removeIgnoreListItem(ignoreRule); } + virtual inline void requestAddIgnoreListItem(int type, const QString &ignoreRule, bool isRegEx, int strictness, + int scope, const QString &scopeRule, bool isActive) { + addIgnoreListItem(type, ignoreRule, isRegEx, strictness, scope, scopeRule, isActive); + } + //private: // void loadDefaults();