summaryrefslogtreecommitdiffstats
path: root/kabc/kabcdistlistupdater
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kabc/kabcdistlistupdater
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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 'kabc/kabcdistlistupdater')
-rw-r--r--kabc/kabcdistlistupdater/kabcdistlistupdater.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kabc/kabcdistlistupdater/kabcdistlistupdater.cpp b/kabc/kabcdistlistupdater/kabcdistlistupdater.cpp
index 012ce4d15..d7a54a731 100644
--- a/kabc/kabcdistlistupdater/kabcdistlistupdater.cpp
+++ b/kabc/kabcdistlistupdater/kabcdistlistupdater.cpp
@@ -39,15 +39,15 @@ static const KCmdLineOptions options[] =
void convertDistributionLists()
{
KSimpleConfig cfg( locateLocal( "data", "kabc/distlists" ) );
- const QMap<QString, QString> entryMap = cfg.entryMap( "DistributionLists" );
+ const TQMap<TQString, TQString> entryMap = cfg.entryMap( "DistributionLists" );
if ( entryMap.isEmpty() ) // nothing to convert
return;
- QMapConstIterator<QString, QString> it;
+ TQMapConstIterator<TQString, TQString> it;
for ( it = entryMap.begin(); it != entryMap.end(); ++it ) {
- const QString listName = it.key();
- const QStringList entries = QStringList::split( ',', it.data(), true );
+ const TQString listName = it.key();
+ const TQStringList entries = TQStringList::split( ',', it.data(), true );
KPIM::DistributionList distList;
distList.setUid( KApplication::randomString( 10 ) );
@@ -55,8 +55,8 @@ void convertDistributionLists()
if ( entries.count() > 1 ) {
for ( uint i = 0; i < entries.count(); i += 2 ) {
- const QString uid = entries[ i ];
- const QString preferredEMail = entries[ i + 1 ];
+ const TQString uid = entries[ i ];
+ const TQString preferredEMail = entries[ i + 1 ];
distList.insertEntry( uid, preferredEMail );
}