summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /kbabel/kbabeldict/modules/dbsearchengine2/algorithms.h
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);