diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korn/protocols.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/protocols.cpp')
-rw-r--r-- | korn/protocols.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/korn/protocols.cpp b/korn/protocols.cpp index 60fac95a1..526c099b3 100644 --- a/korn/protocols.cpp +++ b/korn/protocols.cpp @@ -31,13 +31,13 @@ #include "dcop_proto.h" #include "kmail_proto.h" -#include <qdict.h> -#include <qstring.h> -#include <qstringlist.h> +#include <tqdict.h> +#include <tqstring.h> +#include <tqstringlist.h> -QDict<Protocol>* Protocols::protocols = 0; +TQDict<Protocol>* Protocols::protocols = 0; -const Protocol* Protocols::getProto( const QString& proto ) +const Protocol* Protocols::getProto( const TQString& proto ) { if( !protocols ) fillProtocols(); @@ -50,14 +50,14 @@ const Protocol* Protocols::firstProtocol() return getProto( "mbox" ); } -QStringList Protocols::getProtocols() +TQStringList Protocols::getProtocols() { - QStringList output; + TQStringList output; if( !protocols ) fillProtocols(); - QDictIterator<Protocol> it( *protocols ); + TQDictIterator<Protocol> it( *protocols ); for( ; it.current(); ++it ) output.append( it.currentKey() ); @@ -68,7 +68,7 @@ QStringList Protocols::getProtocols() void Protocols::fillProtocols() { - protocols = new QDict< Protocol>; + protocols = new TQDict< Protocol>; protocols->setAutoDelete( true ); addProtocol( new Imap_Protocol ); addProtocol( new MBox_Protocol ); |