korganizer

#include <calendardecoration.h>

Public Types

typedef TQPtrList< CalendarDecoration > List

Public Member Functions

virtual TQString shortText (const TQDate &)
virtual TQString longText (const TQDate &)
virtual TQPixmap smallPixmap (const TQDate &)
virtual TQPixmap largePixmap (const TQDate &)
virtual TQWidget * smallWidget (TQWidget *, const TQDate &)

Static Public Member Functions

static int interfaceVersion ()
static TQString serviceType ()

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 Typedef Documentation

◆ List

typedef TQPtrList<CalendarDecoration> KOrg::CalendarDecoration::List

Definition at line 46 of file calendardecoration.h.

Constructor & Destructor Documentation

◆ CalendarDecoration()

KOrg::CalendarDecoration::CalendarDecoration ( )
inline

Definition at line 48 of file calendardecoration.h.

◆ ~CalendarDecoration()

virtual KOrg::CalendarDecoration::~CalendarDecoration ( )
inlinevirtual

Definition at line 49 of file calendardecoration.h.

Member Function Documentation

◆ interfaceVersion()

int KOrg::CalendarDecoration::interfaceVersion ( )
inlinestatic

Definition at line 43 of file calendardecoration.h.

◆ largePixmap()

virtual TQPixmap KOrg::CalendarDecoration::largePixmap ( const TQDate & )
inlinevirtual

Return a large pixmap.

The size should be something like 300x300 pixels.

Definition at line 68 of file calendardecoration.h.

◆ longText()

virtual TQString KOrg::CalendarDecoration::longText ( const TQDate & )
inlinevirtual

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.

◆ serviceType()

TQString KOrg::CalendarDecoration::serviceType ( )
inlinestatic

Definition at line 44 of file calendardecoration.h.

◆ shortText()

virtual TQString KOrg::CalendarDecoration::shortText ( const TQDate & )
inlinevirtual

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

Definition at line 54 of file calendardecoration.h.

◆ smallPixmap()

virtual TQPixmap KOrg::CalendarDecoration::smallPixmap ( const TQDate & )
inlinevirtual

Return a small pixmap.

The size should be something like 30x30 pixels.

Definition at line 64 of file calendardecoration.h.

◆ smallWidget()

virtual TQWidget * KOrg::CalendarDecoration::smallWidget ( TQWidget * ,
const TQDate &  )
inlinevirtual

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: