Kate
KateSearch Class Reference
#include <katesearch.h>
Inheritance diagram for KateSearch:
Public Types | |
enum | Dialog_results { srCancel = KDialogBase::Cancel, srAll = KDialogBase::User1, srLast = KDialogBase::User2, srNo = KDialogBase::User3, srYes = KDialogBase::Ok } |
Public Slots | |
void | find (const QString &pattern, long flags, bool add=true, bool shownotfound=false) |
void | find () |
void | findAgain (bool reverseDirection) |
void | replace (const QString &pattern, const QString &replacement, long flags) |
void | replace () |
Public Member Functions | |
void | createActions (KActionCollection *) |
KateSearch (KateView *) | |
~KateSearch () |
Detailed Description
Definition at line 42 of file katesearch.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
KateSearch::KateSearch | ( | KateView * | view | ) |
Definition at line 52 of file katesearch.cpp.
KateSearch::~KateSearch | ( | ) |
Definition at line 64 of file katesearch.cpp.
Member Function Documentation
void KateSearch::createActions | ( | KActionCollection * | ac | ) |
Definition at line 69 of file katesearch.cpp.
void KateSearch::find | ( | const QString & | pattern, | |
long | flags, | |||
bool | add = true , |
|||
bool | shownotfound = false | |||
) | [slot] |
Search for pattern
given flags
This is for the commandline "find", and is forwarded by KateView.
- Parameters:
-
pattern string or regex pattern to search for. flags a OR'ed combination of KFindDialog::Options add wether this string should be added to the recent search list shownotfound wether to pop up "Not round: PATTERN" when that happens. That must now be explicitly required -- the find dialog does, but the commandline incremental search does not.
Definition at line 116 of file katesearch.cpp.
void KateSearch::find | ( | ) | [slot] |
Definition at line 93 of file katesearch.cpp.
void KateSearch::findAgain | ( | bool | reverseDirection | ) | [slot] |
Definition at line 219 of file katesearch.cpp.
void KateSearch::replace | ( | const QString & | pattern, | |
const QString & | replacement, | |||
long | flags | |||
) | [slot] |
Replace pattern
with replacement
given flags
.
This is for the commandline "replace" and is forwarded by KateView.
- Parameters:
-
pattern string or regular expression to search for replacement Replacement string. flags OR'd combination of KFindDialog::Options
Definition at line 182 of file katesearch.cpp.
void KateSearch::replace | ( | ) | [slot] |
Definition at line 154 of file katesearch.cpp.
The documentation for this class was generated from the following files: