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

Reactivate code

parent 7fc0f3b1
Pipeline #62550 canceled with stage
......@@ -6,6 +6,7 @@
#include "mailmergeagent.h"
#include "mailmergeagent_debug.h"
#include "mailmergeagentadaptor.h"
#include "mailmergeagentsettings.h"
#include "mailmergemanager.h"
#include <AgentInstance>
......@@ -31,10 +32,8 @@ MailMergeAgent::MailMergeAgent(const QString &id)
: Akonadi::AgentBase(id)
, mManager(new MailMergeManager(this))
{
#if 0
connect(mManager, &MailMergeManager::needUpdateConfigDialogBox, this, &MailMergeAgent::needUpdateConfigDialogBox);
new MailMergeAgentAdaptor(this);
#endif
QDBusConnection::sessionBus().registerObject(
QStringLiteral("/MailMergeAgent"), this, QDBusConnection::ExportAdaptors);
......
......@@ -19,4 +19,7 @@ public:
void load(bool state = false);
void stopAll();
Q_REQUIRED_RESULT bool itemRemoved(Akonadi::Item::Id id);
Q_SIGNALS:
void needUpdateConfigDialogBox();
};
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