diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/smtp/capabilities.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/smtp/capabilities.h')
-rw-r--r-- | kioslave/smtp/capabilities.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kioslave/smtp/capabilities.h b/kioslave/smtp/capabilities.h index 1ae5972aa..d9a9de39a 100644 --- a/kioslave/smtp/capabilities.h +++ b/kioslave/smtp/capabilities.h @@ -32,10 +32,10 @@ #ifndef __KIOSMTP_CAPABILITIES_H__ #define __KIOSMTP_CAPABILITIES_H__ -#include <qmap.h> -#include <qcstring.h> -#include <qstring.h> -#include <qstringlist.h> +#include <tqmap.h> +#include <tqcstring.h> +#include <tqstring.h> +#include <tqstringlist.h> class QStrIList; @@ -49,27 +49,27 @@ namespace KioSMTP { static Capabilities fromResponse( const Response & response ); - void add( const QString & cap, bool replace=false ); - void add( const QString & name, const QStringList & args, bool replace=false ); + void add( const TQString & cap, bool replace=false ); + void add( const TQString & name, const TQStringList & args, bool replace=false ); void clear() { mCapabilities.clear(); } - bool have( const QString & cap ) const { + bool have( const TQString & cap ) const { return mCapabilities.find( cap.upper() ) != mCapabilities.end(); } - bool have( const QCString & cap ) const { return have( QString( cap.data() ) ); } - bool have( const char * cap ) const { return have( QString::fromLatin1( cap ) ); } + bool have( const TQCString & cap ) const { return have( TQString( cap.data() ) ); } + bool have( const char * cap ) const { return have( TQString::fromLatin1( cap ) ); } - QString asMetaDataString() const; + TQString asMetaDataString() const; - QString authMethodMetaData() const; - QStrIList saslMethods() const; + TQString authMethodMetaData() const; + TQStrIList saslMethods() const; - QString createSpecialResponse( bool tls ) const; + TQString createSpecialResponse( bool tls ) const; - QStringList saslMethodsQSL() const; + TQStringList saslMethodsQSL() const; private: - QMap<QString,QStringList> mCapabilities; + TQMap<TQString,TQStringList> mCapabilities; }; } // namespace KioSMTP |