From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kresources/scalix/scalixadmin/settings.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kresources/scalix/scalixadmin/settings.cpp') diff --git a/kresources/scalix/scalixadmin/settings.cpp b/kresources/scalix/scalixadmin/settings.cpp index 2f6b49bad..52f72296f 100644 --- a/kresources/scalix/scalixadmin/settings.cpp +++ b/kresources/scalix/scalixadmin/settings.cpp @@ -71,7 +71,7 @@ KURL Settings::accountUrl() const return url; } -QString Settings::accountPassword() const +TQString Settings::accountPassword() const { KConfig config( "scalixadminrc" ); KConfigGroup group( &config, "Account" ); @@ -84,50 +84,50 @@ KIO::Slave* Settings::globalSlave() const return mSlave; } -QString Settings::rulesWizardUrl() const +TQString Settings::rulesWizardUrl() const { KConfig config( "scalixadminrc" ); KConfigGroup group( &config, "Misc" ); - QString url = group.readEntry( "rulesWizardUrl" ); + TQString url = group.readEntry( "rulesWizardUrl" ); if ( url.isEmpty() ) { KConfigGroup group( &config, "Account" ); - url = QString( "http://%1/Scalix/rw/?username=%2" ).arg( group.readEntry( "host" ) ) + url = TQString( "http://%1/Scalix/rw/?username=%2" ).arg( group.readEntry( "host" ) ) .arg( group.readEntry( "user" ) ); } return url; } -QString Settings::ldapHost() const +TQString Settings::ldapHost() const { KConfig config( "scalixadminrc" ); KConfigGroup group( &config, "LDAP" ); return group.readEntry( "host" ); } -QString Settings::ldapPort() const +TQString Settings::ldapPort() const { KConfig config( "scalixadminrc" ); KConfigGroup group( &config, "LDAP" ); return group.readEntry( "port" ); } -QString Settings::ldapBase() const +TQString Settings::ldapBase() const { KConfig config( "scalixadminrc" ); KConfigGroup group( &config, "LDAP" ); return group.readEntry( "base" ); } -QString Settings::ldapBindDn() const +TQString Settings::ldapBindDn() const { KConfig config( "scalixadminrc" ); KConfigGroup group( &config, "LDAP" ); return group.readEntry( "bindDn" ); } -QString Settings::ldapPassword() const +TQString Settings::ldapPassword() const { KConfig config( "scalixadminrc" ); KConfigGroup group( &config, "LDAP" ); -- cgit v1.2.1