KHTML
#include <khtmlfindbar.h>
Signals | |
void | findNextClicked () |
void | findPreviousClicked () |
void | searchChanged () |
Signals inherited from KHTMLViewBarWidget | |
void | hideMe () |
Public Member Functions | |
KHTMLFindBar (QWidget *parent=0) | |
QStringList | findHistory () const |
long | options () const |
QString | pattern () const |
bool | restoreLastPatternFromHistory () |
void | setAtEnd (bool atEnd) |
void | setFindHistory (const QStringList &history) |
void | setFoundMatch (bool match) |
void | setHasCursor (bool hasCursor) |
void | setHasSelection (bool hasSelection) |
void | setOptions (long options) |
virtual void | setVisible (bool visible) |
Public Member Functions inherited from KHTMLViewBarWidget | |
KHTMLViewBarWidget (bool addCloseButton, QWidget *parent=0) | |
Protected Member Functions | |
virtual bool | event (QEvent *e) |
Protected Member Functions inherited from KHTMLViewBarWidget | |
QWidget * | centralWidget () |
void | resizeEvent (QResizeEvent *event) |
Detailed Description
Definition at line 29 of file khtmlfindbar.h.
Constructor & Destructor Documentation
KHTMLFindBar::KHTMLFindBar | ( | QWidget * | parent = 0 | ) |
Definition at line 34 of file khtmlfindbar.cpp.
Member Function Documentation
Definition at line 242 of file khtmlfindbar.cpp.
QStringList KHTMLFindBar::findHistory | ( | ) | const |
Returns the list of history items.
- See also
- setFindHistory
Definition at line 82 of file khtmlfindbar.cpp.
|
signal |
|
signal |
long KHTMLFindBar::options | ( | ) | const |
Returns the state of the options.
Disabled options may be returned in an indeterminate state.
- See also
- setOptions()
- KFind::Options
Definition at line 87 of file khtmlfindbar.cpp.
QString KHTMLFindBar::pattern | ( | ) | const |
Returns the pattern to find.
Definition at line 106 of file khtmlfindbar.cpp.
bool KHTMLFindBar::restoreLastPatternFromHistory | ( | ) |
Definition at line 126 of file khtmlfindbar.cpp.
|
signal |
void KHTMLFindBar::setAtEnd | ( | bool | atEnd | ) |
Definition at line 220 of file khtmlfindbar.cpp.
void KHTMLFindBar::setFindHistory | ( | const QStringList & | history | ) |
Provide the list of strings
to be displayed as the history of find strings.
strings
might get truncated if it is too long.
- Parameters
-
history The find history.
- See also
- findHistory
Definition at line 134 of file khtmlfindbar.cpp.
void KHTMLFindBar::setFoundMatch | ( | bool | match | ) |
Definition at line 200 of file khtmlfindbar.cpp.
void KHTMLFindBar::setHasCursor | ( | bool | hasCursor | ) |
Hide/show the 'from cursor' option, depending on whether the application implements a cursor.
- Parameters
-
hasCursor true if the application features a cursor This is assumed to be the case by default.
Definition at line 182 of file khtmlfindbar.cpp.
void KHTMLFindBar::setHasSelection | ( | bool | hasSelection | ) |
Enable/disable the 'search in selection' option, depending on whether there actually is a selection.
- Parameters
-
hasSelection true if a selection exists
Definition at line 146 of file khtmlfindbar.cpp.
void KHTMLFindBar::setOptions | ( | long | options | ) |
Set the options which are checked.
- Parameters
-
options The setting of the Options.
- See also
- options()
- KFind::Options
Definition at line 190 of file khtmlfindbar.cpp.
|
virtual |
Definition at line 232 of file khtmlfindbar.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.