From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- wizards/kolabwizard.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wizards/kolabwizard.cpp') diff --git a/wizards/kolabwizard.cpp b/wizards/kolabwizard.cpp index 59b7a2514..9deaa373c 100644 --- a/wizards/kolabwizard.cpp +++ b/wizards/kolabwizard.cpp @@ -59,7 +59,7 @@ class SetupLDAPSearchAccount : public KConfigPropagator::Change // If the user gave a full email address, the domain name // of that overrides the server name for the ldap dn const TQString user = KolabConfig::self()->user(); - int pos = user.find( "@" ); + int pos = user.tqfind( "@" ); if ( pos > 0 ) { const TQString h = user.mid( pos+1 ); if ( !h.isEmpty() ) @@ -181,7 +181,7 @@ class KolabPropagator : public KConfigPropagator TQString user = KolabConfig::self()->user(); // We now use the full email address in the freebusy URL - //int pos = user.find( "@" ); + //int pos = user.tqfind( "@" ); //if ( pos > 0 ) user = user.left( pos ); KURL publishURL = freeBusyBaseUrl; @@ -311,7 +311,7 @@ TQString KolabWizard::validate() mRealNameEdit->text().isEmpty() || mPasswordEdit->text().isEmpty() ) return i18n( "Please fill in all fields." ); - return TQString::null; + return TQString(); } void KolabWizard::usrReadConfig() -- cgit v1.2.1