summaryrefslogtreecommitdiffstats
path: root/libkdepim/qutf7codecplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/qutf7codecplugin.cpp')
-rw-r--r--libkdepim/qutf7codecplugin.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkdepim/qutf7codecplugin.cpp b/libkdepim/qutf7codecplugin.cpp
index 27b70682..49eb92c8 100644
--- a/libkdepim/qutf7codecplugin.cpp
+++ b/libkdepim/qutf7codecplugin.cpp
@@ -15,7 +15,7 @@
02110-1301, US
As a special exception, permission is granted to use this plugin
- with any version of Qt by TrollTech AS, Norway. In this case, the
+ with any version of TQt by TrollTech AS, Norway. In this case, the
use of this plugin doesn't cause the resulting executable to be
covered by the GNU General Public License.
This exception does not however tqinvalidate any other reasons why the
@@ -33,9 +33,9 @@ class TQTextCodec;
// ######### This file isn't compiled currently
-class QUtf7CodecPlugin : public TQTextCodecPlugin {
+class TQUtf7CodecPlugin : public TQTextCodecPlugin {
public:
- QUtf7CodecPlugin() {}
+ TQUtf7CodecPlugin() {}
TQStringList names() const { return TQStringList() << "UTF-7" << "X-QT-UTF-7-STRICT"; }
TQValueList<int> mibEnums() const { return TQValueList<int>() << 1012 << -1012; }
@@ -43,20 +43,20 @@ public:
TQTextCodec * createForName( const TQString & );
};
-TQTextCodec * QUtf7CodecPlugin::createForMib( int mib ) {
+TQTextCodec * TQUtf7CodecPlugin::createForMib( int mib ) {
if ( mib == 1012 )
- return new QUtf7Codec();
+ return new TQUtf7Codec();
else if ( mib == -1012 )
- return new QStrictUtf7Codec();
+ return new TQStrictUtf7Codec();
return 0;
}
-TQTextCodec * QUtf7CodecPlugin::createForName( const TQString & name ) {
+TQTextCodec * TQUtf7CodecPlugin::createForName( const TQString & name ) {
if ( name == "UTF-7" )
- return new QUtf7Codec();
+ return new TQUtf7Codec();
else if ( name == "X-QT-UTF-7-STRICT" )
- return new QStrictUtf7Codec();
+ return new TQStrictUtf7Codec();
return 0;
}
-KDE_Q_EXPORT_PLUGIN( QUtf7CodecPlugin );
+KDE_TQ_EXPORT_PLUGIN( TQUtf7CodecPlugin );