korganizer
KOTodoViewItem Class Reference
#include <kotodoviewitem.h>
Detailed Description
This class provides a way of displaying a single Event of Todo-Type in a KTodoView.
- See also:
- KOTodoView
Definition at line 48 of file kotodoviewitem.h.
Public Member Functions | |
KOTodoViewItem (QListView *parent, Todo *todo, KOTodoView *kotodo) | |
KOTodoViewItem (KOTodoViewItem *parent, Todo *todo, KOTodoView *kotodo) | |
virtual | ~KOTodoViewItem () |
void | construct () |
Todo * | todo () const |
bool | isAlternate () |
int | compare (QListViewItem *i, int col, bool ascending) const |
virtual void | paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int alignment) |
Protected Member Functions | |
void | paintBranches (QPainter *p, const QColorGroup &cg, int w, int y, int h) |
virtual void | stateChange (bool) |
Constructor & Destructor Documentation
KOTodoViewItem::KOTodoViewItem | ( | QListView * | parent, | |
Todo * | todo, | |||
KOTodoView * | kotodo | |||
) |
Constructor.
- Parameters:
-
parent is the list view to which this item belongs. todo is the todo to have the item display information for. kotodo is a pointer to the KOTodoView object.
Definition at line 39 of file kotodoviewitem.cpp.
The documentation for this class was generated from the following files: