summaryrefslogtreecommitdiffstats
path: root/libkmime/kmime_header_parsing.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-05 17:48:46 +0900
committerMichele Calgaro <[email protected]>2024-05-06 16:02:34 +0900
commit7bfa0fb6156e976c839bb0d61459fd4bf6a0aa4e (patch)
treef63d015ae98a52b2020591c440eeceae38698c4c /libkmime/kmime_header_parsing.h
parent62c95d25331f3e2d652e2ae995ff51f7cb1f2bcf (diff)
downloadtdepim-7bfa0fb6156e976c839bb0d61459fd4bf6a0aa4e.tar.gz
tdepim-7bfa0fb6156e976c839bb0d61459fd4bf6a0aa4e.zip
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit d6705bac5da767ff271b66c0f01ff6ed6352515e)
Diffstat (limited to 'libkmime/kmime_header_parsing.h')
-rw-r--r--libkmime/kmime_header_parsing.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/libkmime/kmime_header_parsing.h b/libkmime/kmime_header_parsing.h
index c4c69945e..cf398e61c 100644
--- a/libkmime/kmime_header_parsing.h
+++ b/libkmime/kmime_header_parsing.h
@@ -48,32 +48,32 @@ namespace KMime {
namespace Types {
// for when we can't make up our mind what to use...
- struct KDE_EXPORT TQStringOrTQPair {
+ struct TDE_EXPORT TQStringOrTQPair {
TQStringOrTQPair() : qstring(), qpair(0,0) {}
TQString qstring;
TQPair<const char*,int> qpair;
};
- struct KDE_EXPORT AddrSpec {
+ struct TDE_EXPORT AddrSpec {
TQString asString() const;
TQString localPart;
TQString domain;
};
typedef TQValueList<AddrSpec> AddrSpecList;
- struct KDE_EXPORT Mailbox {
+ struct TDE_EXPORT Mailbox {
TQString displayName;
AddrSpec addrSpec;
};
typedef TQValueList<Mailbox> MailboxList;
- struct KDE_EXPORT Address {
+ struct TDE_EXPORT Address {
TQString displayName;
MailboxList mailboxList;
};
typedef TQValueList<Address> AddressList;
- struct KDE_EXPORT DateTime {
+ struct TDE_EXPORT DateTime {
time_t time; // secs since 1.1.1970, 0:00 UTC/GMT
long int secsEastOfGMT; // timezone
bool timeZoneKnown; // do we know the timezone? (e.g. on -0000)
@@ -98,7 +98,7 @@ namespace HeaderParsing {
@return the decoded string the encoded word represented.
*/
bool parseEncodedWord( const char* & scursor, const char * const send,
- TQString & result, TQCString & language ) KDE_EXPORT;
+ TQString & result, TQCString & language ) TDE_EXPORT;
//
// The parsing squad:
//
@@ -106,34 +106,34 @@ namespace HeaderParsing {
/** You may or may not have already started parsing into the
atom. This function will go on where you left off. */
bool parseAtom( const char* & scursor, const char * const send,
- TQString & result, bool allow8Bit=false ) KDE_EXPORT;
+ TQString & result, bool allow8Bit=false ) TDE_EXPORT;
bool parseAtom( const char* & scursor, const char * const send,
- TQPair<const char*,int> & result, bool allow8Bit=false ) KDE_EXPORT;
+ TQPair<const char*,int> & result, bool allow8Bit=false ) TDE_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;
+ TQString & result, bool allow8Bit=false ) TDE_EXPORT;
bool parseToken( const char* & scursor, const char * const send,
- TQPair<const char*,int> & result, bool allow8Bit=false ) KDE_EXPORT;
+ TQPair<const char*,int> & result, bool allow8Bit=false ) TDE_EXPORT;
/** @p scursor must be positioned after the opening openChar. */
bool parseGenericQuotedString( const char* & scursor, const char* const send,
TQString & result, bool isCRLF,
const char openChar='"',
- const char closeChar='"' ) KDE_EXPORT;
+ const char closeChar='"' ) TDE_EXPORT;
/** @p scursor must be positioned right after the opening '(' */
bool parseComment( const char* & scursor, const char * const send,
- TQString & result, bool isCRLF=false, bool reallySave=true ) KDE_EXPORT;
+ TQString & result, bool isCRLF=false, bool reallySave=true ) TDE_EXPORT;
/** You may or may not have already started parsing into the phrase,
but only if it starts with atext. If you setup this function to
parse a phrase starting with an encoded-word or quoted-string,
@p scursor has to point to the char introducing the encoded-word
or quoted-string, resp. */
bool parsePhrase( const char* & scursor, const char * const send,
- TQString & result, bool isCRLF=false ) KDE_EXPORT;
+ TQString & result, bool isCRLF=false ) TDE_EXPORT;
/** You may or may not have already started parsing into the initial
atom, but not up to it's end. */
bool parseDotAtom( const char* & scursor, const char * const send,
- TQString & result, bool isCRLF=false ) KDE_EXPORT;
+ TQString & result, bool isCRLF=false ) TDE_EXPORT;
/** Eats comment-folding-white-space, skips whitespace, folding and
comments (even nested ones) and stops at the next non-CFWS
@@ -144,42 +144,42 @@ namespace HeaderParsing {
scursor is being positioned on the opening '(' of the outmost
comment.
*/
- void eatCFWS( const char* & scursor, const char * const send, bool isCRLF ) KDE_EXPORT;
+ void eatCFWS( const char* & scursor, const char * const send, bool isCRLF ) TDE_EXPORT;
bool parseDomain( const char* & scursor, const char * const send,
- TQString & result, bool isCRLF=false ) KDE_EXPORT;
+ TQString & result, bool isCRLF=false ) TDE_EXPORT;
bool parseObsRoute( const char* & scursor, const char * const send,
TQStringList & result,
- bool isCRLF=false, bool save=false ) KDE_EXPORT;
+ bool isCRLF=false, bool save=false ) TDE_EXPORT;
bool parseAddrSpec( const char* & scursor, const char * const send,
- Types::AddrSpec & result, bool isCRLF=false ) KDE_EXPORT;
+ Types::AddrSpec & result, bool isCRLF=false ) TDE_EXPORT;
bool parseAngleAddr( const char* & scursor, const char * const send,
- Types::AddrSpec & result, bool isCRLF=false ) KDE_EXPORT;
+ Types::AddrSpec & result, bool isCRLF=false ) TDE_EXPORT;
bool parseMailbox( const char* & scursor, const char * const send,
- Types::Mailbox & result, bool isCRLF=false ) KDE_EXPORT;
+ Types::Mailbox & result, bool isCRLF=false ) TDE_EXPORT;
bool parseGroup( const char* & scursor, const char * const send,
- Types::Address & result, bool isCRLF=false ) KDE_EXPORT;
+ Types::Address & result, bool isCRLF=false ) TDE_EXPORT;
bool parseAddress( const char* & scursor, const char * const send,
- Types::Address & result, bool isCRLF=false ) KDE_EXPORT;
+ Types::Address & result, bool isCRLF=false ) TDE_EXPORT;
bool parseAddressList( const char* & scursor, const char * const send,
- Types::AddressList & result, bool isCRLF=false ) KDE_EXPORT;
+ Types::AddressList & result, bool isCRLF=false ) TDE_EXPORT;
bool parseParameter( const char* & scursor, const char * const send,
TQPair<TQString,Types::TQStringOrTQPair> & result,
- bool isCRLF=false ) KDE_EXPORT;
+ bool isCRLF=false ) TDE_EXPORT;
bool parseParameterList( const char* & scursor, const char * const send,
- TQMap<TQString,TQString> & result, bool isCRLF=false ) KDE_EXPORT;
+ TQMap<TQString,TQString> & result, bool isCRLF=false ) TDE_EXPORT;
bool parseRawParameterList( const char* & scursor, const char * const send,
TQMap<TQString,Types::TQStringOrTQPair> & result,
- bool isCRLF=false ) KDE_EXPORT;
+ bool isCRLF=false ) TDE_EXPORT;
bool parseTime( const char* & scursor, const char * const send,
int & hour, int & min, int & sec, long int & secsEastOfGMT,
- bool & timeZoneKnown, bool isCRLF=false ) KDE_EXPORT;
+ bool & timeZoneKnown, bool isCRLF=false ) TDE_EXPORT;
bool parseDateTime( const char* & scursor, const char * const send,
- Types::DateTime & result, bool isCRLF=false ) KDE_EXPORT;
+ Types::DateTime & result, bool isCRLF=false ) TDE_EXPORT;
#if 0
bool tryToMakeAnySenseOfDateString( const char* & scursor,