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

KDEUI

KFilterProxySearchLine Class Reference

Responsible for the quick search when you are using a QSortFilterProxyModel. More...

#include <kfilterproxysearchline.h>

Inheritance diagram for KFilterProxySearchLine:

Inheritance graph
[legend]

List of all members.


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.

Author:
Tom Albers <tomalbers@kde.nl>
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 91 of file kfilterproxysearchline.cpp.


Member Function Documentation

KLineEdit * KFilterProxySearchLine::lineEdit (  )  const

Returns the pointer of the lineedit.

Definition at line 106 of file kfilterproxysearchline.cpp.

void KFilterProxySearchLine::setProxy ( QSortFilterProxyModel *  proxy  ) 

Associate a proxy.

Parameters:
proxy The proxy to operate with.

Definition at line 101 of file kfilterproxysearchline.cpp.

void KFilterProxySearchLine::setText ( const QString &  text  ) 

To set the search to a text.

Definition at line 96 of file kfilterproxysearchline.cpp.


The documentation for this class was generated from the following files:
  • kfilterproxysearchline.h
  • kfilterproxysearchline.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
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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