turn wireless settings into an activesettings module

This commit is contained in:
Marco Martin 2014-12-04 11:03:18 +01:00
parent 7f7ada9267
commit 1b62f963c9
7 changed files with 23 additions and 4 deletions

View file

@ -41,5 +41,4 @@ install(DIRECTORY wallpaper/ DESTINATION "${WALLPAPER_INSTALL_DIR}/org.kde.satel
add_subdirectory(bin)
add_subdirectory(qmlcomponents)
add_subdirectory(services)
install(DIRECTORY settingsmodules DESTINATION ${DATA_INSTALL_DIR})
add_subdirectory(settingsmodules)

View file

@ -0,0 +1,4 @@
plasma_install_package(wireless org.kde.satellite.settings.wifi packages package)

View file

@ -42,8 +42,6 @@ import QtQuick.Controls 1.2
StackView {
id: stackView
initialItem: mainView
width: 1080
height: 1815
Component {
id: mainView

View file

@ -0,0 +1,18 @@
[Desktop Entry]
Name=Wireless
Comment=Connect to a wireless network
Encoding=UTF-8
Type=Service
Icon=network-wireless
X-KDE-ServiceTypes=Active/SettingsModule
X-KDE-PluginInfo-Author=Marco Martin
X-KDE-PluginInfo-Email=mart@kde.org
X-KDE-PluginInfo-Name=org.kde.satellite.settings.wifi
X-KDE-PluginInfo-Version=1.0
X-KDE-PluginInfo-Website=
X-KDE-PluginInfo-Category=Networking
X-KDE-PluginInfo-Depends=
X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-EnabledByDefault=true
X-Plasma-MainScript=ui/WirelessSettings.qml