summaryrefslogtreecommitdiffstats
path: root/libkmime/kmime_header_parsing.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkmime/kmime_header_parsing.h')
-rw-r--r--libkmime/kmime_header_parsing.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/libkmime/kmime_header_parsing.h b/libkmime/kmime_header_parsing.h
index 10751f034..2454c5876 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<const char*,int> qpair;
+ TQPair<const char*,int> 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<const char*,int> & result, bool allow8Bit=false ) KDE_EXPORT;
+ TQPair<const char*,int> & 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<const char*,int> & result, bool allow8Bit=false ) KDE_EXPORT;
+ TQPair<const char*,int> & 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<TQString,Types::QStringOrQPair> & result,
+ TQPair<TQString,Types::TQStringOrTQPair> & result,
bool isCRLF=false ) KDE_EXPORT;
bool parseParameterList( const char* & scursor, const char * const send,
TQMap<TQString,TQString> & result, bool isCRLF=false ) KDE_EXPORT;
bool parseRawParameterList( const char* & scursor, const char * const send,
- TQMap<TQString,Types::QStringOrQPair> & result,
+ TQMap<TQString,Types::TQStringOrTQPair> & result,
bool isCRLF=false ) KDE_EXPORT;
bool parseTime( const char* & scursor, const char * const send,