From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- certmanager/lib/cryptplugwrapper.h | 48 +++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'certmanager/lib/cryptplugwrapper.h') diff --git a/certmanager/lib/cryptplugwrapper.h b/certmanager/lib/cryptplugwrapper.h index 91cec75d..fca08b65 100644 --- a/certmanager/lib/cryptplugwrapper.h +++ b/certmanager/lib/cryptplugwrapper.h @@ -48,12 +48,12 @@ */ #include "kleo/cryptobackend.h" -#include +#include -#include -#include -#include -#include +#include +#include +#include +#include #include @@ -452,7 +452,7 @@ private: */ class KDE_EXPORT CryptPlugWrapper : public Kleo::CryptoBackend::Protocol { public: - static QString errorIdToText( int errId, bool & isPassphraseError ); + static TQString errorIdToText( int errId, bool & isPassphraseError ); /*! \ingroup groupGeneral @@ -545,9 +545,9 @@ public: \sa ~CryptPlugWrapper, setActive, active, initialize, deinitialize \sa initStatus */ - CryptPlugWrapper( const QString& name=QString::null, - const QString& libName=QString::null, - const QString& update=QString::null, + CryptPlugWrapper( const TQString& name=TQString::null, + const TQString& libName=TQString::null, + const TQString& update=TQString::null, bool active = false ); /*! \ingroup groupAdmin @@ -561,9 +561,9 @@ public: */ ~CryptPlugWrapper(); - QString protocol() const; + TQString protocol() const; - QString name() const { + TQString name() const { return protocol(); } @@ -628,7 +628,7 @@ public: \sa libName, CryptPlugWrapper(), ~CryptPlugWrapper \sa deinitialize, initialize, initStatus */ - bool setLibName( const QString& libName ); + bool setLibName( const TQString& libName ); /*! \ingroup groupAdmin \brief Returns the CRYPTPLUG library name. @@ -638,21 +638,21 @@ public: \sa setLibName */ - QString libName() const; + TQString libName() const; /*! \ingroup groupAdmin \brief Specifies the external name that is visible in lists, messages, etc. */ - void setDisplayName( const QString& name ); + void setDisplayName( const TQString& name ); /*! \ingroup groupAdmin \brief Returns the external name. \return the external name used for display purposes */ - QString displayName() const; + TQString displayName() const; private: /*! \ingroup groupGeneral @@ -672,7 +672,7 @@ private: \sa initStatus, deinitialize, CryptPlugWrapper(), ~CryptPlugWrapper \sa setActive, active */ - bool initialize( InitStatus* initStatus, QString* errorMsg ); + bool initialize( InitStatus* initStatus, TQString* errorMsg ); public: /*! \ingroup groupGeneral @@ -701,7 +701,7 @@ public: \sa initialize, deinitialize, CryptPlugWrapper(), ~CryptPlugWrapper \sa setActive, active */ - InitStatus initStatus( QString* errorMsg ) const; + InitStatus initStatus( TQString* errorMsg ) const; /*! \ingroup groupGeneral @@ -714,7 +714,7 @@ public: however. \note In case this function cannot be executed the system's error - message may be retrieved by calling initStatus( QString* ). + message may be retrieved by calling initStatus( TQString* ). \return whether the relative feature is implemented or not */ @@ -805,7 +805,7 @@ public: Kleo::ImportJob * importJob() const; Kleo::ExportJob * publicKeyExportJob( bool armor=false ) const; - Kleo::ExportJob * secretKeyExportJob( bool armor=false, const QString& charset = QString::null ) const; + Kleo::ExportJob * secretKeyExportJob( bool armor=false, const TQString& charset = TQString::null ) const; Kleo::DownloadJob * downloadJob( bool armor=false ) const; Kleo::DeleteJob * deleteJob() const; @@ -813,19 +813,19 @@ public: Kleo::DecryptVerifyJob * decryptVerifyJob( bool textmode=false ) const; Kleo::RefreshKeysJob * refreshKeysJob() const; - Kleo::SpecialJob * specialJob( const char *, const QMap & ) const { return 0; } + Kleo::SpecialJob * specialJob( const char *, const TQMap & ) const { return 0; } GpgME::ImportResult importCertificate( const char* data, size_t length ); CryptPlug * cryptPlug() const { return _cp; } private: - QString _name; - QString _libName; - QString _updateURL; + TQString _name; + TQString _libName; + TQString _updateURL; bool _active; InitStatus _initStatus; - QString _lastError; + TQString _lastError; CryptPlug* _cp; // local parameters without representation in cryptplug.h bool mAlwaysEncryptToSelf; -- cgit v1.2.3