korganizer

KOrg::CalendarDecoration Class Reference

#include <calendardecoration.h>

Inheritance diagram for KOrg::CalendarDecoration:

KOrg::Plugin Datenums Hebrew List of all members.

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.


Public Types

typedef QPtrList< CalendarDecorationList

Public Member Functions

 CalendarDecoration ()
virtual ~CalendarDecoration ()
virtual QString shortText (const QDate &)
virtual QString longText (const QDate &)
virtual QPixmap smallPixmap (const QDate &)
virtual QPixmap largePixmap (const QDate &)
virtual QWidget * smallWidget (QWidget *, const QDate &)

Static Public Member Functions

static int interfaceVersion ()
static QString serviceType ()

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.

Reimplemented in Datenums, and Hebrew.

Definition at line 54 of file calendardecoration.h.

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 59 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 64 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 68 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 73 of file calendardecoration.h.


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