summaryrefslogtreecommitdiffstats
path: root/libkpgp/kpgpbase.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 /libkpgp/kpgpbase.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 'libkpgp/kpgpbase.h')
-rw-r--r--libkpgp/kpgpbase.h78
1 files changed, 39 insertions, 39 deletions
diff --git a/libkpgp/kpgpbase.h b/libkpgp/kpgpbase.h
index f0f1d190d..aaa389eb8 100644
--- a/libkpgp/kpgpbase.h
+++ b/libkpgp/kpgpbase.h
@@ -19,9 +19,9 @@
#ifndef KPGPBASE_H
#define KPGPBASE_H
-#include <qstring.h>
-#include <qcstring.h>
-#include <qstringlist.h>
+#include <tqstring.h>
+#include <tqcstring.h>
+#include <tqstringlist.h>
#include "kpgpkey.h"
#include "kpgpblock.h"
@@ -64,16 +64,16 @@ public:
{ return 0; }
/** Returns the list of public keys in the users public keyring. */
- virtual KeyList publicKeys( const QStringList & = QStringList() )
+ virtual KeyList publicKeys( const TQStringList & = TQStringList() )
{ return KeyList(); }
/** Returns the list of secret keys in the users secret keyring. */
- virtual KeyList secretKeys( const QStringList & = QStringList() )
+ virtual KeyList secretKeys( const TQStringList & = TQStringList() )
{ return KeyList(); }
/** Returns the ascii armored data of the public key with the
given key id. */
- virtual QCString getAsciiPublicKey(const KeyID& ) { return QCString(); }
+ virtual TQCString getAsciiPublicKey(const KeyID& ) { return TQCString(); }
/** Signs the given key with the currently set user key. This is currently
not implemented. */
@@ -82,7 +82,7 @@ public:
/** Returns an error message if an error occurred during the last
operation. */
- virtual QString lastErrorMessage() const;
+ virtual TQString lastErrorMessage() const;
protected:
@@ -92,14 +92,14 @@ protected:
bool onlyReadFromGnuPG = false );
virtual void clear();
- QCString addUserId();
+ TQCString addUserId();
- QCString input;
- QCString output;
- QCString error;
- QString errMsg;
+ TQCString input;
+ TQCString output;
+ TQCString error;
+ TQString errMsg;
- QCString mVersion;
+ TQCString mVersion;
int status;
@@ -124,19 +124,19 @@ public:
virtual Key* readPublicKey( const KeyID& keyID,
const bool readTrust = false,
Key* key = 0 );
- virtual KeyList publicKeys( const QStringList & patterns = QStringList() );
- virtual KeyList secretKeys( const QStringList & patterns = QStringList() );
- virtual QCString getAsciiPublicKey( const KeyID& keyID );
+ virtual KeyList publicKeys( const TQStringList & patterns = TQStringList() );
+ virtual KeyList secretKeys( const TQStringList & patterns = TQStringList() );
+ virtual TQCString getAsciiPublicKey( const KeyID& keyID );
virtual int signKey( const KeyID& keyID, const char *passphrase );
protected:
- KeyList doGetPublicKeys( const QCString & cmd,
- const QStringList & patterns );
- virtual KeyList parseKeyList( const QCString&, bool );
+ KeyList doGetPublicKeys( const TQCString & cmd,
+ const TQStringList & patterns );
+ virtual KeyList parseKeyList( const TQCString&, bool );
private:
- Key* parsePublicKeyData( const QCString& output, Key* key = 0 );
- void parseTrustDataForKey( Key* key, const QCString& str );
+ Key* parsePublicKeyData( const TQCString& output, Key* key = 0 );
+ void parseTrustDataForKey( Key* key, const TQCString& str );
};
class BaseG : public Base
@@ -156,14 +156,14 @@ public:
virtual Key* readPublicKey( const KeyID& keyID,
const bool readTrust = false,
Key* key = 0 );
- virtual KeyList publicKeys( const QStringList & patterns = QStringList() );
- virtual KeyList secretKeys( const QStringList & patterns = QStringList() );
- virtual QCString getAsciiPublicKey( const KeyID& keyID );
+ virtual KeyList publicKeys( const TQStringList & patterns = TQStringList() );
+ virtual KeyList secretKeys( const TQStringList & patterns = TQStringList() );
+ virtual TQCString getAsciiPublicKey( const KeyID& keyID );
virtual int signKey( const KeyID& keyID, const char *passphrase );
private:
- Key* parseKeyData( const QCString& output, int& offset, Key* key = 0 );
- KeyList parseKeyList( const QCString&, bool );
+ Key* parseKeyData( const TQCString& output, int& offset, Key* key = 0 );
+ KeyList parseKeyList( const TQCString&, bool );
};
@@ -184,16 +184,16 @@ public:
virtual Key* readPublicKey( const KeyID& keyID,
const bool readTrust = false,
Key* key = 0 );
- virtual KeyList publicKeys( const QStringList & patterns = QStringList() );
- virtual KeyList secretKeys( const QStringList & patterns = QStringList() );
- virtual QCString getAsciiPublicKey( const KeyID& keyID );
+ virtual KeyList publicKeys( const TQStringList & patterns = TQStringList() );
+ virtual KeyList secretKeys( const TQStringList & patterns = TQStringList() );
+ virtual TQCString getAsciiPublicKey( const KeyID& keyID );
virtual int signKey( const KeyID& keyID, const char *passphrase );
private:
- Key* parseKeyData( const QCString& output, int& offset, Key* key = 0 );
- Key* parseSingleKey( const QCString& output, Key* key = 0 );
- KeyList parseKeyList( const QCString& output, bool );
- void parseTrustDataForKey( Key* key, const QCString& str );
+ Key* parseKeyData( const TQCString& output, int& offset, Key* key = 0 );
+ Key* parseSingleKey( const TQCString& output, Key* key = 0 );
+ KeyList parseKeyList( const TQCString& output, bool );
+ void parseTrustDataForKey( Key* key, const TQCString& str );
};
@@ -210,18 +210,18 @@ public:
virtual Key* readPublicKey( const KeyID& keyID,
const bool readTrust = false,
Key* key = 0 );
- virtual KeyList publicKeys( const QStringList & patterns = QStringList() );
- virtual KeyList secretKeys( const QStringList & patterns = QStringList() );
+ virtual KeyList publicKeys( const TQStringList & patterns = TQStringList() );
+ virtual KeyList secretKeys( const TQStringList & patterns = TQStringList() );
virtual int isVersion6();
protected:
- virtual KeyList parseKeyList( const QCString &, bool );
+ virtual KeyList parseKeyList( const TQCString &, bool );
private:
- Key* parseKeyData( const QCString& output, int& offset, Key* key = 0 );
- Key* parseSingleKey( const QCString& output, Key* key = 0 );
- void parseTrustDataForKey( Key* key, const QCString& str );
+ Key* parseKeyData( const TQCString& output, int& offset, Key* key = 0 );
+ Key* parseSingleKey( const TQCString& output, Key* key = 0 );
+ void parseTrustDataForKey( Key* key, const TQCString& str );
};
// ---------------------------------------------------------------------------