KDEUI
#include <ktreewidgetsearchline.h>
Public Member Functions | |
KTreeWidgetSearchLineWidget (QWidget *parent=0, QTreeWidget *treeWidget=0) | |
~KTreeWidgetSearchLineWidget () | |
KTreeWidgetSearchLine * | searchLine () const |
Protected Slots | |
virtual void | createWidgets () |
Protected Member Functions | |
virtual KTreeWidgetSearchLine * | createSearchLine (QTreeWidget *treeWidget) const |
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.
Constructor & Destructor Documentation
|
explicit |
Creates a KTreeWidgetSearchLineWidget for treeWidget with parent as the parent.
Definition at line 579 of file ktreewidgetsearchline.cpp.
KTreeWidgetSearchLineWidget::~KTreeWidgetSearchLineWidget | ( | ) |
Destroys the KTreeWidgetSearchLineWidget.
Definition at line 589 of file ktreewidgetsearchline.cpp.
Member Function Documentation
|
protectedvirtual |
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 594 of file ktreewidgetsearchline.cpp.
|
protectedvirtualslot |
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 599 of file ktreewidgetsearchline.cpp.
KTreeWidgetSearchLine * KTreeWidgetSearchLineWidget::searchLine | ( | ) | const |
Returns a pointer to the search line.
Definition at line 615 of file ktreewidgetsearchline.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:49:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.