summaryrefslogtreecommitdiffstats
path: root/libkdepim/qutf7codecplugin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /libkdepim/qutf7codecplugin.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/qutf7codecplugin.cpp')
-rw-r--r--libkdepim/qutf7codecplugin.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/libkdepim/qutf7codecplugin.cpp b/libkdepim/qutf7codecplugin.cpp
index 54fb68c56..0564b4142 100644
--- a/libkdepim/qutf7codecplugin.cpp
+++ b/libkdepim/qutf7codecplugin.cpp
@@ -1,7 +1,7 @@
/*
qutf7codecplugin.cpp
- A QTextCodec for UTF-7 (rfc2152).
+ A TQTextCodec for UTF-7 (rfc2152).
Copyright (c) 2001 Marc Mutz <mutz@kde.org>
See file COPYING for details
@@ -24,26 +24,26 @@
#include "qutf7codec.h"
-#include <qtextcodecplugin.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qvaluelist.h>
+#include <tqtextcodecplugin.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqvaluelist.h>
class QTextCodec;
// ######### This file isn't compiled currently
-class QUtf7CodecPlugin : public QTextCodecPlugin {
+class QUtf7CodecPlugin : public TQTextCodecPlugin {
public:
QUtf7CodecPlugin() {}
- QStringList names() const { return QStringList() << "UTF-7" << "X-QT-UTF-7-STRICT"; }
- QValueList<int> mibEnums() const { return QValueList<int>() << 1012 << -1012; }
- QTextCodec * createForMib( int );
- QTextCodec * createForName( const QString & );
+ TQStringList names() const { return TQStringList() << "UTF-7" << "X-QT-UTF-7-STRICT"; }
+ TQValueList<int> mibEnums() const { return TQValueList<int>() << 1012 << -1012; }
+ TQTextCodec * createForMib( int );
+ TQTextCodec * createForName( const TQString & );
};
-QTextCodec * QUtf7CodecPlugin::createForMib( int mib ) {
+TQTextCodec * QUtf7CodecPlugin::createForMib( int mib ) {
if ( mib == 1012 )
return new QUtf7Codec();
else if ( mib == -1012 )
@@ -51,7 +51,7 @@ QTextCodec * QUtf7CodecPlugin::createForMib( int mib ) {
return 0;
}
-QTextCodec * QUtf7CodecPlugin::createForName( const QString & name ) {
+TQTextCodec * QUtf7CodecPlugin::createForName( const TQString & name ) {
if ( name == "UTF-7" )
return new QUtf7Codec();
else if ( name == "X-QT-UTF-7-STRICT" )