Changeset View
Changeset View
Standalone View
Standalone View
libs/declarative/qmlplugins.cpp
Show All 29 Lines | |||||
30 | #include "appletproxymodel.h" | 30 | #include "appletproxymodel.h" | ||
31 | #include "configuration.h" | 31 | #include "configuration.h" | ||
32 | #include "creatableconnectionsmodel.h" | 32 | #include "creatableconnectionsmodel.h" | ||
33 | #include "editorproxymodel.h" | 33 | #include "editorproxymodel.h" | ||
34 | #include "kcmidentitymodel.h" | 34 | #include "kcmidentitymodel.h" | ||
35 | #include "networkmodel.h" | 35 | #include "networkmodel.h" | ||
36 | #include "mobileproxymodel.h" | 36 | #include "mobileproxymodel.h" | ||
37 | 37 | | |||
38 | #include "../editor/mobileproviders.h" | ||||
39 | | ||||
38 | #include "handler.h" | 40 | #include "handler.h" | ||
39 | #include "enums.h" | 41 | #include "enums.h" | ||
40 | 42 | | |||
41 | void QmlPlugins::registerTypes(const char* uri) | 43 | void QmlPlugins::registerTypes(const char* uri) | ||
42 | { | 44 | { | ||
43 | // @uri org.kde.plasma.networkmanagement.AvailableDevices | 45 | // @uri org.kde.plasma.networkmanagement.AvailableDevices | ||
44 | qmlRegisterType<AvailableDevices>(uri, 0, 2, "AvailableDevices"); | 46 | qmlRegisterType<AvailableDevices>(uri, 0, 2, "AvailableDevices"); | ||
45 | // @uri org.kde.plasma.networkmanagement.ConnectionIcon | 47 | // @uri org.kde.plasma.networkmanagement.ConnectionIcon | ||
Show All 15 Lines | |||||
61 | // @uri org.kde.plasma.networkmanagement.EditorProxyModel | 63 | // @uri org.kde.plasma.networkmanagement.EditorProxyModel | ||
62 | qmlRegisterType<EditorProxyModel>(uri, 0, 2, "EditorProxyModel"); | 64 | qmlRegisterType<EditorProxyModel>(uri, 0, 2, "EditorProxyModel"); | ||
63 | // @uri org.kde.plasma.networkmanagement.KcmIdentityModel | 65 | // @uri org.kde.plasma.networkmanagement.KcmIdentityModel | ||
64 | qmlRegisterType<KcmIdentityModel>(uri, 0, 2, "KcmIdentityModel"); | 66 | qmlRegisterType<KcmIdentityModel>(uri, 0, 2, "KcmIdentityModel"); | ||
65 | // @uri org.kde.plasma.networkmanagement.CreatableConnectionsModel | 67 | // @uri org.kde.plasma.networkmanagement.CreatableConnectionsModel | ||
66 | qmlRegisterType<CreatableConnectionsModel>(uri, 0, 2, "CreatableConnectionsModel"); | 68 | qmlRegisterType<CreatableConnectionsModel>(uri, 0, 2, "CreatableConnectionsModel"); | ||
67 | // @uri org.kde.plasma.networkmanagement.MobileProxyModel | 69 | // @uri org.kde.plasma.networkmanagement.MobileProxyModel | ||
68 | qmlRegisterType<MobileProxyModel>(uri, 0, 2, "MobileProxyModel"); | 70 | qmlRegisterType<MobileProxyModel>(uri, 0, 2, "MobileProxyModel"); | ||
71 | // @uri org.kde.plasma.networkmanagement.MobileProviders | ||||
72 | qmlRegisterType<MobileProviders>(uri, 0, 3, "MobileProviders"); | ||||
69 | } | 73 | } |