korganizer

#include <kotodoviewitem.h>

Public Member Functions

 KOTodoViewItem (TQListView *parent, Todo *todo, KOTodoView *kotodo)
 KOTodoViewItem (KOTodoViewItem *parent, Todo *todo, KOTodoView *kotodo)
void construct ()
Todotodo () 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.

Author
Cornelius Schumacher schum.nosp@m.ache.nosp@m.r@kde.nosp@m..org
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
parentis the list view to which this item belongs.
todois the todo to have the item display information for.
kotodois 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()

virtual KOTodoViewItem::~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()

void KOTodoViewItem::paintBranches ( TQPainter * p,
const TQColorGroup & cg,
int w,
int y,
int h )
protected

Definition at line 122 of file kotodoviewitem.cpp.

◆ paintCell()

void KOTodoViewItem::paintCell ( TQPainter * p,
const TQColorGroup & cg,
int column,
int width,
int alignment )
virtual

Definition at line 243 of file kotodoviewitem.cpp.

◆ stateChange()

void KOTodoViewItem::stateChange ( bool state)
protectedvirtual

Definition at line 185 of file kotodoviewitem.cpp.

◆ todo()

Todo * KOTodoViewItem::todo ( ) const
inline

Definition at line 64 of file kotodoviewitem.h.


The documentation for this class was generated from the following files: