summaryrefslogtreecommitdiffstats
path: root/kabc/kabcdistlistupdater/kabcdistlistupdater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/kabcdistlistupdater/kabcdistlistupdater.cpp')
-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 );
}