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

KDEUI

Public Member Functions | List of all members
KFilterProxySearchLine Class Reference

#include <kfilterproxysearchline.h>

Inheritance diagram for KFilterProxySearchLine:
QWidget

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 tomal.nosp@m.bers.nosp@m.@kde..nosp@m.nl
Since
4.2

Definition at line 42 of file kfilterproxysearchline.h.

Constructor & Destructor Documentation

◆ KFilterProxySearchLine()

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::~KFilterProxySearchLine ( )

Destructor.

Definition at line 83 of file kfilterproxysearchline.cpp.

Member Function Documentation

◆ lineEdit()

KLineEdit * KFilterProxySearchLine::lineEdit ( ) const

Returns the pointer of the lineedit.

Definition at line 98 of file kfilterproxysearchline.cpp.

◆ setProxy()

void KFilterProxySearchLine::setProxy ( QSortFilterProxyModel *  proxy)

Associate a proxy.

Parameters
proxyThe proxy to operate with.

Definition at line 93 of file kfilterproxysearchline.cpp.

◆ setText()

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • 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
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal