Commit 2be2dd88 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Utilize kcmutils_generate_desktop_file cmake method

Task: https://phabricator.kde.org/T15609
parent 681d9df2
Pipeline #212194 passed with stage
in 3 minutes and 19 seconds
......@@ -26,5 +26,6 @@ Dependencies:
'frameworks/networkmanager-qt': '@latest'
'frameworks/solid': '@latest'
'frameworks/plasma-framework': '@latest'
'frameworks/kcmutils': '@latest'
Options:
require-passing-tests-on: [ 'Linux', 'FreeBSD']
......@@ -52,6 +52,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
Wallet
WidgetsAddons
WindowSystem
KCMUtils
)
find_package(KF5ModemManagerQt ${KF5_MIN_VERSION})
......
......@@ -3,6 +3,7 @@ add_definitions(-DTRANSLATION_DOMAIN=\"plasmanetworkmanagement-kcm\")
kcoreaddons_add_plugin(kcm_networkmanagement INSTALL_NAMESPACE "plasma/kcms/systemsettings_qwidgets")
kcmutils_generate_desktop_file(kcm_networkmanagement)
target_sources(kcm_networkmanagement PRIVATE
kcm.cpp
kcm.h
......@@ -24,7 +25,6 @@ target_link_libraries(kcm_networkmanagement
########### install files ###############
install( FILES kcm_networkmanagement.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES
qml/AddConnectionDialog.qml
qml/ConfigurationDialog.qml
......
[Desktop Entry]
Icon=preferences-system-network
Type=Application
NoDisplay=true
Exec=systemsettings kcm_networkmanagement
Name=Connections
Name[ar]=الاتّصالات
Name[ast]=Conexones
Name[az]=Bağlantılar
Name[bg]=Връзки
Name[ca]=Connexions
Name[ca@valencia]=Connexions
Name[cs]=Spojení
Name[da]=Forbindelser
Name[de]=Verbindungen
Name[el]=Συνδέσεις
Name[en_GB]=Connections
Name[es]=Conexiones
Name[et]=Ühendused
Name[eu]=Konexioak
Name[fi]=Yhteydet
Name[fr]=Connexions
Name[gl]=Conexións
Name[he]=חיבורים
Name[hsb]=Zwiski
Name[hu]=Kapcsolatok
Name[ia]=Connexiones
Name[id]=Koneksi
Name[it]=Connessioni
Name[ja]=接続
Name[ko]=연결
Name[lt]=Ryšiai
Name[ml]=ബന്ധങ്ങള്‍
Name[nl]=Verbindingen
Name[nn]=Tilkoplingar
Name[pa]=ਕਨੈਕਸ਼ਨ
Name[pl]=Połączenia
Name[pt]=Ligações
Name[pt_BR]=Conexões
Name[ro]=Conexiuni
Name[ru]=Соединения
Name[sk]=Pripojenia
Name[sl]=Povezave
Name[sr]=Везе
Name[sr@ijekavian]=Везе
Name[sr@ijekavianlatin]=Veze
Name[sr@latin]=Veze
Name[sv]=Anslutningar
Name[ta]=இணைப்புகள்
Name[tg]=Пайвастҳо
Name[tr]=Bağlantılar
Name[uk]=З’єднання
Name[x-test]=xxConnectionsxx
Name[zh_CN]=连接
Name[zh_TW]=連線
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment