#include <kexisearchandreplaceiface.h>
Classes | |
| class | Options |
Public Member Functions | |
| virtual bool | setupFindAndReplace (TQStringList &columnNames, TQStringList &columnCaptions, TQString ¤tColumnName)=0 |
| virtual tristate | find (const TQVariant &valueToFind, const KexiSearchAndReplaceViewInterface::Options &options, bool next)=0 |
| virtual tristate | findNextAndReplace (const TQVariant &valueToFind, const TQVariant &replacement, const KexiSearchAndReplaceViewInterface::Options &options, bool replaceAll)=0 |
Detailed Description
An interface used by Kexi views (KexiViewBase) supporting search/replace features.
Definition at line 29 of file kexisearchandreplaceiface.h.
Constructor & Destructor Documentation
◆ KexiSearchAndReplaceViewInterface()
| KexiSearchAndReplaceViewInterface::KexiSearchAndReplaceViewInterface | ( | ) |
Definition at line 22 of file kexisearchandreplaceiface.cpp.
◆ ~KexiSearchAndReplaceViewInterface()
|
virtual |
Definition at line 26 of file kexisearchandreplaceiface.cpp.
Member Function Documentation
◆ find()
|
pure virtual |
Finds valueToFind within the view. options are used to control the process. Selection is moved to found value.
- Returns
- 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 next is true, "find next" is performed, else "find previous" is performed.
Implemented in KexiDataAwareView.
◆ findNextAndReplace()
|
pure virtual |
Finds valueToFind within the view and replaces with replacement options are used to control the process.
- Returns
- true if value has been found and replaced, false if value 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 replaceAll is true, all found values are replaced.
Implemented in KexiDataAwareView.
◆ setupFindAndReplace()
|
pure virtual |
Sets up data for find/replace dialog, based on view's data model. columnNames should contain column name, columnCaptions should contain column captions, and currentColumnName should beset to current column's name. Implementation should set up values and return true if find/replace dialog should be filled.
Implemented in KexiDataAwareView.
The documentation for this class was generated from the following files:
