Source Code (Use browser search to find items of interest.)

Class Index

kworldwatch'TimeTip (./kdetoys/kworldwatch/world.h:13)

class TimeTip : public QToolTip
{
public:

  TimeTip(QWidget *parent) : QToolTip(parent) {};
    
protected:

  void maybeTip(const QPoint &pos);	
  
};



kworldwatch'TimeTip::maybeTip() (./kdetoys/kworldwatch/world.cpp:28)

void TimeTip::maybeTip(const QPoint &pos)
{
  QString text = ((World*)parentWidget())->getTip(pos);

  if (text.length() > 0)
    tip(QRect(pos,QSize(1,1)), text);
}