summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h')
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h b/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h
index aa049f85..e2c5db67 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h
@@ -16,9 +16,10 @@
#include "chunk.h"
#include <tqobject.h>
-class AbstractSearchAlgorithm : public QObject
+class AbstractSearchAlgorithm : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
typedef TQValueList<QueryResult> ResultList;
@@ -47,6 +48,7 @@ class AbstractSearchAlgorithm : public QObject
class ExactSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
ExactSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets) : AbstractSearchAlgorithm(dbi,sets) {}
@@ -56,6 +58,7 @@ class ExactSearchAlgorithm : public AbstractSearchAlgorithm
class AlphaSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
AlphaSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets) : AbstractSearchAlgorithm(dbi,sets) {}
@@ -65,6 +68,7 @@ class AlphaSearchAlgorithm : public AbstractSearchAlgorithm
class SentenceArchiveSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
SentenceArchiveSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets) ;
@@ -74,6 +78,7 @@ class SentenceArchiveSearchAlgorithm : public AbstractSearchAlgorithm
class ChunkByChunkSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
ChunkByChunkSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets);
@@ -90,6 +95,7 @@ class ChunkByChunkSearchAlgorithm : public AbstractSearchAlgorithm
class FuzzyChunkSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
FuzzyChunkSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets);
@@ -105,6 +111,7 @@ class FuzzyChunkSearchAlgorithm : public AbstractSearchAlgorithm
class GenericSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
GenericSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets) ;
@@ -123,6 +130,7 @@ class GenericSearchAlgorithm : public AbstractSearchAlgorithm
class CorrelationSearchAlgorithm : public AbstractSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
CorrelationSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets) : AbstractSearchAlgorithm(dbi,sets) {}
virtual ResultList exec(const TQString& query);
@@ -133,6 +141,7 @@ class CorrelationSearchAlgorithm : public AbstractSearchAlgorithm
class SingleWordSearchAlgorithm : public GenericSearchAlgorithm
{
Q_OBJECT
+ TQ_OBJECT
public:
SingleWordSearchAlgorithm(DataBaseInterface *dbi,DBSESettings *sets);
virtual DataBaseInterface::ResultList exec(const TQString& query);