diff options
Diffstat (limited to 'src/kernel/ntqapplication.h')
| -rw-r--r-- | src/kernel/ntqapplication.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kernel/ntqapplication.h b/src/kernel/ntqapplication.h index 4696b290e..c7bef278b 100644 --- a/src/kernel/ntqapplication.h +++ b/src/kernel/ntqapplication.h @@ -108,7 +108,7 @@ 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(); @@ -116,11 +116,11 @@ public: #ifndef TQT_NO_PALETTE static TQPalette palette( const TQWidget* = 0 ); static TQPalette palette( TQStringList ); - 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(); @@ -141,8 +141,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(); @@ -196,7 +196,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(); @@ -234,7 +234,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 ); @@ -299,7 +299,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 |
