From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kexi/core/kexisearchandreplaceiface.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kexi/core/kexisearchandreplaceiface.h') diff --git a/kexi/core/kexisearchandreplaceiface.h b/kexi/core/kexisearchandreplaceiface.h index f17d8358..f581de34 100644 --- a/kexi/core/kexisearchandreplaceiface.h +++ b/kexi/core/kexisearchandreplaceiface.h @@ -21,9 +21,9 @@ #define KexiSearchAndReplaceViewInterface_H #include -#include -class QVariant; -class QStringList; +#include +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; }; -- cgit v1.2.1