mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Install into services
svn path=/trunk/KDE/kdebase/kdepasswd/; revision=586434
This commit is contained in:
parent
49726781ca
commit
e3ef0ca68a
3 changed files with 7 additions and 3 deletions
|
@ -24,7 +24,7 @@ install(TARGETS kcm_useraccount DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|||
|
||||
########### install files ###############
|
||||
|
||||
install( FILES kcm_useraccount.desktop DESTINATION ${XDG_APPS_DIR} )
|
||||
install( FILES kcm_useraccount.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
||||
install( FILES kcm_useraccount.kcfg kcm_useraccount_pass.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
|
||||
|
||||
kde4_install_icons( ${ICON_INSTALL_DIR} )
|
||||
|
|
|
@ -4,7 +4,11 @@ Icon=personal
|
|||
Categories=QT;KDE;X-KDE-settings-security;
|
||||
X-KDE-ParentApp=kcontrol
|
||||
X-KDE-Library=useraccount
|
||||
Type=Application
|
||||
X-KDE-FactoryName=useraccount
|
||||
|
||||
Type=Service
|
||||
ServiceTypes=KCModule
|
||||
|
||||
Exec=kcmshell kcm_useraccount
|
||||
Name=Password & User Account
|
||||
Name[fr]=Compte utilisateur et mot de passe
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
#include "main.h"
|
||||
|
||||
typedef KGenericFactory<KCMUserAccount, QWidget> Factory;
|
||||
K_EXPORT_COMPONENT_FACTORY( kcm_useraccount, Factory("useraccount") )
|
||||
K_EXPORT_COMPONENT_FACTORY( useraccount, Factory("useraccount") )
|
||||
|
||||
KCMUserAccount::KCMUserAccount( QWidget *parent, const QStringList &)
|
||||
: KCModule( Factory::instance(), parent)
|
||||
|
|
Loading…
Reference in a new issue