[KLF Backend][KLF Tools][KLF Home]
KLatexFormula Project
Public Member Functions | Protected Member Functions | List of all members
KLFSearchableProxy Class Reference

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

#include <klfsearchbar.h>

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

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 ()
 
- Public Member Functions inherited from KLFSearchable
 KLFSearchable ()
 
virtual ~KLFSearchable ()
 
bool searchFind (const QString &queryString)
 Find the first occurence of a query string. More...
 
virtual Pos searchFind (const QString &queryString, const Pos &fromPos, bool forward)
 
virtual void searchMoveToPos (const Pos &pos)
 
virtual void searchPerformed (const QString &queryString, bool found, const Pos &pos)
 
virtual void searchAborted ()
 
- Public Member Functions inherited from KLFPosSearchable
virtual Pos searchStartFrom (bool forward)
 
virtual void searchReinitialized ()
 
virtual QString searchQueryString () const
 The current query string. More...
 
virtual void setSearchQueryString (const QString &s)
 
virtual bool searchHasInterruptRequested ()
 
virtual void setSearchInterruptRequested (bool on)
 
- Public Member Functions inherited from KLFTarget
 KLFTarget ()
 
virtual ~KLFTarget ()
 
- Public Member Functions inherited from KLFTargeter
 KLFTargeter ()
 
virtual ~KLFTargeter ()
 

Protected Member Functions

virtual KLFSearchabletarget ()
 

Additional Inherited Members

- Protected Attributes inherited from KLFTarget
QList< KLFTargeter * > pTargetOf
 
- Protected Attributes inherited from KLFTargeter
KLFTargetpTarget
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ KLFSearchableProxy()

KLFSearchableProxy::KLFSearchableProxy ( )
inline

Definition at line 415 of file klfsearchbar.h.

◆ ~KLFSearchableProxy()

KLFSearchableProxy::~KLFSearchableProxy ( )
virtual

Definition at line 267 of file klfsearchbar.cpp.

Member Function Documentation

◆ searchAbort()

void KLFSearchableProxy::searchAbort ( )
virtual

Implements KLFSearchable.

Definition at line 290 of file klfsearchbar.cpp.

References KLF_ASSERT_NOT_NULL.

◆ searchFind()

bool KLFSearchableProxy::searchFind ( const QString queryString,
bool  forward 
)
virtual

Implements KLFSearchable.

Definition at line 280 of file klfsearchbar.cpp.

References KLF_ASSERT_NOT_NULL.

◆ searchFindNext()

bool KLFSearchableProxy::searchFindNext ( bool  forward)
virtual

Implements KLFSearchable.

Definition at line 285 of file klfsearchbar.cpp.

References KLF_ASSERT_NOT_NULL.

◆ setSearchTarget()

void KLFSearchableProxy::setSearchTarget ( KLFPosSearchable target)
inline

Definition at line 418 of file klfsearchbar.h.

◆ setTarget()

void KLFSearchableProxy::setTarget ( KLFTarget target)
virtual

Reimplemented from KLFTargeter.

Definition at line 271 of file klfsearchbar.cpp.

References KLF_ASSERT_CONDITION, and KLFTargeter::setTarget().

◆ target()

virtual KLFSearchable* KLFSearchableProxy::target ( )
inlineprotectedvirtual

Definition at line 426 of file klfsearchbar.h.


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

Generated by doxygen 1.8.13