[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: branches/kdepim/proko2/kdepim/kaddressbook/kcmconfigs
From: Matthias Kretz <kretz () kde ! org>
Date: 2007-01-30 17:23:36
Message-ID: 200701301823.39521.kretz () kde ! org
[Download RAW message or body]
If you use KGenericFactory properly and with the name "kcmkabconfig" as
parameter then you don't need this.
On Tuesday 30 January 2007 18:03, Frank Osterfeld wrote:
> SVN commit 628612 by osterfeld:
>
> insert kcmkabconfig catalogue manually for the kcm with a different lib
> name
>
>
> M +1 -0 kcmkabcustomfields.cpp
> M +2 -0 kcmkabldapconfig.cpp
>
>
> ---
> branches/kdepim/proko2/kdepim/kaddressbook/kcmconfigs/kcmkabcustomfields.cp
>p #628611:628612 @@ -136,6 +136,7 @@
> KCMKabCustomFields::KCMKabCustomFields( QWidget *parent, const char *name
> )
>
> : KCModule( parent, name )
>
> {
> + KGlobal::locale()->insertCatalogue("kcmkabconfig");
> initGUI();
>
> connect( mPageView, SIGNAL( selectionChanged( QListViewItem* ) ),
> ---
> branches/kdepim/proko2/kdepim/kaddressbook/kcmconfigs/kcmkabldapconfig.cpp
> #628611:628612 @@ -26,6 +26,7 @@
> #include <qlayout.h>
>
> #include <kaboutdata.h>
> +#include <kglobal.h>
> #include <klocale.h>
>
> #include "ldapoptionswidget.h"
> @@ -42,6 +43,7 @@
> KCMKabLdapConfig::KCMKabLdapConfig( QWidget *parent, const char *name )
>
> : KCModule( parent, name )
>
> {
> + KGlobal::locale()->insertCatalogue("kcmkabconfig");
> QVBoxLayout *layout = new QVBoxLayout( this );
> mConfigWidget = new LDAPOptionsWidget( this );
> layout->addWidget( mConfigWidget );
--
________________________________________________________
Matthias Kretz (Germany) <><
http://Vir.homelinux.org/
MatthiasKretz@gmx.net, kretz@kde.org,
Matthias.Kretz@urz.uni-heidelberg.de
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic