• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KDEUI

Public Member Functions

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)
 ~KFilterProxySearchLine ()
KLineEdit * lineEdit () const
void setProxy (QSortFilterProxyModel *proxy)
void setText (const QString &text)

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]

Constructor.

Private class that helps to provide binary compatibility between releases.

Definition at line 68 of file kfilterproxysearchline.cpp.

KFilterProxySearchLine::~KFilterProxySearchLine ( )

Destructor.

Definition at line 83 of file kfilterproxysearchline.cpp.


Member Function Documentation

KLineEdit * KFilterProxySearchLine::lineEdit ( ) const

Returns the pointer of the lineedit.

Definition at line 98 of file kfilterproxysearchline.cpp.

void KFilterProxySearchLine::setProxy ( QSortFilterProxyModel *  proxy)

Associate a proxy.

Parameters:
proxyThe proxy to operate with.

Definition at line 93 of file kfilterproxysearchline.cpp.

void KFilterProxySearchLine::setText ( const QString &  text)

To set the search to a text.

Definition at line 88 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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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