summaryrefslogtreecommitdiffstats
path: root/kmail/objecttreeparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/objecttreeparser.h')
-rw-r--r--kmail/objecttreeparser.h64
1 files changed, 32 insertions, 32 deletions
diff --git a/kmail/objecttreeparser.h b/kmail/objecttreeparser.h
index bcc137b0d..6a55462b6 100644
--- a/kmail/objecttreeparser.h
+++ b/kmail/objecttreeparser.h
@@ -35,7 +35,7 @@
#include "kmmsgbase.h"
-#include <qcstring.h>
+#include <tqcstring.h>
#include <kleo/cryptobackend.h>
#include <gpgmepp/verificationresult.h>
@@ -110,13 +110,13 @@ namespace KMail {
KMail::CSSHelper * cssHelper=0 );
virtual ~ObjectTreeParser();
- QCString rawReplyString() const { return mRawReplyString; }
+ TQCString rawReplyString() const { return mRawReplyString; }
/*! @return the text of the message, ie. what would appear in the
composer's text editor if this was edited. */
- QString textualContent() const { return mTextualContent; }
+ TQString textualContent() const { return mTextualContent; }
- QCString textualContentCharset() const { return mTextualContentCharset; }
+ TQCString textualContentCharset() const { return mTextualContentCharset; }
void setCryptoProtocol( const Kleo::CryptoBackend::Protocol * protocol ) {
mCryptoProtocol = protocol;
@@ -183,23 +183,23 @@ namespace KMail {
find out if opaque data is signed or not. */
bool writeOpaqueOrMultipartSignedData( partNode * data,
partNode & sign,
- const QString & fromAddress,
+ const TQString & fromAddress,
bool doCheck=true,
- QCString * cleartextData=0,
+ TQCString * cleartextData=0,
std::vector<GpgME::Signature> paramSignatures = std::vector<GpgME::Signature>(),
bool hideErrors=false );
/** Returns the contents of the given multipart/encrypted
object. Data is decypted. May contain body parts. */
bool okDecryptMIME( partNode& data,
- QCString& decryptedData,
+ TQCString& decryptedData,
bool& signatureFound,
std::vector<GpgME::Signature> &signatures,
bool showWarning,
bool& passphraseError,
bool& actuallyEncrypted,
- QString& aErrorText,
- QString& auditLog );
+ TQString& aErrorText,
+ TQString& auditLog );
bool processMailmanMessage( partNode * node );
@@ -207,7 +207,7 @@ namespace KMail {
we only check whether @p str contains 'xxx="http[s]:' where xxx is
not href. Obfuscated external references are ignored on purpose.
*/
- static bool containsExternalReferences( const QCString & str );
+ static bool containsExternalReferences( const TQCString & str );
public:// (during refactoring)
@@ -229,42 +229,42 @@ namespace KMail {
bool processApplicationMsTnefSubtype( partNode *node, ProcessResult &result );
private:
- bool decryptChiasmus( const QByteArray& data, QByteArray& bodyDecoded, QString& errorText );
- void writeBodyString( const QCString & bodyString,
- const QString & fromAddress,
- const QTextCodec * codec,
+ bool decryptChiasmus( const TQByteArray& data, TQByteArray& bodyDecoded, TQString& errorText );
+ void writeBodyString( const TQCString & bodyString,
+ const TQString & fromAddress,
+ const TQTextCodec * codec,
ProcessResult & result, bool decorate );
void writePartIcon( KMMessagePart * msgPart, int partNumber, bool inlineImage=false );
- QString sigStatusToString( const Kleo::CryptoBackend::Protocol * cryptProto,
+ TQString sigStatusToString( const Kleo::CryptoBackend::Protocol * cryptProto,
int status_code,
GpgME::Signature::Summary summary,
int & frameColor,
bool & showKeyInfos );
- QString writeSigstatHeader( KMail::PartMetaData & part,
+ TQString writeSigstatHeader( KMail::PartMetaData & part,
const Kleo::CryptoBackend::Protocol * cryptProto,
- const QString & fromAddress,
- const QString & filename = QString::null );
- QString writeSigstatFooter( KMail::PartMetaData & part );
+ const TQString & fromAddress,
+ const TQString & filename = TQString::null );
+ TQString writeSigstatFooter( KMail::PartMetaData & part );
- void writeBodyStr( const QCString & bodyString,
- const QTextCodec * aCodec,
- const QString & fromAddress,
+ void writeBodyStr( const TQCString & bodyString,
+ const TQTextCodec * aCodec,
+ const TQString & fromAddress,
KMMsgSignatureState & inlineSignatureState,
KMMsgEncryptionState & inlineEncryptionState,
bool decorate );
public: // KMReaderWin still needs this...
- void writeBodyStr( const QCString & bodyString,
- const QTextCodec * aCodec,
- const QString & fromAddress );
+ void writeBodyStr( const TQCString & bodyString,
+ const TQTextCodec * aCodec,
+ const TQString & fromAddress );
private:
/** Change the string to `quoted' html (meaning, that the quoted
part of the message get italized */
- QString quotedHTML(const QString& pos, bool decorate);
+ TQString quotedHTML(const TQString& pos, bool decorate);
- const QTextCodec * codecFor( partNode * node ) const;
+ const TQTextCodec * codecFor( partNode * node ) const;
#ifdef MARCS_DEBUG
void dumpToFile( const char * filename, const char * dataStart, size_t dataLen );
@@ -274,9 +274,9 @@ namespace KMail {
private:
KMReaderWin * mReader;
- QCString mRawReplyString;
- QCString mTextualContentCharset;
- QString mTextualContent;
+ TQCString mRawReplyString;
+ TQCString mTextualContentCharset;
+ TQString mTextualContent;
const Kleo::CryptoBackend::Protocol * mCryptoProtocol;
bool mShowOnlyOneMimePart;
bool mKeepEncryptions;
@@ -285,8 +285,8 @@ namespace KMail {
KMail::HtmlWriter * mHtmlWriter;
KMail::CSSHelper * mCSSHelper;
// DataUrl Icons cache
- QString mCollapseIcon;
- QString mExpandIcon;
+ TQString mCollapseIcon;
+ TQString mExpandIcon;
};
} // namespace KMail