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

KHTML

Signals | Public Member Functions | Protected Member Functions | List of all members
KHTMLFindBar Class Reference

#include <khtmlfindbar.h>

Inheritance diagram for KHTMLFindBar:
Inheritance graph
[legend]

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

bool KHTMLFindBar::event ( QEvent *  e)
protectedvirtual

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.

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 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.

void KHTMLFindBar::searchChanged ( )
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
historyThe 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
hasCursortrue 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
hasSelectiontrue if a selection exists

Definition at line 146 of file khtmlfindbar.cpp.

void KHTMLFindBar::setOptions ( long  options)

Set the options which are checked.

Parameters
optionsThe setting of the Options.
See also
options()
KFind::Options

Definition at line 190 of file khtmlfindbar.cpp.

void KHTMLFindBar::setVisible ( bool  visible)
virtual

Definition at line 232 of file khtmlfindbar.cpp.


The documentation for this class was generated from the following files:
  • khtmlfindbar.h
  • khtmlfindbar.cpp
This file is part of the KDE documentation.
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.

KHTML

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal