summaryrefslogtreecommitdiff
path: root/prototype_2016/third_party/fluid/controls/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'prototype_2016/third_party/fluid/controls/plugin.cpp')
-rw-r--r--prototype_2016/third_party/fluid/controls/plugin.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/prototype_2016/third_party/fluid/controls/plugin.cpp b/prototype_2016/third_party/fluid/controls/plugin.cpp
deleted file mode 100644
index 7c3c2ce..0000000
--- a/prototype_2016/third_party/fluid/controls/plugin.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
1/*
2 * This file is part of Fluid.
3 *
4 * Copyright (C) 2016 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
5 *
6 * $BEGIN_LICENSE:MPL2$
7 *
8 * This Source Code Form is subject to the terms of the Mozilla Public
9 * License, v. 2.0. If a copy of the MPL was not distributed with this
10 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 *
12 * $END_LICENSE$
13 */
14
15#include <QtQml>
16
17#include "iconthemeimageprovider.h"
18
19class FluidCorePlugin : public QQmlExtensionPlugin
20{
21 Q_OBJECT
22 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
23public:
24 void initializeEngine(QQmlEngine *engine, const char *uri);
25 void registerTypes(const char *uri);
26};
27
28void FluidCorePlugin::initializeEngine(QQmlEngine *engine, const char *uri)
29{
30 Q_ASSERT(QByteArray(uri) == QByteArrayLiteral("Fluid.Controls"));
31
32 engine->addImageProvider(QLatin1String("fluidicontheme"), new IconThemeImageProvider());
33}
34
35void FluidCorePlugin::registerTypes(const char *uri)
36{
37 Q_ASSERT(QByteArray(uri) == QByteArrayLiteral("Fluid.Controls"));
38
39 // @uri Fluid.Controls
40}
41
42#include "plugin.moc"