summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/customstyleplugin/customstyleplugin.cpp
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@nokia.com>2011-06-21 21:30:38 +0200
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2011-06-22 09:58:37 +0200
commit8879c6c6a018a77653c6ec6e32eb3521c097d2c4 (patch)
tree3064def1aa2df08edd2762025d60e5c6a14ec274 /src/plugins/qmldesigner/customstyleplugin/customstyleplugin.cpp
parent47b5947a387ffaa455d29ce6151894feb30f6b45 (diff)
downloadqt-creator-8879c6c6a018a77653c6ec6e32eb3521c097d2c4.tar.gz
QmlDesigner.Plugin: Add experimental custom style plugin
Change-Id: Ia98b8f61988a1a817fda022d4298f1ad4e6942e2 Reviewed-on: http://codereview.qt.nokia.com/577 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Diffstat (limited to 'src/plugins/qmldesigner/customstyleplugin/customstyleplugin.cpp')
-rw-r--r--src/plugins/qmldesigner/customstyleplugin/customstyleplugin.cpp57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/customstyleplugin/customstyleplugin.cpp b/src/plugins/qmldesigner/customstyleplugin/customstyleplugin.cpp
new file mode 100644
index 0000000000..1663226103
--- /dev/null
+++ b/src/plugins/qmldesigner/customstyleplugin/customstyleplugin.cpp
@@ -0,0 +1,57 @@
+/**************************************************************************
+**
+** This file is part of Qt Creator
+**
+** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
+**
+** Contact: Nokia Corporation (info@qt.nokia.com)
+**
+**
+** GNU Lesser General Public License Usage
+**
+** This file may be used 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.
+** Please review the following information to ensure the GNU Lesser General
+** Public License version 2.1 requirements will be met:
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights. These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** Other Usage
+**
+** Alternatively, this file may be used in accordance with the terms and
+** conditions contained in a signed written agreement between you and Nokia.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at info@qt.nokia.com.
+**
+**************************************************************************/
+
+#include "customstyleplugin.h"
+#include <widgetplugin_helper.h>
+#include <QtCore/QtPlugin>
+
+namespace QmlDesigner {
+
+
+CustomStylePlugin::CustomStylePlugin()
+{
+}
+
+QString CustomStylePlugin::pluginName() const
+{
+ return ("CustomStylePlugin");
+}
+
+QString CustomStylePlugin::metaInfo() const
+{
+ return QString(":/customstyleplugin/customstyle.metainfo");
+}
+
+}
+
+Q_EXPORT_PLUGIN(QmlDesigner::CustomStylePlugin)
+