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

KDEUI

Public Member Functions | Protected Slots | Protected Member Functions | List of all members
KTreeWidgetSearchLineWidget Class Reference

#include <ktreewidgetsearchline.h>

Inheritance diagram for KTreeWidgetSearchLineWidget:
Inheritance graph
[legend]

Public Member Functions

 KTreeWidgetSearchLineWidget (QWidget *parent=0, QTreeWidget *treeWidget=0)
 
 ~KTreeWidgetSearchLineWidget ()
 
KTreeWidgetSearchLine * searchLine () const
 

Protected Slots

virtual void createWidgets ()
 

Protected Member Functions

virtual KTreeWidgetSearchLine * createSearchLine (QTreeWidget *treeWidget) const
 

Detailed Description

Creates a widget featuring a KTreeWidgetSearchLine, a label with the text "Search" and a button to clear the search.

Definition at line 260 of file ktreewidgetsearchline.h.

Constructor & Destructor Documentation

KTreeWidgetSearchLineWidget::KTreeWidgetSearchLineWidget ( QWidget *  parent = 0,
QTreeWidget *  treeWidget = 0 
)
explicit

Creates a KTreeWidgetSearchLineWidget for treeWidget with parent as the parent.

Definition at line 579 of file ktreewidgetsearchline.cpp.

KTreeWidgetSearchLineWidget::~KTreeWidgetSearchLineWidget ( )

Destroys the KTreeWidgetSearchLineWidget.

Definition at line 589 of file ktreewidgetsearchline.cpp.

Member Function Documentation

KTreeWidgetSearchLine * KTreeWidgetSearchLineWidget::createSearchLine ( QTreeWidget *  treeWidget) const
protectedvirtual

Creates the search line.

This can be useful to reimplement in cases where a KTreeWidgetSearchLine 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 594 of file ktreewidgetsearchline.cpp.

void KTreeWidgetSearchLineWidget::createWidgets ( )
protectedvirtualslot

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 599 of file ktreewidgetsearchline.cpp.

KTreeWidgetSearchLine * KTreeWidgetSearchLineWidget::searchLine ( ) const

Returns a pointer to the search line.

Definition at line 615 of file ktreewidgetsearchline.cpp.


The documentation for this class was generated from the following files:
  • ktreewidgetsearchline.h
  • ktreewidgetsearchline.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:18 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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