KHTML
KHTMLFindBar Class Reference
#include <khtmlfindbar.h>
Signals | |
| void | findNextClicked () |
| void | findPreviousClicked () |
| void | searchChanged () |
Public Member Functions | |
| QStringList | findHistory () const |
| KHTMLFindBar (QWidget *parent=0) | |
| 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) |
Protected Member Functions | |
| virtual bool | event (QEvent *e) |
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 236 of file khtmlfindbar.cpp.
| QStringList KHTMLFindBar::findHistory | ( | ) | const |
Returns the list of history items.
- See also:
- setFindHistory
Definition at line 79 of file khtmlfindbar.cpp.
| void KHTMLFindBar::findNextClicked | ( | ) | [signal] |
| void KHTMLFindBar::findPreviousClicked | ( | ) | [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 84 of file khtmlfindbar.cpp.
| QString KHTMLFindBar::pattern | ( | ) | const |
Returns the pattern to find.
Definition at line 101 of file khtmlfindbar.cpp.
| bool KHTMLFindBar::restoreLastPatternFromHistory | ( | ) |
Definition at line 121 of file khtmlfindbar.cpp.
| void KHTMLFindBar::searchChanged | ( | ) | [signal] |
| void KHTMLFindBar::setAtEnd | ( | bool | atEnd | ) |
Definition at line 214 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 129 of file khtmlfindbar.cpp.
| void KHTMLFindBar::setFoundMatch | ( | bool | match | ) |
Definition at line 194 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 177 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 141 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 185 of file khtmlfindbar.cpp.
| void KHTMLFindBar::setVisible | ( | bool | visible | ) | [virtual] |
Definition at line 226 of file khtmlfindbar.cpp.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference