Plasma
KTreeViewSearchLineWidget Class Reference
#include <ktreeviewsearchline.h>

Detailed Description
Creates a widget featuring a KTreeViewSearchLine, a label with the text "Search" and a button to clear the search.Definition at line 269 of file ktreeviewsearchline.h.
Public Member Functions | |
KTreeViewSearchLineWidget (QWidget *parent=0, QTreeView *treeView=0) | |
KTreeViewSearchLine * | searchLine () const |
~KTreeViewSearchLineWidget () | |
Protected Slots | |
virtual void | createWidgets () |
Protected Member Functions | |
virtual KTreeViewSearchLine * | createSearchLine (QTreeView *treeView) const |
Constructor & Destructor Documentation
KTreeViewSearchLineWidget::KTreeViewSearchLineWidget | ( | QWidget * | parent = 0 , |
|
QTreeView * | treeView = 0 | |||
) | [explicit] |
Creates a KTreeViewSearchLineWidget for treeView with parent as the parent.
Definition at line 558 of file ktreeviewsearchline.cpp.
KTreeViewSearchLineWidget::~KTreeViewSearchLineWidget | ( | ) |
Member Function Documentation
KTreeViewSearchLine * KTreeViewSearchLineWidget::createSearchLine | ( | QTreeView * | treeView | ) | const [protected, virtual] |
Creates the search line.
This can be useful to reimplement in cases where a KTreeViewSearchLine 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 571 of file ktreeviewsearchline.cpp.
void KTreeViewSearchLineWidget::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 576 of file ktreeviewsearchline.cpp.
KTreeViewSearchLine * KTreeViewSearchLineWidget::searchLine | ( | ) | const |
The documentation for this class was generated from the following files: