korganizer
DynamicTip Class Reference
small helper class to dynamically show tooltips inside the day matrix. More...
#include <kodaymatrix.h>
Inherits QToolTip.
Public Member Functions | |
DynamicTip (TQWidget *parent) | |
Protected Member Functions | |
void | maybeTip (const TQPoint &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 56 of file kodaymatrix.h.
Constructor & Destructor Documentation
DynamicTip::DynamicTip | ( | TQWidget * | parent | ) |
Constructor that expects a KODayMatrix object as parent.
- Parameters:
-
parent the parent KODayMatrix control.
Definition at line 67 of file kodaymatrix.cpp.
Member Function Documentation
void DynamicTip::maybeTip | ( | const TQPoint & | 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 74 of file kodaymatrix.cpp.
The documentation for this class was generated from the following files: