From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkpgp/kpgpblock.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'libkpgp/kpgpblock.h') diff --git a/libkpgp/kpgpblock.h b/libkpgp/kpgpblock.h index c741062a..bb36e3fd 100644 --- a/libkpgp/kpgpblock.h +++ b/libkpgp/kpgpblock.h @@ -58,7 +58,7 @@ typedef enum { NO_SEC_KEY = 0x0100, MISSINGKEY = 0x0200, CANCEL = 0x8000 -} MessageStatus; +} MessagetqStatus; class Base; class Module; @@ -103,7 +103,7 @@ class KDE_EXPORT Block void setProcessedText( const TQCString& str ); int status() const; - void seStatus( const int status ); + void setqStatus( const int status ); BlockType type(); @@ -186,14 +186,14 @@ class KDE_EXPORT Block TQCString mRequiredKey; TQString mRequiredUserId; TQStrList mEncryptedFor; - int mStatus; + int mtqStatus; bool mHasBeenProcessed; BlockType mType; }; // -- inlined member functions --------------------------------------------- -inline QCString +inline TQCString Block::text() const { if( mHasBeenProcessed ) @@ -216,7 +216,7 @@ Block::setProcessedText( const TQCString& str ) mHasBeenProcessed = true; } -inline QCString +inline TQCString Block::error() const { return mError; @@ -231,13 +231,13 @@ Block::setError( const TQCString& str ) inline int Block::status() const { - return mStatus; + return mtqStatus; } inline void -Block::seStatus( const int status ) +Block::setqStatus( const int status ) { - mStatus = status; + mtqStatus = status; } inline BlockType @@ -248,7 +248,7 @@ Block::type() return mType; } -inline QString +inline TQString Block::signatureUserId() const { return mSignatureUserId; @@ -260,7 +260,7 @@ Block::setSignatureUserId( const TQString& userId ) mSignatureUserId = userId; } -inline QCString +inline TQCString Block::signatureKeyId() const { return mSignatureKeyId; @@ -272,7 +272,7 @@ Block::setSignatureKeyId( const TQCString& keyId ) mSignatureKeyId = keyId; } -inline QCString +inline TQCString Block::signatureDate() const { return mSignatureDate; @@ -284,7 +284,7 @@ Block::setSignatureDate( const TQCString& date ) mSignatureDate = date; } -inline QString +inline TQString Block::requiredKey() const { return mRequiredKey; @@ -296,7 +296,7 @@ Block::setRequiredKey( const TQCString& keyId ) mRequiredKey = keyId; } -inline QString +inline TQString Block::requiredUserId() const { return mRequiredUserId; @@ -308,7 +308,7 @@ Block::setRequiredUserId( const TQString& userId ) mRequiredUserId = userId; } -inline const QStrList +inline const TQStrList Block::encryptedFor() const { return mEncryptedFor; @@ -317,7 +317,7 @@ Block::encryptedFor() const inline bool Block::isEncrypted() const { - if( mStatus & ENCRYPTED ) + if( mtqStatus & ENCRYPTED ) return true; return false; } @@ -325,7 +325,7 @@ Block::isEncrypted() const inline bool Block::isSigned() const { - if( mStatus & SIGNED ) + if( mtqStatus & SIGNED ) return true; return false; } @@ -333,7 +333,7 @@ Block::isSigned() const inline bool Block::goodSignature() const { - if( mStatus & GOODSIG ) + if( mtqStatus & GOODSIG ) return true; return false; } @@ -342,7 +342,7 @@ Block::goodSignature() const inline bool Block::unknownSigner() const { - if( mStatus & UNKNOWN_SIG ) + if( mtqStatus & UNKNOWN_SIG ) return true; return false; } -- cgit v1.2.3