diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/qapplication-h.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qapplication-h.html')
| -rw-r--r-- | doc/html/qapplication-h.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/qapplication-h.html b/doc/html/qapplication-h.html index d2911b400..e7d4d334a 100644 --- a/doc/html/qapplication-h.html +++ b/doc/html/qapplication-h.html @@ -139,18 +139,18 @@ public: static void setColorSpec( int ); #ifndef TQT_NO_CURSOR static TQCursor *overrideCursor(); - static void setOverrideCursor( const TQCursor &, bool replace=FALSE ); + static void setOverrideCursor( const TQCursor &, bool replace=false ); static void restoreOverrideCursor(); #endif static bool hasGlobalMouseTracking(); static void setGlobalMouseTracking( bool enable ); #ifndef TQT_NO_PALETTE static TQPalette palette( const TQWidget* = 0 ); - static void setPalette( const TQPalette &, bool informWidgets=FALSE, + static void setPalette( const TQPalette &, bool informWidgets=false, const char* className = 0 ); #endif static TQFont font( const TQWidget* = 0 ); - static void setFont( const TQFont &, bool informWidgets=FALSE, + static void setFont( const TQFont &, bool informWidgets=false, const char* className = 0 ); static TQFontMetrics fontMetrics(); @@ -171,8 +171,8 @@ public: TQWidget *focusWidget() const; TQWidget *activeWindow() const; - static TQWidget *widgetAt( int x, int y, bool child=FALSE ); - static TQWidget *widgetAt( const TQPoint &, bool child=FALSE ); + static TQWidget *widgetAt( int x, int y, bool child=false ); + static TQWidget *widgetAt( const TQPoint &, bool child=false ); static TQEventLoop *eventLoop(); @@ -226,7 +226,7 @@ public: static void setWinStyleHighlightColor( const TQColor &c ) { TQPalette p( palette() ); p.setColor( TQColorGroup::Highlight, c ); - setPalette( p, TRUE); + setPalette( p, true); } static const TQColor &winStyleHighlightColor() { return palette().active().highlight(); @@ -264,7 +264,7 @@ public: static int horizontalAlignment( int align ); static bool isEffectEnabled( TQt::UIEffect ); - static void setEffectEnabled( TQt::UIEffect, bool enable = TRUE ); + static void setEffectEnabled( TQt::UIEffect, bool enable = true ); #if defined(TQ_WS_MAC) virtual bool macEventFilter( EventHandlerCallRef, EventRef ); @@ -318,7 +318,7 @@ public: void wakeUpGuiThread(); #if defined(TQT_THREAD_SUPPORT) void lock(); - void unlock(bool wakeUpGui = TRUE); + void unlock(bool wakeUpGui = true); bool locked(); bool tryLock(); #endif @@ -532,10 +532,10 @@ inline TQSize TQApplication::globalStrut() } inline bool TQApplication::sendEvent( TQObject *receiver, TQEvent *event ) -{ if ( event ) event->spont = FALSE; return tqApp ? tqApp->notify( receiver, event ) : FALSE; } +{ if ( event ) event->spont = false; return tqApp ? tqApp->notify( receiver, event ) : false; } inline bool TQApplication::sendSpontaneousEvent( TQObject *receiver, TQEvent *event ) -{ if ( event ) event->spont = TRUE; return tqApp ? tqApp->notify( receiver, event ) : FALSE; } +{ if ( event ) event->spont = true; return tqApp ? tqApp->notify( receiver, event ) : false; } #ifdef TQT_NO_TRANSLATION // Simple versions |
