Commit 8a9e5c0c authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove dependancy against BroadcastStatus

parent aaa28d53
Pipeline #23284 passed with stage
in 7 minutes and 26 seconds
cmake_minimum_required(VERSION 3.5)
set(PIM_VERSION "5.14.45")
set(PIM_VERSION "5.14.46")
project(libkdepim VERSION ${PIM_VERSION})
......
......@@ -19,7 +19,6 @@
*/
#include "addemailaddressjob.h"
#include <Libkdepim/BroadcastStatus>
#include "akonadi/contact/selectaddressbookdialog.h"
#include <KContacts/ContactGroup>
......@@ -274,7 +273,7 @@ public:
void contactStored(const Akonadi::Item &)
{
if (mInteractive) {
KPIM::BroadcastStatus::instance()->setStatusMsg(i18n("Contact created successfully"));
Q_EMIT q->successMessage(i18n("Contact created successfully"));
}
}
......
......@@ -63,9 +63,11 @@ public:
/**
* Returns the item that represents the new contact.
*/
Akonadi::Item contact() const;
Q_REQUIRED_RESULT Akonadi::Item contact() const;
void setInteractive(bool b);
Q_SIGNALS:
void successMessage(const QString &message);
private:
//@cond PRIVATE
class Private;
......
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