summaryrefslogtreecommitdiffstats
path: root/experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp')
-rw-r--r--experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp b/experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp
index 1c82b0e16..411487d85 100644
--- a/experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp
+++ b/experimental/tqtinterface/qt4/src/widgets/tqtooltip.cpp
@@ -115,7 +115,7 @@ public:
void hideTipAndSleep();
- TQString tqfind( TQWidget *, const TQPoint& );
+ TQString find( TQWidget *, const TQPoint& );
void setWakeUpDelay(int);
public Q_SLOTS:
@@ -231,7 +231,7 @@ void TQTipManager::add( const TQRect &gm, TQWidget *w,
tips->insert( w, t );
- if ( a && t->rect.tqcontains( pos ) && (!g || g->enabled()) ) {
+ if ( a && t->rect.contains( pos ) && (!g || g->enabled()) ) {
removeTimer->stop();
showTip();
}
@@ -426,7 +426,7 @@ bool TQTipManager::eventFilter( TQObject *obj, TQEvent *e )
TQMouseEvent * m = (TQMouseEvent *)e;
TQPoint mousePos = w->mapFromGlobal( m->globalPos() );
- if ( currentTip && !currentTip->rect.tqcontains( mousePos ) ) {
+ if ( currentTip && !currentTip->rect.contains( mousePos ) ) {
hideTip();
if ( m->state() == 0 )
return FALSE;
@@ -484,7 +484,7 @@ void TQTipManager::showTip()
return;
TQTipManager::Tip *t = (*tips)[ widget ];
- while ( t && !t->rect.tqcontains( pos ) )
+ while ( t && !t->rect.contains( pos ) )
t = t->next;
if ( t == 0 )
return;
@@ -637,10 +637,10 @@ void TQTipManager::allowAnimation()
preventAnimation = FALSE;
}
-TQString TQTipManager::tqfind( TQWidget *w, const TQPoint& pos )
+TQString TQTipManager::find( TQWidget *w, const TQPoint& pos )
{
Tip *t = (*tips)[ w ];
- while ( t && !t->rect.tqcontains( pos ) )
+ while ( t && !t->rect.contains( pos ) )
t = t->next;
return t ? t->text : TQString::null;
@@ -938,7 +938,7 @@ void TQToolTip::remove( TQWidget * widget, const TQRect & rect )
TQString TQToolTip::textFor( TQWidget *widget, const TQPoint& pos )
{
if ( tipManager )
- return tipManager->tqfind( widget, pos );
+ return tipManager->find( widget, pos );
return TQString::null;
}