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

KDEUI

KCategoryDrawer Class Reference

#include <kcategorydrawer.h>

List of all members.


Detailed Description

Definition at line 30 of file kcategorydrawer.h.


Public Member Functions

virtual int categoryHeight (const QModelIndex &index, const QStyleOption &option) const
virtual void drawCategory (const QModelIndex &index, int sortRole, const QStyleOption &option, QPainter *painter) const
 KCategoryDrawer ()
virtual ~KCategoryDrawer ()

Constructor & Destructor Documentation

KCategoryDrawer::KCategoryDrawer (  ) 

Definition at line 32 of file kcategorydrawer.cpp.

KCategoryDrawer::~KCategoryDrawer (  )  [virtual]

Definition at line 36 of file kcategorydrawer.cpp.


Member Function Documentation

int KCategoryDrawer::categoryHeight ( const QModelIndex &  index,
const QStyleOption &  option 
) const [virtual]

Definition at line 99 of file kcategorydrawer.cpp.

void KCategoryDrawer::drawCategory ( const QModelIndex &  index,
int  sortRole,
const QStyleOption &  option,
QPainter *  painter 
) const [virtual]

This method purpose is to draw a category represented by the given.

Parameters:
index with the given
sortRole sorting role
Note:
This method will be called one time per category, always with the first element in that category

Definition at line 40 of file kcategorydrawer.cpp.


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