Commit c9508135 authored by Laurent Montel's avatar Laurent Montel 😁

USe ObserverV3 for mailfilteragent too

parent 85fbc708
......@@ -31,7 +31,7 @@ class FilterLogDialog;
class FilterManager;
class KJob;
class MailFilterAgent : public Akonadi::AgentBase, public Akonadi::AgentBase::ObserverV2
class MailFilterAgent : public Akonadi::AgentBase, public Akonadi::AgentBase::ObserverV3
{
Q_OBJECT
......@@ -39,7 +39,6 @@ public:
explicit MailFilterAgent( const QString &id );
~MailFilterAgent();
void itemAdded( const Akonadi::Item &item, const Akonadi::Collection &collection );
QString createUniqueName( const QString &nameTemplate );
void filterItems( const QList< qint64 >& itemIds, int filterSet );
......@@ -53,6 +52,9 @@ public:
void showFilterLogDialog(qlonglong windowId = 0);
QString printCollectionMonitored();
protected:
void itemAdded( const Akonadi::Item &item, const Akonadi::Collection &collection );
private Q_SLOTS:
void initializeCollections();
void initialCollectionFetchingDone( KJob* );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment