summaryrefslogtreecommitdiffstats
path: root/src/widgets/qbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qbutton.cpp')
-rw-r--r--src/widgets/qbutton.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/qbutton.cpp b/src/widgets/qbutton.cpp
index a34486808..5445f61fb 100644
--- a/src/widgets/qbutton.cpp
+++ b/src/widgets/qbutton.cpp
@@ -85,7 +85,7 @@ void TQButton::ensureData()
{
if ( !d ) {
d = new TQButtonData;
- Q_CHECK_PTR( d );
+ TQ_CHECK_PTR( d );
connect(&d->timer, SIGNAL(timeout()), this, SLOT(autoRepeatTimeout()));
}
}
@@ -510,7 +510,7 @@ void TQButton::setPixmap( const TQPixmap &pixmap )
} else {
newSize = TRUE;
bpixmap = new TQPixmap( pixmap );
- Q_CHECK_PTR( bpixmap );
+ TQ_CHECK_PTR( bpixmap );
}
if ( bpixmap->depth() == 1 && !bpixmap->mask() )
bpixmap->setMask( *((TQBitmap *)bpixmap) );
@@ -675,7 +675,7 @@ bool TQButton::hitButton( const TQPoint &pos ) const
\sa drawButtonLabel(), paintEvent()
*/
-#if (QT_VERSION-0 >= 0x040000)
+#if (TQT_VERSION-0 >= 0x040000)
#error "TQButton. Make pure virtual"
#endif
void TQButton::drawButton( TQPainter * )