summaryrefslogtreecommitdiffstats
path: root/libkmime/kmime_codecs.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkmime/kmime_codecs.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
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
Diffstat (limited to 'libkmime/kmime_codecs.h')
-rw-r--r--libkmime/kmime_codecs.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkmime/kmime_codecs.h b/libkmime/kmime_codecs.h
index 211867bca..b60d8bb8d 100644
--- a/libkmime/kmime_codecs.h
+++ b/libkmime/kmime_codecs.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.
@@ -33,11 +33,11 @@
#define __KMIME_CODECS__
#include <tqasciidict.h>
-#if defined(QT_THREAD_SUPPORT)
+#if defined(TQT_THREAD_SUPPORT)
# include <tqmutex.h>
#endif
-#include <tqcstring.h> // QByteArray
+#include <tqcstring.h> // TQByteArray
#include <kdebug.h> // for kdFatal()
#include <kdepimmacros.h>
@@ -58,7 +58,7 @@ class KDE_EXPORT Codec {
protected:
static TQAsciiDict<Codec>* all;
-#if defined(QT_THREAD_SUPPORT)
+#if defined(TQT_THREAD_SUPPORT)
static TQMutex* dictLock;
#endif
@@ -87,7 +87,7 @@ public:
* This function doesn't support chaining of blocks. The returned
* block cannot be added to, but you don't need to finalize it, too.
*
- * Example usage (@p in tqcontains the input data):
+ * Example usage (@p in contains the input data):
* <pre>
* KMime::Codec * codec = KMime::Codec::codecForName( "base64" );
* kdFatal( !codec ) << "no base64 codec found!?" << endl;
@@ -123,7 +123,7 @@ public:
* This function doesn't support chaining of blocks. The returned
* block cannot be added to, but you don't need to finalize it, too.
*
- * Example usage (@p in tqcontains the input data):
+ * Example usage (@p in contains the input data):
* <pre>
* KMime::Codec * codec = KMime::Codec::codecForName( "base64" );
* kdFatal( !codec ) << "no base64 codec found!?" << endl;
@@ -168,7 +168,7 @@ public:
* domain (ie. not in the binary domain). Codecs that do not fall
* into this category will return a null TQCString.
**/
- virtual TQCString encodeToQCString( const TQByteArray & src, bool withCRLF=false ) const;
+ virtual TQCString encodeToTQCString( const TQByteArray & src, bool withCRLF=false ) const;
/**
* Even more convenient, but also a bit slower and more memory
@@ -230,7 +230,7 @@ public:
* the output and then delete the decoder instance. If you want to
* process another input block sequence, you create a new instance.
*
- * Typical usage (@p in tqcontains the (base64-encoded) input data),
+ * Typical usage (@p in contains the (base64-encoded) input data),
* taking into account all the conventions detailed above:
*
* <pre>