diff options
Diffstat (limited to 'kbabel/kbabeldict/modules/pocompendium/compendiumdata.h')
-rw-r--r-- | kbabel/kbabeldict/modules/pocompendium/compendiumdata.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.h b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.h index 2fec45cb..d5668b4a 100644 --- a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.h +++ b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.h @@ -35,11 +35,11 @@ #include <kurl.h> -#include <qdict.h> -#include <qobject.h> -#include <qstringlist.h> -#include <qvaluelist.h> -#include <qptrlist.h> +#include <tqdict.h> +#include <tqobject.h> +#include <tqstringlist.h> +#include <tqvaluelist.h> +#include <tqptrlist.h> namespace KBabel { @@ -51,38 +51,38 @@ class CompendiumData : public QObject Q_OBJECT public: - CompendiumData(QObject *parent=0); + CompendiumData(TQObject *parent=0); bool load(KURL url); const KBabel::Catalog *catalog() const { return _catalog; } - const int *exactDict(const QString text) const; - const QValueList<int> *allDict(const QString text) const; - const QValueList<int> *wordDict(const QString text) const; - const QValueList<int> *textonlyDict(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 TQValueList<int> *textonlyDict(const TQString text) const; 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,15 +91,15 @@ private: bool _active; bool _error; bool _initialized; - QString _errorMsg; + TQString _errorMsg; KBabel::Catalog *_catalog; - QDict<int> _exactDict; - QDict< QValueList<int> > _allDict; - QDict< QValueList<int> > _wordDict; - QDict< QValueList<int> > _textonlyDict; + TQDict<int> _exactDict; + TQDict< TQValueList<int> > _allDict; + TQDict< TQValueList<int> > _wordDict; + TQDict< TQValueList<int> > _textonlyDict; - QPtrList<QObject> _registered; + TQPtrList<TQObject> _registered; }; #endif |