summaryrefslogtreecommitdiffstats
path: root/libkdepim/qutf7codecplugin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:57:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:57:02 -0600
commit2c2fbd828ca474671bb9e03681b30b115d8d6035 (patch)
tree526a9da418f8d3d7ccf515c37048d3dfc80f2843 /libkdepim/qutf7codecplugin.cpp
parentf0610eece3676b6fe99f42cf4ef2b19a39a5c4e8 (diff)
downloadtdepim-2c2fbd828ca474671bb9e03681b30b115d8d6035.tar.gz
tdepim-2c2fbd828ca474671bb9e03681b30b115d8d6035.zip
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'libkdepim/qutf7codecplugin.cpp')
-rw-r--r--libkdepim/qutf7codecplugin.cpp62
1 files changed, 0 insertions, 62 deletions
diff --git a/libkdepim/qutf7codecplugin.cpp b/libkdepim/qutf7codecplugin.cpp
deleted file mode 100644
index 49eb92c8f..000000000
--- a/libkdepim/qutf7codecplugin.cpp
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- qutf7codecplugin.cpp
-
- A TQTextCodec for UTF-7 (rfc2152).
- Copyright (c) 2001 Marc Mutz <mutz@kde.org>
- See file COPYING for details
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License, version 2.0,
- as published by the Free Software Foundation.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
- 02110-1301, US
-
- As a special exception, permission is granted to use this plugin
- 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
- executable file might be covered by the GNU General Public License.
-*/
-
-#include "qutf7codec.h"
-
-#include <tqtextcodecplugin.h>
-#include <tqstring.h>
-#include <tqstringlist.h>
-#include <tqvaluelist.h>
-
-class TQTextCodec;
-
-// ######### This file isn't compiled currently
-
-class TQUtf7CodecPlugin : public TQTextCodecPlugin {
-public:
- TQUtf7CodecPlugin() {}
-
- 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 & );
-};
-
-TQTextCodec * TQUtf7CodecPlugin::createForMib( int mib ) {
- if ( mib == 1012 )
- return new TQUtf7Codec();
- else if ( mib == -1012 )
- return new TQStrictUtf7Codec();
- return 0;
-}
-
-TQTextCodec * TQUtf7CodecPlugin::createForName( const TQString & name ) {
- if ( name == "UTF-7" )
- return new TQUtf7Codec();
- else if ( name == "X-QT-UTF-7-STRICT" )
- return new TQStrictUtf7Codec();
- return 0;
-}
-
-KDE_TQ_EXPORT_PLUGIN( TQUtf7CodecPlugin );