A proxy class that relays search queries to another searchable object (OBSOLETE) More...
#include <klfsearchbar.h>
Public Member Functions | |
KLFSearchableProxy () | |
virtual | ~KLFSearchableProxy () |
void | setSearchTarget (KLFPosSearchable *target) |
virtual void | setTarget (KLFTarget *target) |
virtual bool | searchFind (const QString &queryString, bool forward) |
virtual bool | searchFindNext (bool forward) |
virtual void | searchAbort () |
![]() | |
KLFSearchable () | |
virtual | ~KLFSearchable () |
bool | searchFind (const QString &queryString) |
Find the first occurence of a query string. More... | |
virtual Pos | searchFind (const QString &queryString, const Pos &fromPos, bool forward) |
virtual void | searchMoveToPos (const Pos &pos) |
virtual void | searchPerformed (const QString &queryString, bool found, const Pos &pos) |
virtual void | searchAborted () |
![]() | |
virtual Pos | searchStartFrom (bool forward) |
virtual void | searchReinitialized () |
virtual QString | searchQueryString () const |
The current query string. More... | |
virtual void | setSearchQueryString (const QString &s) |
virtual bool | searchHasInterruptRequested () |
virtual void | setSearchInterruptRequested (bool on) |
![]() | |
KLFTarget () | |
virtual | ~KLFTarget () |
![]() | |
KLFTargeter () | |
virtual | ~KLFTargeter () |
Protected Member Functions | |
virtual KLFSearchable * | target () |
Additional Inherited Members | |
![]() | |
QList< KLFTargeter * > | pTargetOf |
![]() | |
KLFTarget * | pTarget |
A proxy class that relays search queries to another searchable object (OBSOLETE)
THIS CLASS IS OBSOLETE. Use KLFPosSearchableProxy instead.
This class may be used for example when you have global search bar, but many sub-windows or sub-displays displaying different data, and the search bar should search within the active one.
Definition at line 411 of file klfsearchbar.h.
|
inline |
Definition at line 414 of file klfsearchbar.h.
|
virtual |
Definition at line 267 of file klfsearchbar.cpp.
|
virtual |
Implements KLFSearchable.
Definition at line 290 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL, KLFSearchable::searchAbort(), and target().
|
virtual |
Implements KLFSearchable.
Definition at line 280 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL, KLFSearchable::searchFind(), and target().
|
virtual |
Implements KLFSearchable.
Definition at line 285 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL, KLFSearchable::searchFindNext(), and target().
|
inline |
Definition at line 417 of file klfsearchbar.h.
References KLFTargeter::setTarget().
|
virtual |
Reimplemented from KLFTargeter.
Definition at line 271 of file klfsearchbar.cpp.
References KLF_ASSERT_CONDITION, KLFTargeter::setTarget(), and target().
|
inlineprotectedvirtual |
Definition at line 425 of file klfsearchbar.h.
Referenced by searchAbort(), searchFind(), searchFindNext(), and setTarget().