A proxy class that relays search queries to another searchable object. More...
#include <klfsearchbar.h>
Public Member Functions | |
KLFSearchableProxy () | |
virtual | ~KLFSearchableProxy () |
void | setSearchTarget (KLFSearchable *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... | |
A proxy class that relays search queries to another searchable object.
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 123 of file klfsearchbar.h.
|
inline |
Definition at line 126 of file klfsearchbar.h.
|
virtual |
Definition at line 57 of file klfsearchbar.cpp.
|
virtual |
Implements KLFSearchable.
Definition at line 84 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL.
|
virtual |
Implements KLFSearchable.
Definition at line 74 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL.
|
virtual |
Implements KLFSearchable.
Definition at line 79 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL.
void KLFSearchableProxy::setSearchTarget | ( | KLFSearchable * | target | ) |
Definition at line 63 of file klfsearchbar.cpp.
References QList::append().