summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexisearchandreplaceiface.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/core/kexisearchandreplaceiface.h')
-rw-r--r--kexi/core/kexisearchandreplaceiface.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/core/kexisearchandreplaceiface.h b/kexi/core/kexisearchandreplaceiface.h
index f17d83587..f581de34e 100644
--- a/kexi/core/kexisearchandreplaceiface.h
+++ b/kexi/core/kexisearchandreplaceiface.h
@@ -21,9 +21,9 @@
#define KexiSearchAndReplaceViewInterface_H
#include <kexiutils/tristate.h>
-#include <qstring.h>
-class QVariant;
-class QStringList;
+#include <tqstring.h>
+class TQVariant;
+class TQStringList;
//! @short An interface used by Kexi views (KexiViewBase) supporting search/replace features
class KEXICORE_EXPORT KexiSearchAndReplaceViewInterface
@@ -78,19 +78,19 @@ class KEXICORE_EXPORT KexiSearchAndReplaceViewInterface
bool promptOnReplace : 1;
};
- /*! Sets up data for find/replace dialog, based on view's data model.
+ /*! Sets up data for tqfind/replace dialog, based on view's data model.
\a columnNames should contain column name, \a columnCaptions should contain column captions,
and \a currentColumnName should beset to current column's name.
- Implementation should set up values and return true if find/replace dialog should be filled. */
- virtual bool setupFindAndReplace(QStringList& columnNames, QStringList& columnCaptions,
- QString& currentColumnName) = 0;
+ Implementation should set up values and return true if tqfind/replace dialog should be filled. */
+ virtual bool setupFindAndReplace(TQStringList& columnNames, TQStringList& columnCaptions,
+ TQString& currentColumnName) = 0;
/*! Finds \a valueToFind within the view.
\a options are used to control the process. Selection is moved to found value.
\return true if value has been found, false if value has not been found,
and cancelled if there is nothing to find or there is no data to search in.
If \a next is true, "find next" is performed, else "find previous" is performed. */
- virtual tristate find(const QVariant& valueToFind,
+ virtual tristate tqfind(const TQVariant& valueToFind,
const KexiSearchAndReplaceViewInterface::Options& options, bool next) = 0;
/*! Finds \a valueToFind within the view and replaces with \a replacement
@@ -99,7 +99,7 @@ class KEXICORE_EXPORT KexiSearchAndReplaceViewInterface
has not been found and replaced, and cancelled if there is nothing
to find or there is no data to search in or the data is read only.
If \a replaceAll is true, all found values are replaced. */
- virtual tristate findNextAndReplace(const QVariant& valueToFind, const QVariant& replacement,
+ virtual tristate findNextAndReplace(const TQVariant& valueToFind, const TQVariant& replacement,
const KexiSearchAndReplaceViewInterface::Options& options, bool replaceAll) = 0;
};