diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/kcmconfigs/kcmkabcustomfields.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/kcmconfigs/kcmkabcustomfields.cpp')
-rw-r--r-- | kaddressbook/kcmconfigs/kcmkabcustomfields.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kaddressbook/kcmconfigs/kcmkabcustomfields.cpp b/kaddressbook/kcmconfigs/kcmkabcustomfields.cpp index 0c70b08bd..3b127eab2 100644 --- a/kaddressbook/kcmconfigs/kcmkabcustomfields.cpp +++ b/kaddressbook/kcmconfigs/kcmkabcustomfields.cpp @@ -27,51 +27,51 @@ #include <kstandarddirs.h> -#include <qregexp.h> +#include <tqregexp.h> #include <kdepimmacros.h> extern "C" { - KDE_EXPORT KCModule *create_kabcustomfields( QWidget *parent, const char * ) { + KDE_EXPORT KCModule *create_kabcustomfields( TQWidget *parent, const char * ) { return new KCMKabCustomFields( parent, "kcmkabcustomfields" ); } } -KCMKabCustomFields::KCMKabCustomFields( QWidget *parent, const char *name ) +KCMKabCustomFields::KCMKabCustomFields( TQWidget *parent, const char *name ) : KCMDesignerFields( parent, name ) { } -QString KCMKabCustomFields::localUiDir() +TQString KCMKabCustomFields::localUiDir() { return kabLocalDir() + "contacteditorpages/"; } -QString KCMKabCustomFields::uiPath() +TQString KCMKabCustomFields::uiPath() { return "kaddressbook/contacteditorpages/"; } -void KCMKabCustomFields::writeActivePages( const QStringList &activePages ) +void KCMKabCustomFields::writeActivePages( const TQStringList &activePages ) { KABPrefs::instance()->setAdvancedCustomFields( activePages ); KABPrefs::instance()->writeConfig(); } -QStringList KCMKabCustomFields::readActivePages() +TQStringList KCMKabCustomFields::readActivePages() { return KABPrefs::instance()->advancedCustomFields(); } -QString KCMKabCustomFields::applicationName() +TQString KCMKabCustomFields::applicationName() { return "KADDRESSBOOK"; } -QString KCMKabCustomFields::kabLocalDir() +TQString KCMKabCustomFields::kabLocalDir() { - QStringList kabdirs = locateLocal("data", "kaddressbook/"); - return kabdirs.grep( QRegExp( "^"+KGlobal::dirs()->localkdedir() ) ).first(); + TQStringList kabdirs = locateLocal("data", "kaddressbook/"); + return kabdirs.grep( TQRegExp( "^"+KGlobal::dirs()->localkdedir() ) ).first(); } |