summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/widgets/tqtooltip.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commiteaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch)
tree4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/widgets/tqtooltip.cpp
parent79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff)
downloadexperimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz
experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/widgets/tqtooltip.cpp')
-rw-r--r--tqtinterface/qt4/src/widgets/tqtooltip.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tqtinterface/qt4/src/widgets/tqtooltip.cpp b/tqtinterface/qt4/src/widgets/tqtooltip.cpp
index 1c82b0e..411487d 100644
--- a/tqtinterface/qt4/src/widgets/tqtooltip.cpp
+++ b/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;
}