kexi

KexiSearchAndReplaceViewInterface::Options Class Reference

#include <kexisearchandreplaceiface.h>

List of all members.


Detailed Description

Specifies options for find and replace operations.

A GUI for setting these options is provided by KexiFindDialog class.

Definition at line 37 of file kexisearchandreplaceiface.h.


Public Types

enum  SpecialLookInValue { AllColumns = -1, CurrentColumn = -2 }
enum  TextMatching { MatchAnyPartOfField = 0, MatchWholeField = 1, MatchStartOfField = 2 }
enum  SearchDirection { SearchUp = 0, SearchDown = 1, SearchAllRows = 2, DefaultSearchDirection = SearchDown }

Public Attributes

int columnNumber
TextMatching textMatching
SearchDirection searchDirection
bool caseSensitive: 1
bool wholeWordsOnly: 1
bool promptOnReplace: 1

Member Enumeration Documentation

Special values for columnNumber.

Enumerator:
AllColumns  "all columns" (the default)
CurrentColumn  "current column"

Definition at line 42 of file kexisearchandreplaceiface.h.

Specifies possible options for text matching.

Enumerator:
MatchAnyPartOfField  Matched text can be any part of field (the default).
MatchWholeField  Matched text must be the whole field.
MatchStartOfField  Matched text must be at the start of field.

Definition at line 51 of file kexisearchandreplaceiface.h.

Specifies search direction.

Enumerator:
SearchUp  Search up (previous) from the current position.
SearchDown  Search down (next) from the current position (the default).
SearchAllRows  Search from the first to the last row.

Definition at line 61 of file kexisearchandreplaceiface.h.


Member Data Documentation

Column number to look in, AllColumns means "all columns" (the default) and CurrentColumn means "current column".

Definition at line 48 of file kexisearchandreplaceiface.h.

Specifies possible options for text matching.

Definition at line 58 of file kexisearchandreplaceiface.h.

True for searching is case-sensitive (false by default).

Definition at line 72 of file kexisearchandreplaceiface.h.

True for searching for whole words only (false by default).

Definition at line 75 of file kexisearchandreplaceiface.h.

True if question should be displayed before every replacement made (true by default).

Definition at line 78 of file kexisearchandreplaceiface.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys