summaryrefslogtreecommitdiffstats
path: root/src/widgets/qstatusbar.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
committerMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /src/widgets/qstatusbar.cpp
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/widgets/qstatusbar.cpp')
-rw-r--r--src/widgets/qstatusbar.cpp16
1 files changed, 8 insertions, 8 deletions
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