KDE PIM / Developers / API Docs / korganizer

DynamicTip Class Reference

small helper class to dynamically show tooltips inside the day matrix. More...

#include <kodaymatrix.h>

Inherits QToolTip.

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

small helper class to dynamically show tooltips inside the day matrix.

This class asks the day matrix object for a appropriate label which is in our special case the name of the holiday or null if this day is no holiday.


Constructor & Destructor Documentation

DynamicTip::DynamicTip QWidget *  parent  ) 
 

Constructor that expects a KODayMatrix object as parent.

Parameters:
parent the parent KODayMatrix control.

Member Function Documentation

void DynamicTip::maybeTip const QPoint &  pos  )  [protected]
 

Qt's callback to ask the object to provide an approrpiate text for the tooltip to be shown.

Parameters:
pos coordinates of the mouse.

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