korganizer Library API Documentation

KOrg::CalendarDecoration Class Reference

This class provides the interface for a date dependent decoration. More...

#include <calendardecoration.h>

List of all members.

Public Types

typedef QPtrList< CalendarDecorationList

Public Member Functions

virtual QString shortText (const QDate &)
 Return a short text for a given date, ususally only a few words.

virtual QString longText (const QDate &)
 Return along text for a given date.

virtual QPixmap smallPixmap (const QDate &)
 Return a small pixmap.

virtual QPixmap largePixmap (const QDate &)
 Return a large pixmap.

virtual QWidgetsmallWidget (QWidget *, const QDate &)
 Return a small widget.


Detailed Description

This class provides the interface for a date dependent decoration.

It provides entities like texts and pictures for a given date. Implementations can implement all functions or only a subset.

Definition at line 40 of file calendardecoration.h.


Member Function Documentation

virtual QString KOrg::CalendarDecoration::shortText const QDate  )  [inline, virtual]
 

Return a short text for a given date, ususally only a few words.

Definition at line 50 of file calendardecoration.h.

Referenced by KOAgendaView::createDayLabels().

virtual QString KOrg::CalendarDecoration::longText const QDate  )  [inline, virtual]
 

Return along text for a given date.

This text can be of any length, but usually it will have one or a few paragraphs.

Definition at line 55 of file calendardecoration.h.

virtual QPixmap KOrg::CalendarDecoration::smallPixmap const QDate  )  [inline, virtual]
 

Return a small pixmap.

The size should be something like 30x30 pixels.

Definition at line 60 of file calendardecoration.h.

virtual QPixmap KOrg::CalendarDecoration::largePixmap const QDate  )  [inline, virtual]
 

Return a large pixmap.

The size should be something like 300x300 pixels.

Definition at line 64 of file calendardecoration.h.

virtual QWidget* KOrg::CalendarDecoration::smallWidget QWidget ,
const QDate
[inline, virtual]
 

Return a small widget.

It should have the size of a pushbutton.

Definition at line 69 of file calendardecoration.h.

Referenced by KOAgendaView::createDayLabels().


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Sun Feb 15 11:41:12 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001