KDE PIM / Developers / API Docs / korganizer

KOrg::CalendarDecoration Class Reference

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

#include <calendardecoration.h>

Inherits KOrg::Plugin.

Inherited by Datenums, and Hebrew.

List of all members.

Public Types

Public Member Functions

Static Public Member Functions


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.


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.

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.

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

Return a small pixmap.

The size should be something like 30x30 pixels.

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

Return a large pixmap.

The size should be something like 300x300 pixels.

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

Return a small widget.

It should have the size of a pushbutton.


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