korganizer Library API Documentation

MonthViewCell Class Reference

This class represents one day in KOrganizer's month view. More...

#include <komonthview.h>

Inheritance diagram for MonthViewCell:

Inheritance graph
[legend]
Collaboration diagram for MonthViewCell:

Collaboration graph
[legend]
List of all members.

Signals

void defaultAction (Incidence *)
void newEventSignal (QDate)

Public Member Functions

 MonthViewCell (KOMonthView *)
void setDate (const QDate &)
QDate date () const
void setPrimary (bool)
bool isPrimary () const
void setHoliday (bool)
void setHoliday (const QString &)
void updateCell ()
void addIncidence (Incidence *)
bool removeIncidence (Incidence *)
void updateConfig ()
void enableScrollBars (bool)
Incidence * selectedIncidence ()
QDate selectedIncidenceDate ()
void deselect ()

Protected Slots

void defaultAction (QListBoxItem *)
void contextMenu (QListBoxItem *)
void selection (QListBoxItem *)
void cellClicked (QListBoxItem *)

Protected Member Functions

void resizeEvent (QResizeEvent *)

Detailed Description

This class represents one day in KOrganizer's month view.

See also:
KOMonthView

Definition at line 122 of file komonthview.h.


Member Function Documentation

void MonthViewCell::setDate const QDate  ) 
 

Sets the date of the cell.

Definition at line 329 of file komonthview.cpp.

QDate MonthViewCell::date  )  const
 

Returns:
Date of cell

Definition at line 349 of file komonthview.cpp.

Referenced by KOMonthView::eventDurationHint().

void MonthViewCell::setHoliday bool   ) 
 

Make this cell show as a holiday.

Definition at line 372 of file komonthview.cpp.

void MonthViewCell::addIncidence Incidence *   ) 
 

Adds an incidence to the cell.

Sets the right text and icons for this incidence.

Definition at line 413 of file komonthview.cpp.

bool MonthViewCell::removeIncidence Incidence *   ) 
 

Removes an incidence from the cell.

Returns:
True if successful, false if deletion failed (e.g. when given incidence doesn't exist in the cell.

Definition at line 489 of file komonthview.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for korganizer Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Apr 4 04:49:39 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003