aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/kdenotify/kdenotifyfactory.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-10-29 09:43:25 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-10-29 09:43:25 +0000
commit6f72ae7e3e61b330dd1874a951b258075649fe8e (patch)
treec911ac5434ab5cb258328037590e78af3ca92361 /src/plugins/General/kdenotify/kdenotifyfactory.h
parent81a8ff3c3605ddcd22f2e6400e5a7a3e2f330f43 (diff)
downloadqmmp-6f72ae7e3e61b330dd1874a951b258075649fe8e.tar.gz
qmmp-6f72ae7e3e61b330dd1874a951b258075649fe8e.tar.bz2
qmmp-6f72ae7e3e61b330dd1874a951b258075649fe8e.zip
added kde notifications plugin (author: Artur Guzik) (Closes issue 164)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1337 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/kdenotify/kdenotifyfactory.h')
-rw-r--r--src/plugins/General/kdenotify/kdenotifyfactory.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/plugins/General/kdenotify/kdenotifyfactory.h b/src/plugins/General/kdenotify/kdenotifyfactory.h
new file mode 100644
index 000000000..075f9b5f4
--- /dev/null
+++ b/src/plugins/General/kdenotify/kdenotifyfactory.h
@@ -0,0 +1,23 @@
+#ifndef KDENOTIFYFACTORY_H
+#define KDENOTIFYFACTORY_H
+
+#include <QObject>
+#include <QTranslator>
+#include <QDialog>
+
+#include <qmmpui/general.h>
+#include <qmmpui/generalfactory.h>
+
+class KdeNotifyFactory : public QObject, public GeneralFactory
+{
+ Q_OBJECT;
+ Q_INTERFACES(GeneralFactory)
+public:
+ const GeneralProperties properties() const;
+ General *create(QObject *parent);
+ QDialog *createConfigDialog(QWidget *parent);
+ void showAbout(QWidget *parent);
+ QTranslator *createTranslator(QObject *parent);
+};
+
+#endif // KDENOTIFYFACTORY_H