Plasma
BackgroundDelegate Class Reference
#include <backgrounddelegate.h>
Inheritance diagram for BackgroundDelegate:

Public Types | |
| enum | { AuthorRole = Qt::UserRole, ScreenshotRole, ResolutionRole } |
Public Member Functions | |
| BackgroundDelegate (QObject *listener, float ratio, QObject *parent=0) | |
| virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| virtual QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
Static Public Attributes | |
| static const int | SCREENSHOT_SIZE = 60 |
Detailed Description
Definition at line 15 of file backgrounddelegate.h.
Member Enumeration Documentation
| anonymous enum |
Definition at line 18 of file backgrounddelegate.h.
Constructor & Destructor Documentation
Definition at line 19 of file backgrounddelegate.cpp.
Member Function Documentation
| void BackgroundDelegate::paint | ( | QPainter * | painter, | |
| const QStyleOptionViewItem & | option, | |||
| const QModelIndex & | index | |||
| ) | const [virtual] |
Definition at line 26 of file backgrounddelegate.cpp.
| QSize BackgroundDelegate::sizeHint | ( | const QStyleOptionViewItem & | option, | |
| const QModelIndex & | index | |||
| ) | const [virtual] |
Definition at line 101 of file backgrounddelegate.cpp.
Member Data Documentation
const int BackgroundDelegate::SCREENSHOT_SIZE = 60 [static] |
Definition at line 33 of file backgrounddelegate.h.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference