summaryrefslogtreecommitdiffstats
path: root/wizards
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
commit716a5de8870d7c02bb4d0aed72f30291b17b763a (patch)
tree29e58b213ead28151ccf7eb33d12c968ea844120 /wizards
parent0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (diff)
downloadtdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.tar.gz
tdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'wizards')
-rw-r--r--wizards/kmailchanges.cpp16
-rw-r--r--wizards/kolabkmailchanges.cpp2
-rw-r--r--wizards/kolabwizard.cpp8
-rw-r--r--wizards/scalixkmailchanges.cpp2
-rw-r--r--wizards/scalixwizard.cpp8
5 files changed, 18 insertions, 18 deletions
diff --git a/wizards/kmailchanges.cpp b/wizards/kmailchanges.cpp
index 160b63eae..191ea8436 100644
--- a/wizards/kmailchanges.cpp
+++ b/wizards/kmailchanges.cpp
@@ -176,7 +176,7 @@ void CreateDisconnectedImapAccount::apply()
transportId = mExistingTransportId;
}
- c.setGroup( TQString("Account %1").tqarg( accountId ) );
+ c.setGroup( TQString("Account %1").arg( accountId ) );
int uid;
if ( mExistingAccountId < 0 ) {
uid = kapp->random();
@@ -240,7 +240,7 @@ void CreateDisconnectedImapAccount::apply()
}
- c.setGroup( TQString("Folder-%1").tqarg( uid ) );
+ c.setGroup( TQString("Folder-%1").arg( uid ) );
c.writeEntry( "isOpen", true );
c.setGroup( "AccountWizard" );
@@ -249,7 +249,7 @@ void CreateDisconnectedImapAccount::apply()
c.setGroup( "Composer" );
c.writeEntry( "default-transport", mAccountName );
- c.setGroup( TQString("Transport %1").tqarg( transportId ) );
+ c.setGroup( TQString("Transport %1").arg( transportId ) );
c.writeEntry( "name", mAccountName );
c.writeEntry( "host", mServer );
c.writeEntry( "type", "smtp" );
@@ -318,7 +318,7 @@ void CreateOnlineImapAccount::apply()
uint accCnt = c.readNumEntry( "accounts", 0 );
c.writeEntry( "accounts", accCnt+1 );
- c.setGroup( TQString("Account %1").tqarg(accCnt+1) );
+ c.setGroup( TQString("Account %1").arg(accCnt+1) );
int uid = kapp->random();
c.writeEntry( "Folder", uid );
c.writeEntry( "Id", uid );
@@ -354,12 +354,12 @@ void CreateOnlineImapAccount::apply()
// locally unsubscribe the default folders
c.writeEntry( "locally-subscribed-folders", true );
TQString groupwareFolders = TQString("/INBOX/%1/,/INBOX/%2/,/INBOX/%3/,/INBOX/%4/,/INBOX/%5/")
- .tqarg( i18n(s_folderContentsType[0]) ).tqarg( i18n(s_folderContentsType[1]) )
- .tqarg( i18n(s_folderContentsType[2]) ).tqarg( i18n(s_folderContentsType[3]) )
- .tqarg( i18n(s_folderContentsType[4]) );
+ .arg( i18n(s_folderContentsType[0]) ).arg( i18n(s_folderContentsType[1]) )
+ .arg( i18n(s_folderContentsType[2]) ).arg( i18n(s_folderContentsType[3]) )
+ .arg( i18n(s_folderContentsType[4]) );
c.writeEntry( "locallyUnsubscribedFolders", groupwareFolders );
- c.setGroup( TQString("Folder-%1").tqarg( uid ) );
+ c.setGroup( TQString("Folder-%1").arg( uid ) );
c.writeEntry( "isOpen", true );
diff --git a/wizards/kolabkmailchanges.cpp b/wizards/kolabkmailchanges.cpp
index 8f66e5b33..a77de3037 100644
--- a/wizards/kolabkmailchanges.cpp
+++ b/wizards/kolabkmailchanges.cpp
@@ -34,7 +34,7 @@ class KolabCustomWriter : public CreateDisconnectedImapAccount::CustomWriter
{
c.setGroup( "IMAP Resource" );
c.writeEntry( "TheIMAPResourceAccount", id );
- c.writeEntry( "TheIMAPResourceFolderParent", TQString(".%1.directory/INBOX").tqarg( id ) );
+ c.writeEntry( "TheIMAPResourceFolderParent", TQString(".%1.directory/INBOX").arg( id ) );
}
void writeIds( int, int ) {}
};
diff --git a/wizards/kolabwizard.cpp b/wizards/kolabwizard.cpp
index 36e99bfba..857ed3e9d 100644
--- a/wizards/kolabwizard.cpp
+++ b/wizards/kolabwizard.cpp
@@ -81,13 +81,13 @@ class SetupLDAPSearchAccount : public KConfigPropagator::Change
bool hasMyServer = false;
uint selHosts = c.readNumEntry("NumSelectedHosts", 0);
for ( uint i = 0 ; i < selHosts && !hasMyServer; ++i )
- if ( c.readEntry( TQString("SelectedHost%1").tqarg(i) ) == host )
+ if ( c.readEntry( TQString("SelectedHost%1").arg(i) ) == host )
hasMyServer = true;
if ( !hasMyServer ) {
c.writeEntry( "NumSelectedHosts", selHosts + 1 );
- c.writeEntry( TQString("SelectedHost%1").tqarg(selHosts), host);
- c.writeEntry( TQString("SelectedBase%1").tqarg(selHosts), basedn);
- c.writeEntry( TQString("SelectedPort%1").tqarg(selHosts), "389");
+ c.writeEntry( TQString("SelectedHost%1").arg(selHosts), host);
+ c.writeEntry( TQString("SelectedBase%1").arg(selHosts), basedn);
+ c.writeEntry( TQString("SelectedPort%1").arg(selHosts), "389");
}
}
diff --git a/wizards/scalixkmailchanges.cpp b/wizards/scalixkmailchanges.cpp
index 221e53d61..56c18afe9 100644
--- a/wizards/scalixkmailchanges.cpp
+++ b/wizards/scalixkmailchanges.cpp
@@ -34,7 +34,7 @@ class ScalixCustomWriter : public CreateDisconnectedImapAccount::CustomWriter
{
c.setGroup( "IMAP Resource" );
c.writeEntry( "TheIMAPResourceAccount", id );
- c.writeEntry( "TheIMAPResourceFolderParent", TQString(".%1.directory/INBOX").tqarg( id ) );
+ c.writeEntry( "TheIMAPResourceFolderParent", TQString(".%1.directory/INBOX").arg( id ) );
c.writeEntry( "HideGroupwareFolders", false );
}
void writeIds( int, int ) {}
diff --git a/wizards/scalixwizard.cpp b/wizards/scalixwizard.cpp
index b9ecfa10f..f7be16a64 100644
--- a/wizards/scalixwizard.cpp
+++ b/wizards/scalixwizard.cpp
@@ -74,13 +74,13 @@ class SetupLDAPSearchAccount : public KConfigPropagator::Change
bool hasMyServer = false;
uint selHosts = c.readNumEntry("NumSelectedHosts", 0);
for ( uint i = 0 ; i < selHosts && !hasMyServer; ++i )
- if ( c.readEntry( TQString("SelectedHost%1").tqarg(i) ) == host )
+ if ( c.readEntry( TQString("SelectedHost%1").arg(i) ) == host )
hasMyServer = true;
if ( !hasMyServer ) {
c.writeEntry( "NumSelectedHosts", selHosts + 1 );
- c.writeEntry( TQString("SelectedHost%1").tqarg(selHosts), host);
- c.writeEntry( TQString("SelectedBase%1").tqarg(selHosts), basedn);
- c.writeEntry( TQString("SelectedPort%1").tqarg(selHosts), "389");
+ c.writeEntry( TQString("SelectedHost%1").arg(selHosts), host);
+ c.writeEntry( TQString("SelectedBase%1").arg(selHosts), basedn);
+ c.writeEntry( TQString("SelectedPort%1").arg(selHosts), "389");
}
}