diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-05 13:02:48 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-04-05 13:02:48 +0200 |
commit | 7c94d55f866794b2f1bb33b1f241552496b59b31 (patch) | |
tree | 675e547aeab1f9251934a96ff6c67a5e1980453c /framework/accounts | |
parent | 5755ad47145d2985ba74354961b4127d82c516f6 (diff) | |
download | kube-7c94d55f866794b2f1bb33b1f241552496b59b31.tar.gz kube-7c94d55f866794b2f1bb33b1f241552496b59b31.zip |
Removed old files
Diffstat (limited to 'framework/accounts')
-rw-r--r-- | framework/accounts/CMakeLists.txt | 12 | ||||
-rw-r--r-- | framework/accounts/accountsplugin.cpp | 30 | ||||
-rw-r--r-- | framework/accounts/accountsplugin.h | 31 |
3 files changed, 0 insertions, 73 deletions
diff --git a/framework/accounts/CMakeLists.txt b/framework/accounts/CMakeLists.txt deleted file mode 100644 index d0e5001c..00000000 --- a/framework/accounts/CMakeLists.txt +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | set(accountsplugin_SRCS | ||
2 | accountsplugin.cpp | ||
3 | accountfactory.cpp | ||
4 | accountsmodel.cpp | ||
5 | ) | ||
6 | |||
7 | add_library(accountsplugin SHARED ${accountsplugin_SRCS}) | ||
8 | |||
9 | qt5_use_modules(accountsplugin Core Quick Qml) | ||
10 | target_link_libraries(accountsplugin sink mailplugin) | ||
11 | |||
12 | install(TARGETS accountsplugin DESTINATION ${FRAMEWORK_INSTALL_DIR}) | ||
diff --git a/framework/accounts/accountsplugin.cpp b/framework/accounts/accountsplugin.cpp deleted file mode 100644 index 211898d9..00000000 --- a/framework/accounts/accountsplugin.cpp +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | /* | ||
2 | Copyright (C) 2017 Michael Bohlender, <michael.bohlender@kdemail.net> | ||
3 | |||
4 | This program is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License along | ||
15 | with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
17 | */ | ||
18 | |||
19 | #include "accountsplugin.h" | ||
20 | |||
21 | #include "accountsmodel.h" | ||
22 | #include "accountfactory.h" | ||
23 | |||
24 | #include <QtQml> | ||
25 | |||
26 | void AccountsPlugin::registerTypes (const char *uri) | ||
27 | { | ||
28 | qmlRegisterType<AccountFactory>(uri, 1, 0, "AccountFactory"); | ||
29 | qmlRegisterType<AccountsModel>(uri, 1, 0, "AccountsModel"); | ||
30 | } | ||
diff --git a/framework/accounts/accountsplugin.h b/framework/accounts/accountsplugin.h deleted file mode 100644 index 4f784f26..00000000 --- a/framework/accounts/accountsplugin.h +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | /* | ||
2 | Copyright (C) 2017 Michael Bohlender, <michael.bohlender@kdemail.net> | ||
3 | |||
4 | This program is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License along | ||
15 | with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
17 | */ | ||
18 | |||
19 | #pragma once | ||
20 | |||
21 | #include <QQmlEngine> | ||
22 | #include <QQmlExtensionPlugin> | ||
23 | |||
24 | class AccountsPlugin : public QQmlExtensionPlugin | ||
25 | { | ||
26 | Q_OBJECT | ||
27 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") | ||
28 | |||
29 | public: | ||
30 | virtual void registerTypes(const char *uri); | ||
31 | }; | ||