diff options
author | lurchi <lurchi@strangeplace.net> | 2017-02-16 11:43:37 +0100 |
---|---|---|
committer | lurchi <lurchi@strangeplace.net> | 2017-02-16 11:43:37 +0100 |
commit | 1a9383d087a118c479e1dc44f48e12dfb88df48b (patch) | |
tree | 59ea95abd8c4e51806b36e2cb30360f7e2cf6260 /prototype_2016/third_party/fluid/controls/plugin.cpp | |
parent | d478215fe1a3937f6b3445813515ed308c7ecaf7 (diff) | |
download | secushare-1a9383d087a118c479e1dc44f48e12dfb88df48b.tar.gz secushare-1a9383d087a118c479e1dc44f48e12dfb88df48b.zip |
remove fluid temporarily
Diffstat (limited to 'prototype_2016/third_party/fluid/controls/plugin.cpp')
-rw-r--r-- | prototype_2016/third_party/fluid/controls/plugin.cpp | 42 |
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 | |||
19 | class FluidCorePlugin : public QQmlExtensionPlugin | ||
20 | { | ||
21 | Q_OBJECT | ||
22 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") | ||
23 | public: | ||
24 | void initializeEngine(QQmlEngine *engine, const char *uri); | ||
25 | void registerTypes(const char *uri); | ||
26 | }; | ||
27 | |||
28 | void 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 | |||
35 | void 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" | ||