Kate
#include <katesearchbar.h>
Public Types | |
enum | MatchResult { MatchFound, MatchWrappedForward, MatchWrappedBackward, MatchMismatch, MatchNothing, MatchNeutral } |
enum | SearchDirection { SearchForward, SearchBackward } |
enum | SearchMode { MODE_PLAIN_TEXT = 0, MODE_WHOLE_WORDS = 1, MODE_ESCAPE_SEQUENCES = 2, MODE_REGEX = 3 } |
Public Slots | |
bool | clearHighlights () |
void | enterIncrementalMode () |
void | enterPowerMode () |
void | findAll () |
void | findNext () |
void | findPrevious () |
void | replaceAll () |
void | replaceNext () |
void | setMatchCase (bool matchCase) |
void | setReplacementPattern (const QString &replacementPattern) |
void | setSearchMode (SearchMode mode) |
void | setSearchPattern (const QString &searchPattern) |
void | setSelectionOnly (bool selectionOnly) |
void | slotReadWriteChanged () |
void | updateHighlightColors () |
Public Member Functions | |
KateSearchBar (bool initAsPower, KateView *view, KateViewConfig *config) | |
~KateSearchBar () | |
virtual void | closed () |
void | enableUnitTestMode () |
bool | isPower () const |
bool | matchCase () const |
QString | replacementPattern () const |
QString | searchPattern () const |
bool | selectionOnly () const |
Public Member Functions inherited from KateViewBarWidget | |
KateViewBarWidget (bool addCloseButton, QWidget *parent=0) | |
KateViewBar * | viewBar () |
Static Public Member Functions | |
static void | nextMatchForSelection (KateView *view, SearchDirection searchDirection) |
Protected Member Functions | |
virtual void | showEvent (QShowEvent *event) |
Protected Member Functions inherited from KateViewBarWidget | |
QWidget * | centralWidget () |
Additional Inherited Members | |
Signals inherited from KateViewBarWidget | |
void | hideMe () |
Detailed Description
Definition at line 47 of file katesearchbar.h.
Member Enumeration Documentation
Enumerator | |
---|---|
MatchFound | |
MatchWrappedForward | |
MatchWrappedBackward | |
MatchMismatch | |
MatchNothing | |
MatchNeutral |
Definition at line 62 of file katesearchbar.h.
Enumerator | |
---|---|
SearchForward | |
SearchBackward |
Definition at line 71 of file katesearchbar.h.
Enumerator | |
---|---|
MODE_PLAIN_TEXT | |
MODE_WHOLE_WORDS | |
MODE_ESCAPE_SEQUENCES | |
MODE_REGEX |
Definition at line 53 of file katesearchbar.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 131 of file katesearchbar.cpp.
KateSearchBar::~KateSearchBar | ( | ) |
Definition at line 205 of file katesearchbar.cpp.
Member Function Documentation
|
slot |
Definition at line 1542 of file katesearchbar.cpp.
|
virtual |
Reimplemented from KateViewBarWidget.
Definition at line 214 of file katesearchbar.cpp.
|
inline |
Definition at line 93 of file katesearchbar.h.
|
slot |
Definition at line 1418 of file katesearchbar.cpp.
|
slot |
Definition at line 1276 of file katesearchbar.cpp.
|
slot |
Definition at line 667 of file katesearchbar.cpp.
|
slot |
Definition at line 255 of file katesearchbar.cpp.
|
slot |
Definition at line 269 of file katesearchbar.cpp.
bool KateSearchBar::isPower | ( | ) | const |
Definition at line 1628 of file katesearchbar.cpp.
bool KateSearchBar::matchCase | ( | ) | const |
Definition at line 462 of file katesearchbar.cpp.
|
static |
Definition at line 1228 of file katesearchbar.cpp.
|
slot |
Definition at line 908 of file katesearchbar.cpp.
QString KateSearchBar::replacementPattern | ( | ) | const |
Definition at line 237 of file katesearchbar.cpp.
|
slot |
Definition at line 790 of file katesearchbar.cpp.
QString KateSearchBar::searchPattern | ( | ) | const |
Definition at line 955 of file katesearchbar.cpp.
bool KateSearchBar::selectionOnly | ( | ) | const |
Definition at line 974 of file katesearchbar.cpp.
|
slot |
Definition at line 436 of file katesearchbar.cpp.
|
slot |
Set the current replacement pattern.
- Parameters
-
replacementPattern the replacement pattern
Definition at line 226 of file katesearchbar.cpp.
|
slot |
Definition at line 246 of file katesearchbar.cpp.
|
slot |
Set the current search pattern.
- Parameters
-
searchPattern the search pattern
Definition at line 942 of file katesearchbar.cpp.
|
slot |
Definition at line 962 of file katesearchbar.cpp.
|
protectedvirtual |
Definition at line 1571 of file katesearchbar.cpp.
|
slot |
Definition at line 1632 of file katesearchbar.cpp.
|
slot |
Definition at line 1556 of file katesearchbar.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.