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 --- libkmime/kmime_header_parsing.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'libkmime/kmime_header_parsing.h') diff --git a/libkmime/kmime_header_parsing.h b/libkmime/kmime_header_parsing.h index 10751f03..2454c587 100644 --- a/libkmime/kmime_header_parsing.h +++ b/libkmime/kmime_header_parsing.h @@ -19,11 +19,11 @@ In addition, as a special exception, the copyright holders give permission to link the code of this library with any edition of - the Qt library by Trolltech AS, Norway (or with modified versions - of Qt that use the same license as Qt), and distribute linked + the TQt library by Trolltech AS, Norway (or with modified versions + of TQt that use the same license as TQt), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than - Qt. If you modify this file, you may extend this exception to + TQt. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. @@ -48,10 +48,10 @@ namespace KMime { namespace Types { // for when we can't make up our mind what to use... - struct KDE_EXPORT QStringOrQPair { - QStringOrQPair() : qstring(), qpair(0,0) {} + struct KDE_EXPORT TQStringOrTQPair { + TQStringOrTQPair() : qstring(), qpair(0,0) {} TQString qstring; - QPair qpair; + TQPair qpair; }; struct KDE_EXPORT AddrSpec { @@ -94,7 +94,7 @@ namespace HeaderParsing { to and including the encoding specifier. The encoded-text is quite generously parsed and @p ok is still set to @p true when e.g. the encoded-word - appears to be truncated or tqcontains whitespace. + appears to be truncated or contains whitespace. @return the decoded string the encoded word represented. */ bool parseEncodedWord( const char* & scursor, const char * const send, @@ -108,13 +108,13 @@ namespace HeaderParsing { bool parseAtom( const char* & scursor, const char * const send, TQString & result, bool allow8Bit=false ) KDE_EXPORT; bool parseAtom( const char* & scursor, const char * const send, - QPair & result, bool allow8Bit=false ) KDE_EXPORT; + TQPair & result, bool allow8Bit=false ) KDE_EXPORT; /** You may or may not have already started parsing into the token. This function will go on where you left off. */ bool parseToken( const char* & scursor, const char * const send, TQString & result, bool allow8Bit=false ) KDE_EXPORT; bool parseToken( const char* & scursor, const char * const send, - QPair & result, bool allow8Bit=false ) KDE_EXPORT; + TQPair & result, bool allow8Bit=false ) KDE_EXPORT; /** @p scursor must be positioned after the opening openChar. */ bool parseGenericQuotedString( const char* & scursor, const char* const send, TQString & result, bool isCRLF, @@ -165,13 +165,13 @@ namespace HeaderParsing { Types::AddressList & result, bool isCRLF=false ) KDE_EXPORT; bool parseParameter( const char* & scursor, const char * const send, - QPair & result, + TQPair & result, bool isCRLF=false ) KDE_EXPORT; bool parseParameterList( const char* & scursor, const char * const send, TQMap & result, bool isCRLF=false ) KDE_EXPORT; bool parseRawParameterList( const char* & scursor, const char * const send, - TQMap & result, + TQMap & result, bool isCRLF=false ) KDE_EXPORT; bool parseTime( const char* & scursor, const char * const send, -- cgit v1.2.3