KateSearch Class Reference

Inheritance diagram for KateSearch:

QObject List of all members.

Detailed Description

Definition at line 42 of file katesearch.h.


Public Types

enum  Dialog_results {
  srCancel = KDialogBase::Cancel, srAll = KDialogBase::User1, srLast = KDialogBase::User2, srNo = KDialogBase::User3,
  srYes = KDialogBase::Ok
}

Public Slots

void find ()
void find (const QString &pattern, long flags, bool add=true, bool shownotfound=false)
void replace ()
void replace (const QString &pattern, const QString &replacement, long flags)
void findAgain (bool reverseDirection)

Public Member Functions

 KateSearch (KateView *)
 ~KateSearch ()
void createActions (KActionCollection *)

Friends

class KateDocument

Member Function Documentation

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::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.


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