From 69d87202cb139ffe9e4b3ce92e434523b7b09b64 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 19:46:30 +0900 Subject: QT_NO_* -> TQT_NO_* renaming. Signed-off-by: Michele Calgaro --- src/widgets/qstatusbar.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/widgets/qstatusbar.cpp') diff --git a/src/widgets/qstatusbar.cpp b/src/widgets/qstatusbar.cpp index 557d7ef71..d3d294d2e 100644 --- a/src/widgets/qstatusbar.cpp +++ b/src/widgets/qstatusbar.cpp @@ -39,7 +39,7 @@ **********************************************************************/ #include "ntqstatusbar.h" -#ifndef QT_NO_STATUSBAR +#ifndef TQT_NO_STATUSBAR #include "ntqptrlist.h" #include "ntqlayout.h" @@ -127,7 +127,7 @@ public: TQBoxLayout * box; TQTimer * timer; -#ifndef QT_NO_SIZEGRIP +#ifndef TQT_NO_SIZEGRIP TQSizeGrip * resizer; #endif @@ -149,7 +149,7 @@ TQStatusBar::TQStatusBar( TQWidget * parent, const char *name ) d->box = 0; d->timer = 0; -#ifndef QT_NO_SIZEGRIP +#ifndef TQT_NO_SIZEGRIP d->resizer = 0; setSizeGripEnabled(TRUE); // causes reformat() #else @@ -260,7 +260,7 @@ void TQStatusBar::removeWidget( TQWidget* widget ) bool TQStatusBar::isSizeGripEnabled() const { -#ifdef QT_NO_SIZEGRIP +#ifdef TQT_NO_SIZEGRIP return FALSE; #else return !!d->resizer; @@ -269,7 +269,7 @@ bool TQStatusBar::isSizeGripEnabled() const void TQStatusBar::setSizeGripEnabled(bool enabled) { -#ifndef QT_NO_SIZEGRIP +#ifndef TQT_NO_SIZEGRIP if ( !enabled != !d->resizer ) { if ( enabled ) { d->resizer = new TQSizeGrip( this, "TQStatusBar::resizer" ); @@ -328,7 +328,7 @@ void TQStatusBar::reformat() item = d->items.next(); } l->addSpacing( 4 ); -#ifndef QT_NO_SIZEGRIP +#ifndef TQT_NO_SIZEGRIP if ( d->resizer ) { maxH = TQMAX( maxH, d->resizer->sizeHint().height() ); d->box->addSpacing( 1 ); @@ -451,7 +451,7 @@ void TQStatusBar::paintEvent( TQPaintEvent * ) TQPainter p( this ); TQStatusBarPrivate::SBItem* item = d->items.first(); -#ifndef QT_NO_SIZEGRIP +#ifndef TQT_NO_SIZEGRIP int psx = ( d->resizer && d->resizer->isVisible() ) ? d->resizer->x() : width()-12; #else int psx = width() - 12; @@ -502,7 +502,7 @@ bool TQStatusBar::event( TQEvent *e ) item = d->items.next(); } -#ifndef QT_NO_SIZEGRIP +#ifndef TQT_NO_SIZEGRIP if ( d->resizer ) maxH = TQMAX( maxH, d->resizer->sizeHint().height() ); #endif -- cgit v1.2.1