diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
commit | 4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch) | |
tree | b0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbabel/common/catalogfileplugin.h | |
parent | 1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff) | |
download | tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/common/catalogfileplugin.h')
-rw-r--r-- | kbabel/common/catalogfileplugin.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kbabel/common/catalogfileplugin.h b/kbabel/common/catalogfileplugin.h index f47e0d89..caa94c17 100644 --- a/kbabel/common/catalogfileplugin.h +++ b/kbabel/common/catalogfileplugin.h @@ -32,7 +32,7 @@ #ifndef IMPORTPLUGIN_H #define IMPORTPLUGIN_H -#include <qobject.h> +#include <tqobject.h> #include <kdemacros.h> @@ -84,7 +84,7 @@ class KDE_EXPORT CatalogImportPlugin: public QObject Q_OBJECT public: - CatalogImportPlugin(QObject* parent, const char* name); + CatalogImportPlugin(TQObject* parent, const char* name); virtual ~CatalogImportPlugin(); /** @@ -96,7 +96,7 @@ public: * @param catalog the catalog to be filled * @return result of the operation */ - ConversionStatus open(const QString& file, const QString& mimetype, Catalog* catalog); + ConversionStatus open(const TQString& file, const TQString& mimetype, Catalog* catalog); /** * Reimplement this method to load the local file passed as an argument. @@ -108,16 +108,16 @@ public: * @param file file to be loaded * @param mimetype the expected MIME type (the type used for plugin selection */ - virtual ConversionStatus load(const QString& file, const QString& mimetype) = 0; + virtual ConversionStatus load(const TQString& file, const TQString& mimetype) = 0; /** * Reimplement this method to return unique identification of your plugin */ - virtual const QString id() = 0; + virtual const TQString id() = 0; /** @return the list of all available MIME types for which there * is a import plugin. */ - static QStringList availableImportMimeTypes(); + static TQStringList availableImportMimeTypes(); public slots: /** stop the current operation */ @@ -133,17 +133,17 @@ protected: /** set flag that the file is generated from DocBook */ void setGeneratedFromDocbook(const bool fromDocbook); /** set the list of parse error indexes */ - void setErrorIndex(const QValueList<uint>& errors); + void setErrorIndex(const TQValueList<uint>& errors); /** set the file codec */ - void setFileCodec(QTextCodec* codec); + void setFileCodec(TQTextCodec* codec); /** set extra data for the catalog, which can't be stored in * @ref CatalogItem. The format can be arbitrary */ - void setCatalogExtraData( const QStringList& data ); + void setCatalogExtraData( const TQStringList& data ); /** set the header catalog item */ void setHeader( const CatalogItem& header ); /** set the MIME types which can be used for this catalog */ - void setMimeTypes( const QString& catalog ); + void setMimeTypes( const TQString& catalog ); /** start a new transaction. You should never call this method. */ void startTransaction(); @@ -155,7 +155,7 @@ protected: signals: /** Signal start of the operation */ - void signalResetProgressBar(QString,int); + void signalResetProgressBar(TQString,int); /** Signal progress of the operation */ void signalProgress(int); /** Signal end of the operation */ @@ -179,11 +179,11 @@ class KDE_EXPORT CatalogExportPlugin: public QObject Q_OBJECT public: - CatalogExportPlugin(QObject* parent, const char* name); + CatalogExportPlugin(TQObject* parent, const char* name); virtual ~CatalogExportPlugin(); - virtual ConversionStatus save(const QString& file, const QString& mimetype, const Catalog* catalog) = 0; + virtual ConversionStatus save(const TQString& file, const TQString& mimetype, const Catalog* catalog) = 0; - static QStringList availableExportMimeTypes(); + static TQStringList availableExportMimeTypes(); public slots: void stop(); @@ -192,7 +192,7 @@ protected: bool isStopped() const; signals: - void signalResetProgressBar(QString,int); + void signalResetProgressBar(TQString,int); void signalProgress(int); void signalClearProgressBar(); |