summaryrefslogtreecommitdiffstats
path: root/src/widgets/qtooltip.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-27 02:13:42 -0600
committerTimothy Pearson <[email protected]>2012-02-27 02:13:42 -0600
commit520c05ef06ce203ad32470730f68402bc7719157 (patch)
tree8d0bb18bbbecb4c837e232848905e5819db84b81 /src/widgets/qtooltip.cpp
parentb82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff)
downloadtqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz
tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip
Automated update from qt3
Diffstat (limited to 'src/widgets/qtooltip.cpp')
-rw-r--r--src/widgets/qtooltip.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/widgets/qtooltip.cpp b/src/widgets/qtooltip.cpp
index 5507bfc79..fc33aef55 100644
--- a/src/widgets/qtooltip.cpp
+++ b/src/widgets/qtooltip.cpp
@@ -156,7 +156,7 @@ static void initTipManager()
TQTipManager::TQTipManager()
- : TQObject( qApp, "toolTipManager" )
+ : TQObject( tqApp, "toolTipManager" )
{
wakeUpDelay = 700;
tips = new TQPtrDict<TQTipManager::Tip>( 313 );
@@ -173,9 +173,9 @@ TQTipManager::TQTipManager()
TQTipManager::~TQTipManager()
{
- if ( isApplicationFilter && !qApp->closingDown() ) {
- qApp->setGlobalMouseTracking( FALSE );
- qApp->removeEventFilter( tipManager );
+ if ( isApplicationFilter && !tqApp->closingDown() ) {
+ tqApp->setGlobalMouseTracking( FALSE );
+ tqApp->removeEventFilter( tipManager );
}
delete label;
@@ -234,10 +234,10 @@ void TQTipManager::add( const TQRect &gm, TQWidget *w,
showTip();
}
- if ( !isApplicationFilter && qApp ) {
+ if ( !isApplicationFilter && tqApp ) {
isApplicationFilter = TRUE;
- qApp->installEventFilter( tipManager );
- qApp->setGlobalMouseTracking( TRUE );
+ tqApp->installEventFilter( tipManager );
+ tqApp->setGlobalMouseTracking( TRUE );
}
if ( t->group ) {
@@ -371,11 +371,11 @@ bool TQTipManager::eventFilter( TQObject *obj, TQEvent *e )
// avoid dumping core in case of application madness, and return
// tquickly for some common but irrelevant events
if ( e->type() == TQEvent::WindowDeactivate &&
- qApp && !qApp->activeWindow() &&
+ tqApp && !tqApp->activeWindow() &&
label && label->isVisible() )
hideTipAndSleep();
- if ( !qApp
+ if ( !tqApp
|| !obj || !obj->isWidgetType() // isWidgetType() catches most stuff
|| e->type() == TQEvent::Paint
|| e->type() == TQEvent::Timer