Commit 89bce4f3 authored by mvogt's avatar mvogt

[transfer-engine] Use libnemonotifications rather than MNotification

MNotification is no longer maintained.

Remove grouping of transfer notifications, as lipstick will now be
providing the grouping functionality.
parent 5dea3984
...@@ -14,8 +14,8 @@ BuildRequires: pkgconfig(Qt5Qml) ...@@ -14,8 +14,8 @@ BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(accounts-qt5) BuildRequires: pkgconfig(accounts-qt5)
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(mlite5)
BuildRequires: pkgconfig(quillmetadata-qt5) BuildRequires: pkgconfig(quillmetadata-qt5)
BuildRequires: pkgconfig(nemonotifications-qt5) >= 1.0.4
BuildRequires: qt5-qttools-linguist BuildRequires: qt5-qttools-linguist
BuildRequires: qt5-qttools-qthelp-devel BuildRequires: qt5-qttools-qthelp-devel
BuildRequires: qt5-plugin-platform-minimal BuildRequires: qt5-plugin-platform-minimal
......
...@@ -43,6 +43,8 @@ Q_DECL_EXPORT int main(int argc, char *argv[]) ...@@ -43,6 +43,8 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
translator.load(QLocale(), "nemo-transfer-engine", "-", translationPath); translator.load(QLocale(), "nemo-transfer-engine", "-", translationPath);
app.installTranslator(&translator); app.installTranslator(&translator);
//% "Transfers"
app.setApplicationName(qtTrId("transferengine-ap-transfers"));
TransferEngine engine; TransferEngine engine;
return app.exec(); return app.exec();
......
...@@ -17,7 +17,7 @@ LIBS += -L../lib -lnemotransferengine-qt5 ...@@ -17,7 +17,7 @@ LIBS += -L../lib -lnemotransferengine-qt5
system(qdbusxml2cpp -c TransferEngineAdaptor -a transferengineadaptor.h:transferengineadaptor.cpp -i metatypedeclarations.h ../dbus/org.nemo.transferengine.xml) system(qdbusxml2cpp -c TransferEngineAdaptor -a transferengineadaptor.h:transferengineadaptor.cpp -i metatypedeclarations.h ../dbus/org.nemo.transferengine.xml)
CONFIG += link_pkgconfig CONFIG += link_pkgconfig
PKGCONFIG += mlite5 accounts-qt5 PKGCONFIG += accounts-qt5 nemonotifications-qt5
# translations # translations
TS_FILE = $$OUT_PWD/nemo-transfer-engine.ts TS_FILE = $$OUT_PWD/nemo-transfer-engine.ts
......
This diff is collapsed.
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include <QObject> #include <QObject>
#include <QMap> #include <QMap>
#include <QSettings> #include <QSettings>
#include <MRemoteAction>
#include "mediatransferinterface.h" #include "mediatransferinterface.h"
#include "transfermethodinfo.h" #include "transfermethodinfo.h"
...@@ -112,7 +111,6 @@ public: ...@@ -112,7 +111,6 @@ public:
const QVariantMap &userData); const QVariantMap &userData);
inline TransferEngineData::TransferType transferType(int transferId); inline TransferEngineData::TransferType transferType(int transferId);
void callbackCall(int transferId, CallbackMethodType method); void callbackCall(int transferId, CallbackMethodType method);
MRemoteAction createRemoteActionForGroup();
public Q_SLOTS: public Q_SLOTS:
void exitSafely(); void exitSafely();
......
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