summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/cryptplugwrapper.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /certmanager/lib/cryptplugwrapper.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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 'certmanager/lib/cryptplugwrapper.h')
-rw-r--r--certmanager/lib/cryptplugwrapper.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/certmanager/lib/cryptplugwrapper.h b/certmanager/lib/cryptplugwrapper.h
index 91cec75df..fca08b650 100644
--- a/certmanager/lib/cryptplugwrapper.h
+++ b/certmanager/lib/cryptplugwrapper.h
@@ -48,12 +48,12 @@
*/
#include "kleo/cryptobackend.h"
-#include <qdatetime.h>
+#include <tqdatetime.h>
-#include <qvaluelist.h>
-#include <qpair.h>
-#include <qstringlist.h>
-#include <qstring.h>
+#include <tqvaluelist.h>
+#include <tqpair.h>
+#include <tqstringlist.h>
+#include <tqstring.h>
#include <kdepimmacros.h>
@@ -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<QString,QVariant> & ) const { return 0; }
+ Kleo::SpecialJob * specialJob( const char *, const TQMap<TQString,TQVariant> & ) 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;