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 () |
Protected Member Functions | |
virtual KLFSearchable * | target () |
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 412 of file klfsearchbar.h.
KLFSearchableProxy::KLFSearchableProxy | ( | ) | [inline] |
Definition at line 415 of file klfsearchbar.h.
KLFSearchableProxy::~KLFSearchableProxy | ( | ) | [virtual] |
Definition at line 267 of file klfsearchbar.cpp.
void KLFSearchableProxy::searchAbort | ( | ) | [virtual] |
Implements KLFSearchable.
Definition at line 290 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL, KLFSearchable::searchAbort(), and target().
bool KLFSearchableProxy::searchFind | ( | const QString & | queryString, |
bool | forward | ||
) | [virtual] |
Implements KLFSearchable.
Definition at line 280 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL, KLFSearchable::searchFind(), and target().
bool KLFSearchableProxy::searchFindNext | ( | bool | forward | ) | [virtual] |
Implements KLFSearchable.
Definition at line 285 of file klfsearchbar.cpp.
References KLF_ASSERT_NOT_NULL, KLFSearchable::searchFindNext(), and target().
void KLFSearchableProxy::setSearchTarget | ( | KLFPosSearchable * | target | ) | [inline] |
Definition at line 418 of file klfsearchbar.h.
References KLFTargeter::setTarget().
void KLFSearchableProxy::setTarget | ( | KLFTarget * | target | ) | [virtual] |
Reimplemented from KLFTargeter.
Definition at line 271 of file klfsearchbar.cpp.
References KLF_ASSERT_CONDITION, and target().
virtual KLFSearchable* KLFSearchableProxy::target | ( | ) | [inline, protected, virtual] |
Definition at line 426 of file klfsearchbar.h.
References KLFTargeter::pTarget.
Referenced by searchAbort(), searchFind(), searchFindNext(), and setTarget().