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 () |
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.
KLFSearchableProxy::KLFSearchableProxy | ( | ) | [inline] |
Definition at line 126 of file klfsearchbar.h.
KLFSearchableProxy::~KLFSearchableProxy | ( | ) | [virtual] |
Definition at line 57 of file klfsearchbar.cpp.
References QList::removeAll().
void KLFSearchableProxy::searchAbort | ( | ) | [virtual] |
Implements KLFSearchable.
Definition at line 84 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL, and KLFSearchable::searchAbort().
bool KLFSearchableProxy::searchFind | ( | const QString & | queryString, |
bool | forward | ||
) | [virtual] |
Implements KLFSearchable.
Definition at line 74 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL, and KLFSearchable::searchFind().
bool KLFSearchableProxy::searchFindNext | ( | bool | forward | ) | [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().