Commit 60ed0fa5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use new PimCommon::BroadcastStatus

parent e0051566
Pipeline #23289 passed with stage
in 12 minutes and 26 seconds
......@@ -47,7 +47,7 @@ set(LIBGRANTLEETHEME_LIB_VERSION_LIB "5.14.40")
set(LIBKDEPIM_LIB_VERSION_LIB "5.14.40")
set(LIBKLEO_LIB_VERSION_LIB "5.14.40")
set(MESSAGELIB_LIB_VERSION_LIB "5.14.40")
set(PIMCOMMON_LIB_VERSION_LIB "5.14.40")
set(PIMCOMMON_LIB_VERSION_LIB "5.14.43")
option(KDEPIM_KUSERFEEDBACK "Enable user feedback support (experimental)" FALSE)
......
......@@ -48,7 +48,7 @@
#include "dummystorage/storagefactorydummyimpl.h"
#include "utils.h"
#include "akregator_options.h"
#include <Libkdepim/BroadcastStatus>
#include <PimCommon/BroadcastStatus>
#include "akregator-version.h"
#include "unityservicemanager.h"
#include <kio/filecopyjob.h>
......@@ -353,7 +353,7 @@ void Part::slotSettingsChanged()
void Part::slotSetStatusText(const QString &statusText)
{
KPIM::BroadcastStatus::instance()->setStatusMsg(statusText);
PimCommon::BroadcastStatus::instance()->setStatusMsg(statusText);
}
void Part::saveSettings()
......
......@@ -35,7 +35,7 @@
#include "articlematcher.h"
#include "akregatorconfig.h"
#include "akregator_part.h"
#include <Libkdepim/BroadcastStatus>
#include <PimCommon/BroadcastStatus>
#include "createfeedcommand.h"
#include "createfoldercommand.h"
#include "deletesubscriptioncommand.h"
......@@ -1190,7 +1190,7 @@ void MainWidget::slotSetCurrentArticleReadDelayed()
void MainWidget::slotShowStatusBarMessage(const QString &msg)
{
KPIM::BroadcastStatus::instance()->setStatusMsg(msg);
PimCommon::BroadcastStatus::instance()->setStatusMsg(msg);
}
void MainWidget::readProperties(const KConfigGroup &config)
......
......@@ -27,7 +27,7 @@
#include "akregatorconfig.h"
#include "trayicon.h"
#include <Libkdepim/BroadcastStatus>
#include <PimCommon/BroadcastStatus>
#include <Libkdepim/ProgressStatusBarWidget>
#include <Libkdepim/StatusbarProgressWidget>
......@@ -78,7 +78,7 @@ MainWindow::MainWindow(QWidget *parent)
setStandardToolBarMenuEnabled(true);
createStandardStatusBarAction();
connect(KPIM::BroadcastStatus::instance(), &KPIM::BroadcastStatus::statusMsg,
connect(PimCommon::BroadcastStatus::instance(), &PimCommon::BroadcastStatus::statusMsg,
this, &MainWindow::slotSetStatusBarText);
connect(qApp, &QCoreApplication::aboutToQuit, this, &MainWindow::slotOnShutdown);
......
......@@ -19,7 +19,7 @@
#include "urlhandlerwebengine.h"
#include "akregator_debug.h"
#include <Libkdepim/BroadcastStatus>
#include <PimCommon/BroadcastStatus>
#include "articleviewer-ng/webengine/articleviewerwebengine.h"
#include <KLocalizedString>
#include <QDesktopServices>
......@@ -77,7 +77,7 @@ bool MailToURLHandlerWebEngine::handleContextMenuRequest(const QUrl &url, const
QClipboard *clip = QApplication::clipboard();
clip->setText(fullEmail, QClipboard::Clipboard);
clip->setText(fullEmail, QClipboard::Selection);
KPIM::BroadcastStatus::instance()->setStatusMsg(i18n("Address copied to clipboard."));
PimCommon::BroadcastStatus::instance()->setStatusMsg(i18n("Address copied to clipboard."));
}
}
delete menu;
......
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