summaryrefslogtreecommitdiffstats
path: root/korn/kio_proto.cpp
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 /korn/kio_proto.cpp
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 'korn/kio_proto.cpp')
-rw-r--r--korn/kio_proto.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korn/kio_proto.cpp b/korn/kio_proto.cpp
index a3de22723..8434fe44b 100644
--- a/korn/kio_proto.cpp
+++ b/korn/kio_proto.cpp
@@ -22,11 +22,11 @@
#include <kconfig.h>
#include <kdebug.h>
-#include <qmap.h>
+#include <tqmap.h>
-QMap< QString, QString >* KIO_Protocol::createConfig( KConfigGroup * group, const QString& password ) const
+TQMap< TQString, TQString >* KIO_Protocol::createConfig( KConfigGroup * group, const TQString& password ) const
{
- QMap< QString, QString > *result = new QMap< QString, QString >;
+ TQMap< TQString, TQString > *result = new TQMap< TQString, TQString >;
result->insert( "name", group->readEntry( "name", "" ) );
result->insert( "server", group->readEntry( "server", "" ) );
@@ -41,7 +41,7 @@ QMap< QString, QString >* KIO_Protocol::createConfig( KConfigGroup * group, cons
return result;
}
-void KIO_Protocol::clearFields( QMap<QString, QString> *map, const KIO_Protocol::Fields fields ) const
+void KIO_Protocol::clearFields( TQMap<TQString, TQString> *map, const KIO_Protocol::Fields fields ) const
{
if( fields & server )
map->insert( "server", "" );
@@ -59,14 +59,14 @@ void KIO_Protocol::clearFields( QMap<QString, QString> *map, const KIO_Protocol:
map->insert( "metadata", "" );
}
-void KIO_Protocol::readEntries( QMap< QString, QString >* map ) const
+void KIO_Protocol::readEntries( TQMap< TQString, TQString >* map ) const
{
- QMap< QString, QString> *metadata = new QMap< QString, QString >;
+ TQMap< TQString, TQString> *metadata = new TQMap< TQString, TQString >;
if( map->contains( "metadata" ) )
{
- QStringList list = QStringList::split( ",", *map->find( "metadata" ) );
- QStringList::Iterator it;
+ TQStringList list = TQStringList::split( ",", *map->find( "metadata" ) );
+ TQStringList::Iterator it;
for( it = list.begin(); it != list.end(); ++it )
{
int split = (*it).find( '=' );