summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h')
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h
index bc88a92e..ce2692a1 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h
@@ -37,52 +37,52 @@
#include <kurl.h>
-#include <qdict.h>
-#include <qobject.h>
-#include <qstringlist.h>
-#include <qvaluelist.h>
-#include <qvaluevector.h>
-#include <qptrlist.h>
+#include <tqdict.h>
+#include <tqobject.h>
+#include <tqstringlist.h>
+#include <tqvaluelist.h>
+#include <tqvaluevector.h>
+#include <tqptrlist.h>
class TmxCompendiumData : public QObject
{
Q_OBJECT
public:
- TmxCompendiumData(QObject *parent=0);
+ TmxCompendiumData(TQObject *parent=0);
- bool load(const KURL& url, const QString& language);
+ bool load(const KURL& url, const TQString& language);
- const int *exactDict(const QString& text) const;
- const QValueList<int> *allDict(const QString& text) const;
- const QValueList<int> *wordDict(const QString& text) const;
+ const int *exactDict(const TQString& text) const;
+ const TQValueList<int> *allDict(const TQString& text) const;
+ const TQValueList<int> *wordDict(const TQString& text) const;
- const QString msgid(const int index) const;
- const QString msgstr(const int index) const;
+ const TQString msgid(const int index) const;
+ const TQString msgstr(const int index) const;
const int numberOfEntries() const { return _exactDict.count(); }
bool active() const { return _active; }
bool initialized() const { return _initialized; }
bool hasErrors() const { return _error; }
- QString errorMsg() const { return _errorMsg; }
+ TQString errorMsg() const { return _errorMsg; }
/** registers an object, that uses this data */
- void registerObject(QObject *);
+ void registerObject(TQObject *);
/**
* unregisters an object, that uses this data
*
* @return true, if this was the last object
*/
- bool unregisterObject(QObject *);
+ bool unregisterObject(TQObject *);
bool hasObjects() const;
- static QString simplify(const QString& text);
- static QStringList wordList(const QString& text);
+ static TQString simplify(const TQString& text);
+ static TQStringList wordList(const TQString& text);
signals:
- void progressStarts(const QString&);
+ void progressStarts(const TQString&);
void progressEnds();
void progress(int);
@@ -91,16 +91,16 @@ private:
bool _active;
bool _error;
bool _initialized;
- QString _errorMsg;
+ TQString _errorMsg;
- QDict<int> _exactDict;
- QDict< QValueList<int> > _allDict;
- QDict< QValueList<int> > _wordDict;
+ TQDict<int> _exactDict;
+ TQDict< TQValueList<int> > _allDict;
+ TQDict< TQValueList<int> > _wordDict;
- QValueVector<QString> _originals;
- QValueVector<QString> _translations;
+ TQValueVector<TQString> _originals;
+ TQValueVector<TQString> _translations;
- QPtrList<QObject> _registered;
+ TQPtrList<TQObject> _registered;
};
#endif