summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/tmx/tmxcompendium.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/modules/tmx/tmxcompendium.h')
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.h b/kbabel/kbabeldict/modules/tmx/tmxcompendium.h
index 9a2f8fba..21270799 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.h
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.h
@@ -39,9 +39,9 @@
#include "tmxcompendiumdata.h"
#include "searchengine.h"
-#include <qdict.h>
-#include <qfile.h>
-#include <qguardedptr.h>
+#include <tqdict.h>
+#include <tqfile.h>
+#include <tqguardedptr.h>
class TmxCompendiumPreferencesWidget;
class KConfigBase;
@@ -52,34 +52,34 @@ class TmxCompendium : public SearchEngine
Q_OBJECT
public:
- TmxCompendium(QObject *parent=0, const char *name=0);
+ TmxCompendium(TQObject *parent=0, const char *name=0);
virtual ~TmxCompendium();
virtual bool isReady() const;
- virtual QString translate(const QString& text, uint pluralForm);
- virtual QString fuzzyTranslation(const QString& text, int &score, uint pluralForm);
+ virtual TQString translate(const TQString& text, uint pluralForm);
+ virtual TQString fuzzyTranslation(const TQString& text, int &score, uint pluralForm);
virtual bool isSearching() const;
virtual void saveSettings(KConfigBase *config);
virtual void readSettings(KConfigBase *config);
- virtual PrefWidget *preferencesWidget(QWidget *parent);
+ virtual PrefWidget *preferencesWidget(TQWidget *parent);
virtual const KAboutData *about() const;
- virtual QString name() const;
+ virtual TQString name() const;
- virtual QString id() const;
+ virtual TQString id() const;
- virtual QString lastError();
+ virtual TQString lastError();
public slots:
- virtual bool startSearch(const QString& text, uint pluralForm, const SearchFilter* filter);
+ virtual bool startSearch(const TQString& text, uint pluralForm, const SearchFilter* filter);
virtual void stopSearch();
- virtual void setLanguageCode(const QString& lang);
+ virtual void setLanguageCode(const TQString& lang);
protected slots:
/** reads the current settings from the preferences dialog */
@@ -96,19 +96,19 @@ protected slots:
protected:
void loadCompendium();
void addResult(SearchResult *);
- QString maskString(QString string) const;
+ TQString maskString(TQString string) const;
void registerData();
void unregisterData();
private:
- QGuardedPtr<TmxCompendiumPreferencesWidget> prefWidget;
+ TQGuardedPtr<TmxCompendiumPreferencesWidget> prefWidget;
TmxCompendiumData *data;
- QTimer *loadTimer;
+ TQTimer *loadTimer;
- QString url;
- QString realURL;
- QString langCode;
+ TQString url;
+ TQString realURL;
+ TQString langCode;
bool caseSensitive;
bool wholeWords;
@@ -123,15 +123,15 @@ private:
uint freeMemDelay;
bool error;
- QString errorMsg;
+ TQString errorMsg;
bool stop;
bool active;
bool initialized;
bool loading;
- static QDict<TmxCompendiumData> *_compDict;
- static QDict<TmxCompendiumData> *compendiumDict();
+ static TQDict<TmxCompendiumData> *_compDict;
+ static TQDict<TmxCompendiumData> *compendiumDict();
};
#endif