Implement Import/Export RSS rules in legacy format

This commit is contained in:
Vladimir Golovnev (Glassez)
2017-11-22 20:25:12 +03:00
committed by sledgehammer999
parent 5cf4f00824
commit 52b2b807ab
6 changed files with 128 additions and 40 deletions

View File

@@ -73,6 +73,9 @@ namespace RSS
bool renameRule(const QString &ruleName, const QString &newRuleName);
void removeRule(const QString &ruleName);
QByteArray exportRulesToLegacyFormat() const;
bool importRulesFromLegacyFormat(const QByteArray &data);
signals:
void processingStateChanged(bool enabled);
void ruleAdded(const QString &ruleName);