summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h')
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
index d948bbd4..d884f233 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
@@ -15,11 +15,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. *
@@ -67,7 +67,7 @@ class SearchEntry
int rules;
};
-class KeyAndScore : public QString
+class KeyAndScore : public TQString
{
public:
KeyAndScore();
@@ -94,11 +94,12 @@ class CatalogDescription
class KDBSearchEngine : public SearchEngine
{
Q_OBJECT
+ TQ_OBJECT
public:
- KDBSearchEngine(TQObject *parent=0,const char *name=0);
+ KDBSearchEngine(TQObject *tqparent=0,const char *name=0);
~KDBSearchEngine();
enum Rules {Equal = 1, Contains = 2, Contained = 4, RegExp = 8};
enum FormatRules { Dots = 1, Ampersand = 2, FirstWordUpper = 4, //Not yet used
@@ -163,7 +164,7 @@ public:
/*
Sets the rules to decide when 2 string match (Uppercase and remove char
are not set here)
- 1 = EQUAL
+ 1 = ETQUAL
2 = SEARCH STRING IS CONTAINED IN DATABASE STRING (use with care, if you search nothing
it will produce a dangerouse output)
4 = DATABASE STRING IS CONTAINED IN SEARCH STRING (it exclude msgid "")
@@ -193,7 +194,7 @@ public:
virtual void saveSettings(KConfigBase *config);
virtual void readSettings(KConfigBase *config);
- virtual PrefWidget *preferencesWidget(TQWidget *parent);
+ virtual PrefWidget *preferencesWidget(TQWidget *tqparent);
virtual const KAboutData *about() const;