mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-31 08:44:45 +00:00
turn wireless settings into an activesettings module
This commit is contained in:
parent
7f7ada9267
commit
1b62f963c9
7 changed files with 23 additions and 4 deletions
|
|
@ -41,5 +41,4 @@ install(DIRECTORY wallpaper/ DESTINATION "${WALLPAPER_INSTALL_DIR}/org.kde.satel
|
||||||
add_subdirectory(bin)
|
add_subdirectory(bin)
|
||||||
add_subdirectory(qmlcomponents)
|
add_subdirectory(qmlcomponents)
|
||||||
add_subdirectory(services)
|
add_subdirectory(services)
|
||||||
|
add_subdirectory(settingsmodules)
|
||||||
install(DIRECTORY settingsmodules DESTINATION ${DATA_INSTALL_DIR})
|
|
||||||
|
|
|
||||||
4
settingsmodules/CMakeLists.txt
Normal file
4
settingsmodules/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
plasma_install_package(wireless org.kde.satellite.settings.wifi packages package)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -42,8 +42,6 @@ import QtQuick.Controls 1.2
|
||||||
StackView {
|
StackView {
|
||||||
id: stackView
|
id: stackView
|
||||||
initialItem: mainView
|
initialItem: mainView
|
||||||
width: 1080
|
|
||||||
height: 1815
|
|
||||||
|
|
||||||
Component {
|
Component {
|
||||||
id: mainView
|
id: mainView
|
||||||
18
settingsmodules/wireless/metadata.desktop
Normal file
18
settingsmodules/wireless/metadata.desktop
Normal 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
|
||||||
Loading…
Reference in a new issue