summaryrefslogtreecommitdiffstats
path: root/libkdepim/qutf7codecplugin.cpp
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 /libkdepim/qutf7codecplugin.cpp
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 '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 27b706820..49eb92c8f 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 );