[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Public Member Functions

KLFSearchableProxy Class Reference

A proxy class that relays search queries to another searchable object. More...

#include <klfsearchbar.h>

Inheritance diagram for KLFSearchableProxy:
Inheritance graph
[legend]
Collaboration diagram for KLFSearchableProxy:
Collaboration graph
[legend]

List of all members.

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 ()

Detailed Description

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.


Constructor & Destructor Documentation

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().


Member Function Documentation

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().


The documentation for this class was generated from the following files:

Generated by doxygen 1.7.3