KOTodoViewItem Class Reference
#include <kotodoviewitem.h>
Inherits TQCheckListItem.
Public Member Functions | |
KOTodoViewItem (TQListView *parent, Todo *todo, KOTodoView *kotodo) | |
KOTodoViewItem (KOTodoViewItem *parent, Todo *todo, KOTodoView *kotodo) | |
void | construct () |
Todo * | todo () const |
bool | isAlternate () |
int | compare (TQListViewItem *i, int col, bool ascending) const |
virtual void | paintCell (TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment) |
Protected Member Functions | |
void | paintBranches (TQPainter *p, const TQColorGroup &cg, int w, int y, int h) |
virtual void | stateChange (bool) |
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.
Constructor & Destructor Documentation
◆ KOTodoViewItem() [1/2]
KOTodoViewItem::KOTodoViewItem | ( | TQListView * | 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 41 of file kotodoviewitem.cpp.
◆ KOTodoViewItem() [2/2]
KOTodoViewItem::KOTodoViewItem | ( | KOTodoViewItem * | parent, |
Todo * | todo, | ||
KOTodoView * | kotodo | ||
) |
Definition at line 47 of file kotodoviewitem.cpp.
◆ ~KOTodoViewItem()
|
inlinevirtual |
Definition at line 60 of file kotodoviewitem.h.
Member Function Documentation
◆ compare()
int KOTodoViewItem::compare | ( | TQListViewItem * | i, |
int | col, | ||
bool | ascending | ||
) | const |
Definition at line 65 of file kotodoviewitem.cpp.
◆ construct()
void KOTodoViewItem::construct | ( | ) |
Definition at line 128 of file kotodoviewitem.cpp.
◆ isAlternate()
bool KOTodoViewItem::isAlternate | ( | ) |
Definition at line 199 of file kotodoviewitem.cpp.
◆ paintBranches()
|
protected |
Definition at line 122 of file kotodoviewitem.cpp.
◆ paintCell()
|
virtual |
Definition at line 243 of file kotodoviewitem.cpp.
◆ stateChange()
|
protectedvirtual |
Definition at line 185 of file kotodoviewitem.cpp.
◆ todo()
|
inline |
Definition at line 64 of file kotodoviewitem.h.
The documentation for this class was generated from the following files: