summaryrefslogtreecommitdiffstats
path: root/kbabel/common/catalogfileplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/common/catalogfileplugin.h')
-rw-r--r--kbabel/common/catalogfileplugin.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/kbabel/common/catalogfileplugin.h b/kbabel/common/catalogfileplugin.h
index 77b760e8..ea7cc245 100644
--- a/kbabel/common/catalogfileplugin.h
+++ b/kbabel/common/catalogfileplugin.h
@@ -20,11 +20,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this program with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -50,7 +50,7 @@ class CatalogExportPluginPrivate;
/**
* Result of the conversion
*/
-enum ConversionStatus {
+enum ConversiontqStatus {
OK,
NOT_IMPLEMENTED,
NO_FILE,
@@ -79,12 +79,13 @@ enum ConversionStatus {
* @short Base class for Catalog import plugins
* @author Stanislav Visnovsky <visnovsky@kde.org>
*/
-class KDE_EXPORT CatalogImportPlugin: public QObject
+class KDE_EXPORT CatalogImportPlugin: public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- CatalogImportPlugin(TQObject* parent, const char* name);
+ CatalogImportPlugin(TQObject* tqparent, const char* name);
virtual ~CatalogImportPlugin();
/**
@@ -96,7 +97,7 @@ public:
* @param catalog the catalog to be filled
* @return result of the operation
*/
- ConversionStatus open(const TQString& file, const TQString& mimetype, Catalog* catalog);
+ ConversiontqStatus open(const TQString& file, const TQString& mimetype, Catalog* catalog);
/**
* Reimplement this method to load the local file passed as an argument.
@@ -108,7 +109,7 @@ public:
* @param file file to be loaded
* @param mimetype the expected MIME type (the type used for plugin selection
*/
- virtual ConversionStatus load(const TQString& file, const TQString& mimetype) = 0;
+ virtual ConversiontqStatus load(const TQString& file, const TQString& mimetype) = 0;
/**
* Reimplement this method to return unique identification of your plugin
*/
@@ -174,14 +175,15 @@ private:
* @short Base class for Catalog export plugins
* @author Stanislav Visnovsky <visnovsky@kde.org>
*/
-class KDE_EXPORT CatalogExportPlugin: public QObject
+class KDE_EXPORT CatalogExportPlugin: public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- CatalogExportPlugin(TQObject* parent, const char* name);
+ CatalogExportPlugin(TQObject* tqparent, const char* name);
virtual ~CatalogExportPlugin();
- virtual ConversionStatus save(const TQString& file, const TQString& mimetype, const Catalog* catalog) = 0;
+ virtual ConversiontqStatus save(const TQString& file, const TQString& mimetype, const Catalog* catalog) = 0;
static TQStringList availableExportMimeTypes();