aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/gnomehotkey/gnomehotkeyfactory.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-03-06 10:53:52 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2014-03-06 10:53:52 +0000
commit389799c3433a17a7babaeb3365f1fb8c12ea12fe (patch)
tree4b0092c3936016af0f01062a0a5d8475e793a4ea /src/plugins/General/gnomehotkey/gnomehotkeyfactory.h
parentbc4c331d2c1fe0060de15c999110803f41f62b29 (diff)
downloadqmmp-389799c3433a17a7babaeb3365f1fb8c12ea12fe.tar.gz
qmmp-389799c3433a17a7babaeb3365f1fb8c12ea12fe.tar.bz2
qmmp-389799c3433a17a7babaeb3365f1fb8c12ea12fe.zip
added gnome hotkey plugin
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4123 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/gnomehotkey/gnomehotkeyfactory.h')
-rw-r--r--src/plugins/General/gnomehotkey/gnomehotkeyfactory.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/plugins/General/gnomehotkey/gnomehotkeyfactory.h b/src/plugins/General/gnomehotkey/gnomehotkeyfactory.h
new file mode 100644
index 000000000..528282e57
--- /dev/null
+++ b/src/plugins/General/gnomehotkey/gnomehotkeyfactory.h
@@ -0,0 +1,45 @@
+/***************************************************************************
+ * Copyright (C) 2014 by Ilya Kotov *
+ * forkotov02@hotmail.ru *
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ * This program is distributed in the hope that it will be useful, *
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of *
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
+ * GNU General Public License for more details. *
+ * *
+ * You should have received a copy of the GNU General Public License *
+ * along with this program; if not, write to the *
+ * Free Software Foundation, Inc., *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
+ ***************************************************************************/
+#ifndef GNOMEHOTKEYFACTORY_H
+#define GNOMEHOTKEYFACTORY_H
+
+
+#include <QObject>
+#include <QTranslator>
+#include <qmmpui/general.h>
+#include <qmmpui/generalfactory.h>
+
+/**
+ @author Ilya Kotov <forkotov02@hotmail.ru>
+*/
+class GnomeHotkeyFactory : public QObject, public GeneralFactory
+{
+Q_OBJECT
+Q_INTERFACES(GeneralFactory)
+public:
+ const GeneralProperties properties() const;
+ QObject *create(QObject *parent);
+ QDialog *createConfigDialog(QWidget *parent);
+ void showAbout(QWidget *parent);
+ QTranslator *createTranslator(QObject *parent);
+
+};
+
+#endif