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 () |
Public Member Functions inherited from KLFSearchable | |
| 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.
References QList::removeAll().
|
virtual |
Implements KLFSearchable.
Definition at line 84 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL, and KLFSearchable::searchAbort().
|
virtual |
Implements KLFSearchable.
Definition at line 74 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL, and KLFSearchable::searchFind().
|
virtual |
Implements KLFSearchable.
Definition at line 79 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL, and KLFSearchable::searchFindNext().
| void KLFSearchableProxy::setSearchTarget | ( | KLFSearchable * | target | ) |
Definition at line 63 of file klfsearchbar.cpp.
References QList::append(), and QList::removeAll().