summaryrefslogtreecommitdiffstats
path: root/wizards
diff options
context:
space:
mode:
Diffstat (limited to 'wizards')
-rw-r--r--wizards/groupwisewizard.cpp4
-rw-r--r--wizards/kmailchanges.cpp6
-rw-r--r--wizards/kolabkmailchanges.cpp2
-rw-r--r--wizards/kolabwizard.cpp6
-rw-r--r--wizards/servertypemanager.cpp6
5 files changed, 12 insertions, 12 deletions
diff --git a/wizards/groupwisewizard.cpp b/wizards/groupwisewizard.cpp
index 52b6c1af..47126b0a 100644
--- a/wizards/groupwisewizard.cpp
+++ b/wizards/groupwisewizard.cpp
@@ -406,8 +406,8 @@ void GroupwiseWizard::slotAboutToShowPage( TQWidget *page )
if ( page == mEmailPage ) {
if ( mEmailEdit->text().isEmpty() ) {
TQString host = GroupwiseConfig::host();
- int pos = host.tqfindRev( "." );
- if ( pos > 0 ) pos = host.tqfindRev( ".", pos - 1 );
+ int pos = host.findRev( "." );
+ if ( pos > 0 ) pos = host.findRev( ".", pos - 1 );
if ( pos > 0 ) host = host.mid( pos + 1 );
TQString email = GroupwiseConfig::user() + "@" + host;
mEmailEdit->setText( email );
diff --git a/wizards/kmailchanges.cpp b/wizards/kmailchanges.cpp
index 86fd05b3..d5a9fc8c 100644
--- a/wizards/kmailchanges.cpp
+++ b/wizards/kmailchanges.cpp
@@ -280,16 +280,16 @@ void CreateDisconnectedImapAccount::apply()
es.setSetting( KEMailSettings::EmailAddress, mEmail );
KPIM::IdentityManager identityManager;
- if ( !identityManager.allEmails().tqcontains( mEmail ) ) {
+ if ( !identityManager.allEmails().contains( mEmail ) ) {
// Not sure how to name the identity. First one is "Default", next one mAccountName, but then...
// let's use the server name after that.
TQString accountName = mAccountName;
const TQStringList identities = identityManager.identities();
- if ( identities.tqfind( accountName ) != identities.end() ) {
+ if ( identities.find( accountName ) != identities.end() ) {
accountName = mServer;
int i = 2;
// And if there's already one, number them
- while ( identities.tqfind( accountName ) != identities.end() ) {
+ while ( identities.find( accountName ) != identities.end() ) {
accountName = mServer + " " + TQString::number( i++ );
}
}
diff --git a/wizards/kolabkmailchanges.cpp b/wizards/kolabkmailchanges.cpp
index a38c7fd7..a0eef1fa 100644
--- a/wizards/kolabkmailchanges.cpp
+++ b/wizards/kolabkmailchanges.cpp
@@ -108,7 +108,7 @@ void createKMailChanges( KConfigPropagator::Change::List& changes )
TQString defaultDomain = KolabConfig::self()->server();
const TQString server = KolabConfig::self()->server();
TQString user = KolabConfig::self()->user();
- int pos = user.tqfind( "@" );
+ int pos = user.find( "@" );
// with kolab the userid _is_ the full email
if ( pos > 0 ) {
// The user typed in a full email address. Assume it's correct
diff --git a/wizards/kolabwizard.cpp b/wizards/kolabwizard.cpp
index 6aad529e..651336a8 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.tqfind( "@" );
+ int pos = user.find( "@" );
if ( pos > 0 ) {
const TQString h = user.mid( pos+1 );
if ( !h.isEmpty() )
@@ -72,7 +72,7 @@ class SetupLDAPSearchAccount : public KConfigPropagator::Change
c.writeEntry( "Default domain", basedn );
}
- basedn.tqreplace(".",",dc=");
+ basedn.replace(".",",dc=");
basedn.prepend("dc=");
// Set the changes
@@ -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.tqfind( "@" );
+ //int pos = user.find( "@" );
//if ( pos > 0 ) user = user.left( pos );
KURL publishURL = freeBusyBaseUrl;
diff --git a/wizards/servertypemanager.cpp b/wizards/servertypemanager.cpp
index d7c9287f..fec5bd12 100644
--- a/wizards/servertypemanager.cpp
+++ b/wizards/servertypemanager.cpp
@@ -54,7 +54,7 @@ TQStringList ServerTypeManager::identifiers() const
TQString ServerTypeManager::title( const TQString& identifier ) const
{
- ServerTypeFactoryMap::ConstIterator it = mServerTypeFactoryMap.tqfind( identifier );
+ ServerTypeFactoryMap::ConstIterator it = mServerTypeFactoryMap.find( identifier );
if ( it == mServerTypeFactoryMap.end() )
return TQString();
else
@@ -63,9 +63,9 @@ TQString ServerTypeManager::title( const TQString& identifier ) const
ServerType* ServerTypeManager::serverType( const TQString& identifier )
{
- ServerTypeMap::ConstIterator serverIt = mServerTypeMap.tqfind( identifier );
+ ServerTypeMap::ConstIterator serverIt = mServerTypeMap.find( identifier );
if ( serverIt == mServerTypeMap.end() ) { // none server type loaded yet
- ServerTypeFactoryMap::Iterator it = mServerTypeFactoryMap.tqfind( identifier );
+ ServerTypeFactoryMap::Iterator it = mServerTypeFactoryMap.find( identifier );
if ( it == mServerTypeFactoryMap.end() ) // no factory for this type
return 0;