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

KDEUI

KTreeWidgetSearchLineWidget Class Reference

#include <ktreewidgetsearchline.h>

Inheritance diagram for KTreeWidgetSearchLineWidget:

Inheritance graph
[legend]

List of all members.


Detailed Description

Creates a widget featuring a KTreeWidgetSearchLine, a label with the text "Search" and a button to clear the search.

Definition at line 260 of file ktreewidgetsearchline.h.


Public Member Functions

 KTreeWidgetSearchLineWidget (QWidget *parent=0, QTreeWidget *treeWidget=0)
KTreeWidgetSearchLine * searchLine () const
 ~KTreeWidgetSearchLineWidget ()

Protected Slots

virtual void createWidgets ()

Protected Member Functions

virtual KTreeWidgetSearchLine * createSearchLine (QTreeWidget *treeWidget) const

Constructor & Destructor Documentation

KTreeWidgetSearchLineWidget::KTreeWidgetSearchLineWidget ( QWidget *  parent = 0,
QTreeWidget *  treeWidget = 0 
) [explicit]

Creates a KTreeWidgetSearchLineWidget for treeWidget with parent as the parent.

Definition at line 583 of file ktreewidgetsearchline.cpp.

KTreeWidgetSearchLineWidget::~KTreeWidgetSearchLineWidget (  ) 

Destroys the KTreeWidgetSearchLineWidget.

Definition at line 593 of file ktreewidgetsearchline.cpp.


Member Function Documentation

KTreeWidgetSearchLine * KTreeWidgetSearchLineWidget::createSearchLine ( QTreeWidget *  treeWidget  )  const [protected, virtual]

Creates the search line.

This can be useful to reimplement in cases where a KTreeWidgetSearchLine subclass is used.

It is const because it is be called from searchLine(), which to the user doesn't conceptually alter the widget.

Definition at line 598 of file ktreewidgetsearchline.cpp.

void KTreeWidgetSearchLineWidget::createWidgets (  )  [protected, virtual, slot]

Creates the widgets inside of the widget.

This is called from the constructor via a single shot timer so that it it guaranteed to run after construction is complete. This makes it suitable for overriding in subclasses.

Definition at line 603 of file ktreewidgetsearchline.cpp.

KTreeWidgetSearchLine * KTreeWidgetSearchLineWidget::searchLine (  )  const

Returns a pointer to the search line.

Definition at line 620 of file ktreewidgetsearchline.cpp.


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

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Modules
  • 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
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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