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

Use same name as other agent (need for 4.12)

parent 53f531d5
......@@ -135,7 +135,7 @@ bool NewMailNotifierAgent::showFolderName() const
return NewMailNotifierAgentSettings::showFolder();
}
void NewMailNotifierAgent::setEnableNotifier(bool enabled)
void NewMailNotifierAgent::setEnableAgent(bool enabled)
{
NewMailNotifierAgentSettings::setEnabled(enabled);
NewMailNotifierAgentSettings::self()->writeConfig();
......@@ -173,7 +173,7 @@ void NewMailNotifierAgent::clearAll()
mInstanceNameInProgress.clear();
}
bool NewMailNotifierAgent::enabledNotifier() const
bool NewMailNotifierAgent::enabledAgent() const
{
return NewMailNotifierAgentSettings::enabled();
}
......
......@@ -40,8 +40,8 @@ public:
explicit NewMailNotifierAgent( const QString &id );
void setEnableNotifier(bool b);
bool enabledNotifier() const;
void setEnableAgent(bool b);
bool enabledAgent() const;
void setVerboseMailNotification(bool b);
bool verboseMailNotification() const;
......
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.Akonadi.NewMailNotifier">
<method name="setEnableNotifier" >
<method name="setEnableAgent" >
<arg type="b" direction="in"/>
</method>
<method name="enabledNotifier" >
<method name="enabledAgent" >
<arg type="b" direction="out"/>
</method>
<method name="setVerboseMailNotification" >
......
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