• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KHTML

KHTMLFindBar Class Reference

#include <khtmlfindbar.h>

Inheritance diagram for KHTMLFindBar:

Inheritance graph
[legend]

List of all members.


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)

Detailed Description

Definition at line 29 of file khtmlfindbar.h.


Constructor & Destructor Documentation

KHTMLFindBar::KHTMLFindBar ( QWidget *  parent = 0  ) 

Definition at line 35 of file khtmlfindbar.cpp.


Member Function Documentation

QStringList KHTMLFindBar::findHistory (  )  const

Returns the list of history items.

See also:
setFindHistory

Definition at line 81 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 86 of file khtmlfindbar.cpp.

QString KHTMLFindBar::pattern (  )  const

Returns the pattern to find.

Definition at line 103 of file khtmlfindbar.cpp.

bool KHTMLFindBar::restoreLastPatternFromHistory (  ) 

Definition at line 123 of file khtmlfindbar.cpp.

void KHTMLFindBar::searchChanged (  )  [signal]

void KHTMLFindBar::setAtEnd ( bool  atEnd  ) 

Definition at line 216 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 131 of file khtmlfindbar.cpp.

void KHTMLFindBar::setFoundMatch ( bool  match  ) 

Definition at line 196 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 179 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 143 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 187 of file khtmlfindbar.cpp.

void KHTMLFindBar::setVisible ( bool  visible  )  [virtual]

Definition at line 228 of file khtmlfindbar.cpp.


The documentation for this class was generated from the following files:
  • khtmlfindbar.h
  • khtmlfindbar.cpp

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal