summaryrefslogtreecommitdiffstats
path: root/src/widgets/qtooltip.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/widgets/qtooltip.cpp
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
Diffstat (limited to 'src/widgets/qtooltip.cpp')
-rw-r--r--src/widgets/qtooltip.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/qtooltip.cpp b/src/widgets/qtooltip.cpp
index ace4fd317..5507bfc79 100644
--- a/src/widgets/qtooltip.cpp
+++ b/src/widgets/qtooltip.cpp
@@ -61,7 +61,7 @@ static inline TQRect entireWidget()
class TQTipLabel : public TQLabel
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQTipLabel( TQWidget* parent, const TQString& text) : TQLabel( parent, "toolTipTip",
WStyle_StaysOnTop | WStyle_Customize | WStyle_NoBorder | WStyle_Tool | WX11BypassWM )
@@ -84,7 +84,7 @@ public:
class TQTipManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQTipManager();
~TQTipManager();
@@ -150,7 +150,7 @@ static void initTipManager()
{
if ( !tipManager ) {
tipManager = new TQTipManager;
- Q_CHECK_PTR( tipManager );
+ TQ_CHECK_PTR( tipManager );
}
}
@@ -523,7 +523,7 @@ void TQTipManager::showTip()
label = new TQTipLabel( TQApplication::desktop()->screen( scr ), t->text);
if ( t->geometry != TQRect( -1, -1, -1, -1 ) )
label->resize( t->geometry.size() );
- Q_CHECK_PTR( label );
+ TQ_CHECK_PTR( label );
connect( label, SIGNAL(destroyed()), SLOT(labelDestroyed()) );
}
// the above deletion and creation of a TQTipLabel causes events to be sent. We had reports that the widget