• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Kate

KateSearch Class Reference

#include <katesearch.h>

Inheritance diagram for KateSearch:

Inheritance graph
[legend]

List of all members.


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

enum KateSearch::Dialog_results

Enumerator:
srCancel 
srAll 
srLast 
srNo 
srYes 

Definition at line 78 of file katesearch.h.


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:
  • katesearch.h
  • katesearch.cpp

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal