summaryrefslogtreecommitdiffstats
path: root/korn/kio_proto.cpp
diff options
context:
space:
mode:
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( '=' );