diff options
Diffstat (limited to 'libkmime/kmime_util.h')
-rw-r--r-- | libkmime/kmime_util.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/libkmime/kmime_util.h b/libkmime/kmime_util.h index 7acc861ce..ff332c31e 100644 --- a/libkmime/kmime_util.h +++ b/libkmime/kmime_util.h @@ -29,14 +29,14 @@ namespace KMime { /** Consult the charset cache. Only used for reducing mem usage by keeping strings in a common repository.*/ - extern const char* cachedCharset(const TQCString &name) KDE_EXPORT; + extern const char* cachedCharset(const TQCString &name) TDE_EXPORT; /** Consult the language cache. Only used for reducing mem usage by keeping strings in a common repository.*/ - extern const char* cachedLanguage(const TQCString &name) KDE_EXPORT; + extern const char* cachedLanguage(const TQCString &name) TDE_EXPORT; /** checks whether @p s contains any non-us-ascii characters */ - extern bool isUsAscii(const TQString &s) KDE_EXPORT; + extern bool isUsAscii(const TQString &s) TDE_EXPORT; inline bool isOfSet(const uchar map[16], unsigned char ch) { Q_ASSERT( ch < 128 ); @@ -75,14 +75,14 @@ namespace KMime { @return the decoded string. */ extern TQString decodeRFC2047String(const TQCString &src, const char **usedCS, - const TQCString &defaultCS, bool forceCS) KDE_EXPORT; + const TQCString &defaultCS, bool forceCS) TDE_EXPORT; /** Decode string @p src according to RFC2047 (ie. the =?charset?[qb]?encoded?= construct). @param src source string. @return the decoded string. */ - extern TQString decodeRFC2047String(const TQCString &src) KDE_EXPORT; + extern TQString decodeRFC2047String(const TQCString &src) TDE_EXPORT; /** Encode string @p src according to RFC2047 using charset @p charset. @@ -95,7 +95,7 @@ namespace KMime { @return the encoded string. */ extern TQCString encodeRFC2047String(const TQString &src, const char *charset, - bool addressHeader=false, bool allow8bitHeaders=false) KDE_EXPORT; + bool addressHeader=false, bool allow8bitHeaders=false) TDE_EXPORT; /** Uses current time, pid and random numbers to construct a string that aims to be unique on a per-host basis (ie. for the local @@ -103,7 +103,7 @@ namespace KMime { @return the unique string. @see multiPartBoundary */ - extern TQCString uniqueString() KDE_EXPORT; + extern TQCString uniqueString() TDE_EXPORT; /** Constructs a random string (sans leading/trailing "--") that can be used as a multipart delimiter (ie. as @p boundary parameter @@ -111,7 +111,7 @@ namespace KMime { @return the randomized string. @see uniqueString */ - extern TQCString multiPartBoundary() KDE_EXPORT; + extern TQCString multiPartBoundary() TDE_EXPORT; /** Tries to extract the header with name @p name from the string @p src, unfolding it if necessary. @@ -120,7 +120,7 @@ namespace KMime { @return the first instance of the header @p name in @p src or a null TQCString if no such header was found. */ - extern TQCString extractHeader(const TQCString &src, const char *name) KDE_EXPORT; + extern TQCString extractHeader(const TQCString &src, const char *name) TDE_EXPORT; /** Converts all occurrences of "\r\n" (CRLF) in @p s to "\n" (LF). This function is expensive and should be used only if the mail @@ -130,7 +130,7 @@ namespace KMime { @return the string with CRLF's substitued for LF's @see CRLFtoLF(const char*) LFtoCRLF */ - extern TQCString CRLFtoLF(const TQCString &s) KDE_EXPORT; + extern TQCString CRLFtoLF(const TQCString &s) TDE_EXPORT; /** Converts all occurrences of "\r\n" (CRLF) in @p s to "\n" (LF). This function is expensive and should be used only if the mail @@ -140,7 +140,7 @@ namespace KMime { @return the string with CRLF's substitued for LF's @see CRLFtoLF(const TQCString&) LFtoCRLF */ - extern TQCString CRLFtoLF(const char *s) KDE_EXPORT; + extern TQCString CRLFtoLF(const char *s) TDE_EXPORT; /** Converts all occurrences of "\n" (LF) in @p s to "\r\n" (CRLF). This function is expensive and should be used only if the mail @@ -152,27 +152,27 @@ namespace KMime { @return the string with CRLF's substitued for LF's @see CRLFtoLF(const TQCString&) LFtoCRLF */ - extern TQCString LFtoCRLF(const TQCString &s) KDE_EXPORT; + extern TQCString LFtoCRLF(const TQCString &s) TDE_EXPORT; /** Removes quote (DQUOTE) characters and decodes "quoted-pairs" (ie. backslash-escaped characters) @param str the string to work on. @see addQuotes */ - KDE_EXPORT extern void removeQuots(TQCString &str); + TDE_EXPORT extern void removeQuots(TQCString &str); /** Removes quote (DQUOTE) characters and decodes "quoted-pairs" (ie. backslash-escaped characters) @param str the string to work on. @see addQuotes */ - KDE_EXPORT extern void removeQuots(TQString &str); + TDE_EXPORT extern void removeQuots(TQString &str); /** Converts the given string into a quoted-string if the string contains any special characters (ie. one of ()<>@,.;:[]=\"). @param str us-ascii string to work on. @param forceQuotes if @p true, always add quote characters. */ - KDE_EXPORT extern void addQuotes(TQCString &str, bool forceQuotes); + TDE_EXPORT extern void addQuotes(TQCString &str, bool forceQuotes); /** @@ -191,7 +191,7 @@ namespace KMime { * * */ - class KDE_EXPORT DateFormatter { + class TDE_EXPORT DateFormatter { public: enum FormatType { CTime, //< ctime "Sun Mar 31 02:08:35 2002" |