diff options
Diffstat (limited to 'korn/kio_proto.h')
-rw-r--r-- | korn/kio_proto.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/korn/kio_proto.h b/korn/kio_proto.h index 3770f1209..216b58263 100644 --- a/korn/kio_proto.h +++ b/korn/kio_proto.h @@ -29,7 +29,7 @@ class QString; #include <kio/global.h> #include <klocale.h> -#include <qstringlist.h> +#include <tqstringlist.h> #include "protocol.h" #include "kio.h" @@ -58,17 +58,17 @@ public: virtual KMailDrop* createMaildrop( KConfigGroup* config ) const { return new KKioDrop( config ); } - virtual QMap< QString, QString >* createConfig( KConfigGroup *group, const QString& password ) const; + virtual TQMap< TQString, TQString >* createConfig( KConfigGroup *group, const TQString& password ) const; /* * @return: the name of the kio_slave */ - virtual QString protocol( bool ) const { return "file"; } + virtual TQString protocol( bool ) const { return "file"; } /* * @return: the name of the protocol used by the configuration */ - virtual QString configName() const { return "not specified"; } + virtual TQString configName() const { return "not specified"; } virtual bool connectionBased() const { return false; } @@ -94,13 +94,13 @@ public: /* * This sets the string of such fields in Configuration */ - virtual QString serverName() const { return i18n( "Server:" ); } - virtual QString portName() const { return i18n( "Port:" ); } - virtual QString usernameName() const { return i18n( "Username:" ); } - virtual QString mailboxName() const { return i18n( "Mailbox:" ); } - virtual QString passwordName() const { return i18n( "Password:" ); } - virtual QString savePasswordName() const { return i18n( "Save password" ); } - virtual QString authName() const { return i18n( "Authentication:" ); } + virtual TQString serverName() const { return i18n( "Server:" ); } + virtual TQString portName() const { return i18n( "Port:" ); } + virtual TQString usernameName() const { return i18n( "Username:" ); } + virtual TQString mailboxName() const { return i18n( "Mailbox:" ); } + virtual TQString passwordName() const { return i18n( "Password:" ); } + virtual TQString savePasswordName() const { return i18n( "Save password" ); } + virtual TQString authName() const { return i18n( "Authentication:" ); } /* * The next function returns the method of deleting: some protoocols @@ -112,7 +112,7 @@ public: * The next options are the input for the Authentication Combo, seperated by '|'. * The name should be the same as the auth-metadata. */ - virtual QStringList authList() const { return QStringList::split( '|', "Plain", false ); } + virtual TQStringList authList() const { return TQStringList::split( '|', "Plain", false ); } /* * The next functions are manipulations of an KURL. @@ -141,8 +141,8 @@ public: virtual const KIO_Protocol* getKIOProtocol() const { return this; } - virtual void readEntries( QMap< QString, QString >* ) const; - virtual void readEntries( QMap< QString, QString >*, QMap< QString, QString >* ) const = 0; + virtual void readEntries( TQMap< TQString, TQString >* ) const; + virtual void readEntries( TQMap< TQString, TQString >*, TQMap< TQString, TQString >* ) const = 0; protected: /* @@ -151,7 +151,7 @@ protected: enum Fields { no_fields = 0, server = 1, port = 2, username = 4, password = 8, mailbox = 16, save_password = 32, metadata = 64 }; - void clearFields( QMap< QString, QString > *map, const Fields fields ) const; + void clearFields( TQMap< TQString, TQString > *map, const Fields fields ) const; }; #endif //MK_KIO_PROTO_H |