aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/kdenotify/kdenotifyfactory.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-07-21 17:30:35 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2018-07-21 17:30:35 +0000
commit2111b82728e37a649539076ee4e9fc83103f196b (patch)
tree502932f709108cd76ae393a4904e460c5dd57d0a /src/plugins/General/kdenotify/kdenotifyfactory.cpp
parent6ca203336305da1b2f8b45e4dca647153da49e3c (diff)
downloadqmmp-2111b82728e37a649539076ee4e9fc83103f196b.tar.gz
qmmp-2111b82728e37a649539076ee4e9fc83103f196b.tar.bz2
qmmp-2111b82728e37a649539076ee4e9fc83103f196b.zip
changed translation api again
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8200 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/kdenotify/kdenotifyfactory.cpp')
-rw-r--r--src/plugins/General/kdenotify/kdenotifyfactory.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/plugins/General/kdenotify/kdenotifyfactory.cpp b/src/plugins/General/kdenotify/kdenotifyfactory.cpp
index 1597f3eb6..9d55ec451 100644
--- a/src/plugins/General/kdenotify/kdenotifyfactory.cpp
+++ b/src/plugins/General/kdenotify/kdenotifyfactory.cpp
@@ -23,12 +23,11 @@
#include "kdenotify.h"
#include "settingsdialog.h"
-const GeneralProperties KdeNotifyFactory::properties() const
+GeneralProperties KdeNotifyFactory::properties() const
{
GeneralProperties properties;
properties.name = tr("KDE notification plugin");
properties.shortName = "kdenotify_icon";
- properties.translation = QLatin1String(":/kdenotify_plugin_");
properties.hasAbout = true;
properties.hasSettings = true;
properties.visibilityControl = false;
@@ -49,5 +48,10 @@ void KdeNotifyFactory::showAbout(QWidget *parent)
{
QMessageBox::about (parent, tr("About KDE Notification Plugin"),
tr("KDE notification plugin for Qmmp") + "<br>"
- "Artur Guzik <a.guzik88@gmail.com>");
+ "Artur Guzik <a.guzik88@gmail.com>");
+}
+
+QString KdeNotifyFactory::translation() const
+{
+ return QLatin1String(":/kdenotify_plugin_");
}