KDEUI
KFilterProxySearchLine Class Reference
Responsible for the quick search when you are using a QSortFilterProxyModel. More...
#include <kfilterproxysearchline.h>

Public Member Functions | |
KFilterProxySearchLine (QWidget *parent=0) | |
KLineEdit * | lineEdit () const |
void | setProxy (QSortFilterProxyModel *proxy) |
void | setText (const QString &text) |
~KFilterProxySearchLine () |
Detailed Description
Responsible for the quick search when you are using a QSortFilterProxyModel.
This will give you an widget which you can embed in your application, call the setProxy() function to indicate on which QSortFilterProxyModel this search line should operate.
- Since:
- 4.2
Definition at line 42 of file kfilterproxysearchline.h.
Constructor & Destructor Documentation
KFilterProxySearchLine::KFilterProxySearchLine | ( | QWidget * | parent = 0 |
) | [explicit] |
Contructor.
Private class that helps to provide binary compatibility between releases.
For internal use only.
Definition at line 69 of file kfilterproxysearchline.cpp.
KFilterProxySearchLine::~KFilterProxySearchLine | ( | ) |
Destructor.
Definition at line 90 of file kfilterproxysearchline.cpp.
Member Function Documentation
KLineEdit * KFilterProxySearchLine::lineEdit | ( | ) | const |
Returns the pointer of the lineedit.
Definition at line 105 of file kfilterproxysearchline.cpp.
void KFilterProxySearchLine::setProxy | ( | QSortFilterProxyModel * | proxy | ) |
Associate a proxy.
- Parameters:
-
proxy The proxy to operate with.
Definition at line 100 of file kfilterproxysearchline.cpp.
void KFilterProxySearchLine::setText | ( | const QString & | text | ) |
To set the search to a text.
Definition at line 95 of file kfilterproxysearchline.cpp.
The documentation for this class was generated from the following files: