Commit e996da6d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add debug info

parent 06f5807f
......@@ -272,6 +272,11 @@ void NewMailNotifierAgent::slotInstanceRemoved(const Akonadi::AgentInstance &ins
}
}
void NewMailNotifierAgent::printDebug()
{
kDebug()<<"instance in progress: "<<mInstanceNameInProgress<<"\n notifier enabled : "<<mNotifierEnabled<<"\n check in progress : "<<mCheckMailInProgress;
}
AKONADI_AGENT_MAIN( NewMailNotifierAgent )
......
......@@ -43,6 +43,8 @@ public:
void setEnableNotifier(bool b);
bool enabledNotifier() const;
void printDebug();
protected:
void itemAdded( const Akonadi::Item &item, const Akonadi::Collection &collection );
void itemMoved( const Akonadi::Item &item, const Akonadi::Collection &collectionSource, const Akonadi::Collection &collectionDestination );
......
......@@ -7,5 +7,6 @@
<method name="enabledNotifier" >
<arg type="b" direction="out"/>
</method>
<method name="printDebug" />
</interface>
</node>
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