KDEUI
KTreeWidgetSearchLineWidget Class Reference
Creates a widget featuring a KTreeWidgetSearchLine, a label with the text "Search" and a button to clear the search. More...
#include <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 |
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
| 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 619 of file ktreewidgetsearchline.cpp.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference