aboutsummaryrefslogtreecommitdiff
path: root/module/topmenumenubarimplfactory.cc
diff options
context:
space:
mode:
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)