aboutsummaryrefslogtreecommitdiff
path: root/module/topmenumenubarimplfactory.cc
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-01-28 17:21:16 +0100
committerJavier <dev.git@javispedro.com>2014-01-28 17:21:16 +0100
commit982ebc96f2c77c1f9dbddd6a4c0a776c74b425de (patch)
tree6800326ba4da9c84dc14f0b442f088b1c2fb63bf /module/topmenumenubarimplfactory.cc
downloadtopmenu-qt-982ebc96f2c77c1f9dbddd6a4c0a776c74b425de.tar.gz
topmenu-qt-982ebc96f2c77c1f9dbddd6a4c0a776c74b425de.zip
initial import
Diffstat (limited to 'module/topmenumenubarimplfactory.cc')
-rw-r--r--module/topmenumenubarimplfactory.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/module/topmenumenubarimplfactory.cc b/module/topmenumenubarimplfactory.cc
new file mode 100644
index 0000000..ce577c7
--- /dev/null
+++ b/module/topmenumenubarimplfactory.cc
@@ -0,0 +1,16 @@
+#include <QtCore/QDebug>
+
+#include "topmenumenubarimplfactory.h"
+#include "topmenumenubarimpl.h"
+
+QAbstractPlatformMenuBar* TopMenuMenuBarImplFactory::create()
+{
+ return new TopMenuMenuBarImpl;
+}
+
+QStringList TopMenuMenuBarImplFactory::keys() const
+{
+ return QStringList() << QLatin1String("default");
+}
+
+Q_EXPORT_PLUGIN2(topmenu-qt4-module, TopMenuMenuBarImplFactory)