summaryrefslogtreecommitdiffstats
path: root/src/plugins/graphicssystems/meego/mgraphicssystemplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/graphicssystems/meego/mgraphicssystemplugin.cpp')
-rw-r--r--src/plugins/graphicssystems/meego/mgraphicssystemplugin.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/plugins/graphicssystems/meego/mgraphicssystemplugin.cpp b/src/plugins/graphicssystems/meego/mgraphicssystemplugin.cpp
new file mode 100644
index 0000000..3bb7ffb
--- /dev/null
+++ b/src/plugins/graphicssystems/meego/mgraphicssystemplugin.cpp
@@ -0,0 +1,31 @@
+/***************************************************************************
+**
+** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation
+**
+** This library is free software; you can redistribute it and/or
+** modify it under the terms of the GNU Lesser General Public
+** License version 2.1 as published by the Free Software Foundation
+** and appearing in the file LICENSE.LGPL included in the packaging
+** of this file.
+**
+****************************************************************************/
+
+#include <QDebug>
+#include "mgraphicssystemplugin.h"
+#include "mgraphicssystem.h"
+
+QStringList MGraphicsSystemPlugin::keys() const
+{
+ QStringList list;
+ list << "meego";
+ return list;
+}
+
+QGraphicsSystem *MGraphicsSystemPlugin::create(const QString&)
+{
+ return new MGraphicsSystem;
+}
+
+Q_EXPORT_PLUGIN2(meego, MGraphicsSystemPlugin)