summaryrefslogtreecommitdiffstats
path: root/libkpgp/kpgpbase.h
diff options
context:
space:
mode:
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 );
};
// ---------------------------------------------------------------------------