korganizer

KOAgendaItem Class Reference

Inheritance diagram for KOAgendaItem:

KOrg::CellItem List of all members.

Detailed Description

Definition at line 74 of file koagendaitem.h.


Public Slots

void updateIcons ()
void select (bool=true)
void addAttendee (const QString &)

Signals

void removeAgendaItem (KOAgendaItem *)
void showAgendaItem (KOAgendaItem *)

Public Member Functions

 KOAgendaItem (Incidence *incidence, const QDate &qd, QWidget *parent, const char *name=0, WFlags f=0)
int cellXLeft () const
int cellXRight () const
int cellYTop () const
int cellYBottom () const
int cellHeight () const
int cellWidth () const
void setCellXY (int X, int YTop, int YBottom)
void setCellY (int YTop, int YBottom)
void setCellX (int XLeft, int XRight)
void setCellXRight (int xright)
void startMove ()
void resetMove ()
void endMove ()
void moveRelative (int dx, int dy)
void expandTop (int dy)
void expandBottom (int dy)
void expandLeft (int dx)
void expandRight (int dx)
bool isMultiItem ()
KOAgendaItemprevMoveItem () const
KOAgendaItemnextMoveItem () const
MultiItemInfomoveInfo () const
void setMultiItem (KOAgendaItem *first, KOAgendaItem *prev, KOAgendaItem *next, KOAgendaItem *last)
KOAgendaItemprependMoveItem (KOAgendaItem *)
KOAgendaItemappendMoveItem (KOAgendaItem *)
KOAgendaItemremoveMoveItem (KOAgendaItem *)
KOAgendaItemfirstMultiItem () const
KOAgendaItemprevMultiItem () const
KOAgendaItemnextMultiItem () const
KOAgendaItemlastMultiItem () const
bool dissociateFromMultiItem ()
bool setIncidence (Incidence *)
Incidenceincidence () const
QDate itemDate ()
void setItemDate (const QDate &qd)
void setText (const QString &text)
QString text ()
QPtrList< KOAgendaItemconflictItems ()
void setConflictItems (QPtrList< KOAgendaItem >)
void addConflictItem (KOAgendaItem *ci)
QString label () const
bool overlaps (KOrg::CellItem *) const
void setResourceColor (const QColor &color)
QColor resourceColor ()

Static Public Member Functions

static QToolTipGroup * toolTipGroup ()

Protected Member Functions

void dragEnterEvent (QDragEnterEvent *e)
void dropEvent (QDropEvent *e)
void paintEvent (QPaintEvent *e)
void paintFrame (QPainter *p, const QColor &color)
void paintEventIcon (QPainter *p, int &x, int ft)
void paintTodoIcon (QPainter *p, int &x, int ft)
void paintIcons (QPainter *p, int &x, int ft)
void startMovePrivate ()
void resetMovePrivate ()
void endMovePrivate ()

Protected Attributes

MultiItemInfomStartMoveInfo
QColor mResourceColor

Member Function Documentation

void KOAgendaItem::startMove (  ) 

Start movement.

Definition at line 340 of file koagendaitem.cpp.

void KOAgendaItem::resetMove (  ) 

Reset to original values.

Definition at line 373 of file koagendaitem.cpp.

void KOAgendaItem::endMove (  ) 

End the movement (i.e.

clean up)

Definition at line 446 of file koagendaitem.cpp.

void KOAgendaItem::setItemDate ( const QDate &  qd  ) 

Update the date of this item's occurrence (not in the event).

Definition at line 188 of file koagendaitem.cpp.

void KOAgendaItem::startMovePrivate (  )  [protected]

private movement functions.

startMove needs to be called of only one of the multitems. it will then loop through the whole series using startMovePrivate. Same for resetMove and endMove

Definition at line 349 of file koagendaitem.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys