Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QtxSearchTool::Searcher Class Referenceabstract

Generic searcher class. More...

#include <QtxSearchTool.h>

Inheritance diagram for QtxSearchTool::Searcher:
Inheritance graph

Public Member Functions

 Searcher ()
 Constructor. More...
 
virtual ~Searcher ()
 Destructor. More...
 
virtual bool find (const QString &, QtxSearchTool *)=0
 Start new search. More...
 
virtual bool findNext (const QString &, QtxSearchTool *)=0
 Search next appropriate item. More...
 
virtual bool findPrevious (const QString &, QtxSearchTool *)=0
 Search previous appropriate item. More...
 
virtual bool findFirst (const QString &, QtxSearchTool *)=0
 Search first appropriate item. More...
 
virtual bool findLast (const QString &, QtxSearchTool *)=0
 Search last appropriate item. More...
 

Detailed Description

Searcher is generic class which is used by the search tool to perform widget-dependant search.

To implement a searcher for some widget, just inherit from QtxSearchTool::Searcher and override pure virtual methods find(), findNext(), findPrevious(), findFirst() and findLast()

Constructor & Destructor Documentation

QtxSearchTool::Searcher::Searcher ( )
QtxSearchTool::Searcher::~Searcher ( )
virtual

Reimplemented in QtxWebBrowser::Searcher.

Member Function Documentation

QtxSearchTool::Searcher::find ( const QString &  text,
QtxSearchTool st 
)
pure virtual
Parameters
texttext to be found
stsearch tool widget
See Also
findNext(), findPrevious(), findFirst(), findLast()

Implemented in QtxTreeViewSearcher, and QtxWebBrowser::Searcher.

QtxSearchTool::Searcher::findFirst ( const QString &  text,
QtxSearchTool st 
)
pure virtual
Parameters
texttext to be found
stsearch tool widget
See Also
find(), findNext(), findPrevious(), findLast()

Implemented in QtxTreeViewSearcher, and QtxWebBrowser::Searcher.

QtxSearchTool::Searcher::findLast ( const QString &  text,
QtxSearchTool st 
)
pure virtual
Parameters
texttext to be found
stsearch tool widget
See Also
find(), findNext(), findPrevious(), findFirst()

Implemented in QtxTreeViewSearcher, and QtxWebBrowser::Searcher.

QtxSearchTool::Searcher::findNext ( const QString &  text,
QtxSearchTool st 
)
pure virtual
Parameters
texttext to be found
stsearch tool widget
See Also
find(), findPrevious(), findFirst(), findLast()

Implemented in QtxTreeViewSearcher, and QtxWebBrowser::Searcher.

QtxSearchTool::Searcher::findPrevious ( const QString &  text,
QtxSearchTool st 
)
pure virtual
Parameters
texttext to be found
stsearch tool widget
See Also
find(), findNext(), findFirst(), findLast()

Implemented in QtxTreeViewSearcher, and QtxWebBrowser::Searcher.


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