summaryrefslogtreecommitdiffstats
path: root/libkpgp/kpgpblock.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkpgp/kpgpblock.h')
-rw-r--r--libkpgp/kpgpblock.h86
1 files changed, 43 insertions, 43 deletions
diff --git a/libkpgp/kpgpblock.h b/libkpgp/kpgpblock.h
index 32978771c..2bce9c74c 100644
--- a/libkpgp/kpgpblock.h
+++ b/libkpgp/kpgpblock.h
@@ -19,13 +19,13 @@
#ifndef KPGPBLOCK_H
#define KPGPBLOCK_H
-#include <qcstring.h>
-#include <qstring.h>
-#include <qstrlist.h>
+#include <tqcstring.h>
+#include <tqstring.h>
+#include <tqstrlist.h>
#include <kdepimmacros.h>
-//#include <qstringlist.h>
+//#include <tqstringlist.h>
class QStringList;
#include "kpgp.h"
@@ -94,13 +94,13 @@ class KDE_EXPORT Block
{
public:
- Block( const QCString& str = QCString() );
+ Block( const TQCString& str = TQCString() );
~Block();
- QCString text() const;
- void setText( const QCString& str );
+ TQCString text() const;
+ void setText( const TQCString& str );
- void setProcessedText( const QCString& str );
+ void setProcessedText( const TQCString& str );
int status() const;
void setStatus( const int status );
@@ -118,31 +118,31 @@ class KDE_EXPORT Block
/** returns the primary user id of the signer or a null string if we
don't have the public key of the signer */
- QString signatureUserId() const;
- void setSignatureUserId( const QString& userId );
+ TQString signatureUserId() const;
+ void setSignatureUserId( const TQString& userId );
/** keyID of signer */
- QCString signatureKeyId() const;
- void setSignatureKeyId( const QCString& keyId );
+ TQCString signatureKeyId() const;
+ void setSignatureKeyId( const TQCString& keyId );
/** date of the signature
- WARNING: Will most likely be changed to QDateTime */
- QCString signatureDate() const;
- void setSignatureDate( const QCString& date );
+ WARNING: Will most likely be changed to TQDateTime */
+ TQCString signatureDate() const;
+ void setSignatureDate( const TQCString& date );
/** the persons who can decrypt the message */
- const QStrList encryptedFor() const;
+ const TQStrList encryptedFor() const;
/** shows the secret key which is needed
to decrypt the message */
- QString requiredKey() const;
- void setRequiredKey( const QCString& keyId );
+ TQString requiredKey() const;
+ void setRequiredKey( const TQCString& keyId );
- QString requiredUserId() const;
- void setRequiredUserId( const QString& userId );
+ TQString requiredUserId() const;
+ void setRequiredUserId( const TQString& userId );
- QCString error() const;
- void setError( const QCString& str );
+ TQCString error() const;
+ void setError( const TQCString& str );
/** Resets all information about this OpenPGP block */
void reset();
@@ -160,8 +160,8 @@ class KDE_EXPORT Block
false if there was an unresolvable error or if signing was canceled
true if everything is o.k.
*/
- Kpgp::Result clearsign( const QCString& keyId,
- const QCString& charset = QCString() );
+ Kpgp::Result clearsign( const TQCString& keyId,
+ const TQCString& charset = TQCString() );
/** encrypts this OpenPGP block for a list of persons. if sign is true then
the message is signed with the key corresponding to the given key id.
@@ -169,23 +169,23 @@ class KDE_EXPORT Block
false if there was an unresolvable error or if encryption was canceled
true if everything is o.k.
*/
- Kpgp::Result encrypt( const QStringList& receivers, const QCString& keyId,
- const bool sign, const QCString& charset = QCString() );
+ Kpgp::Result encrypt( const TQStringList& receivers, const TQCString& keyId,
+ const bool sign, const TQCString& charset = TQCString() );
private:
void clear();
BlockType determineType() const;
- QCString mText;
- QCString mProcessedText;
- QCString mError;
- QString mSignatureUserId;
- QCString mSignatureKeyId;
- QCString mSignatureDate;
- QCString mRequiredKey;
- QString mRequiredUserId;
- QStrList mEncryptedFor;
+ TQCString mText;
+ TQCString mProcessedText;
+ TQCString mError;
+ TQString mSignatureUserId;
+ TQCString mSignatureKeyId;
+ TQCString mSignatureDate;
+ TQCString mRequiredKey;
+ TQString mRequiredUserId;
+ TQStrList mEncryptedFor;
int mStatus;
bool mHasBeenProcessed;
BlockType mType;
@@ -203,14 +203,14 @@ Block::text() const
}
inline void
-Block::setText( const QCString& str )
+Block::setText( const TQCString& str )
{
clear();
mText = str;
}
inline void
-Block::setProcessedText( const QCString& str )
+Block::setProcessedText( const TQCString& str )
{
mProcessedText = str;
mHasBeenProcessed = true;
@@ -223,7 +223,7 @@ Block::error() const
}
inline void
-Block::setError( const QCString& str )
+Block::setError( const TQCString& str )
{
mError = str;
}
@@ -255,7 +255,7 @@ Block::signatureUserId() const
}
inline void
-Block::setSignatureUserId( const QString& userId )
+Block::setSignatureUserId( const TQString& userId )
{
mSignatureUserId = userId;
}
@@ -267,7 +267,7 @@ Block::signatureKeyId() const
}
inline void
-Block::setSignatureKeyId( const QCString& keyId )
+Block::setSignatureKeyId( const TQCString& keyId )
{
mSignatureKeyId = keyId;
}
@@ -279,7 +279,7 @@ Block::signatureDate() const
}
inline void
-Block::setSignatureDate( const QCString& date )
+Block::setSignatureDate( const TQCString& date )
{
mSignatureDate = date;
}
@@ -291,7 +291,7 @@ Block::requiredKey() const
}
inline void
-Block::setRequiredKey( const QCString& keyId )
+Block::setRequiredKey( const TQCString& keyId )
{
mRequiredKey = keyId;
}
@@ -303,7 +303,7 @@ Block::requiredUserId() const
}
inline void
-Block::setRequiredUserId( const QString& userId )
+Block::setRequiredUserId( const TQString& userId )
{
mRequiredUserId = userId;
}