korganizer Library API Documentation

DynamicTip Class Reference

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

#include <kodaymatrix.h>

Inheritance diagram for DynamicTip:

Inheritance graph
[legend]
Collaboration diagram for DynamicTip:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DynamicTip (QWidget *parent)

Protected Member Functions

void maybeTip (const QPoint &pos)

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.

Definition at line 54 of file kodaymatrix.h.


Constructor & Destructor Documentation

DynamicTip::DynamicTip QWidget parent  ) 
 

Constructor that expects a KODayMatrix object as parent.

Parameters:
parent the parent KODayMatrix control.

Definition at line 68 of file kodaymatrix.cpp.


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.

Definition at line 75 of file kodaymatrix.cpp.

References KODayMatrix::getHolidayLabel().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for korganizer Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 17 09:56:31 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003