summaryrefslogtreecommitdiffstats
path: root/libkdepim/qutf7codecplugin.cpp
diff options
context:
space:
mode:
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 <[email protected]>
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" )