Install into services

svn path=/trunk/KDE/kdebase/kdepasswd/; revision=586434
This commit is contained in:
Laurent Montel 2006-09-19 15:55:49 +00:00
parent 49726781ca
commit e3ef0ca68a
3 changed files with 7 additions and 3 deletions

View file

@ -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} )

View file

@ -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

View file

@ -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)