KDEUI
kcategorydrawer.h
Go to the documentation of this file.00001 00021 #ifndef KCATEGORYDRAWER_H 00022 #define KCATEGORYDRAWER_H 00023 00024 #include <kdeui_export.h> 00025 00026 class QPainter; 00027 class QModelIndex; 00028 class QStyleOption; 00029 00030 class KDEUI_EXPORT KCategoryDrawer 00031 { 00032 public: 00033 KCategoryDrawer(); 00034 00035 virtual ~KCategoryDrawer(); 00036 00044 virtual void drawCategory(const QModelIndex &index, 00045 int sortRole, 00046 const QStyleOption &option, 00047 QPainter *painter) const; 00048 00049 virtual int categoryHeight(const QModelIndex &index, const QStyleOption &option) const; 00050 }; 00051 00052 #endif // KCATEGORYDRAWER_H