diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqwidget-h.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqwidget-h.html')
-rw-r--r-- | doc/html/tqwidget-h.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/doc/html/tqwidget-h.html b/doc/html/tqwidget-h.html index d056fd8bb..62cb12e98 100644 --- a/doc/html/tqwidget-h.html +++ b/doc/html/tqwidget-h.html @@ -372,9 +372,9 @@ public slots: void update( const TQRect& ); void repaint(); void repaint( bool erase ); - void repaint( int x, int y, int w, int h, bool erase=TRUE ); - void repaint( const TQRect &, bool erase = TRUE ); - void repaint( const TQRegion &, bool erase = TRUE ); + void repaint( int x, int y, int w, int h, bool erase=true ); + void repaint( const TQRect &, bool erase = true ); + void repaint( const TQRegion &, bool erase = true ); // Widget management functions @@ -422,7 +422,7 @@ public: virtual TQSize minimumSizeHint() const; virtual TQSizePolicy sizePolicy() const; virtual void setSizePolicy( TQSizePolicy ); - void setSizePolicy( TQSizePolicy::SizeType hor, TQSizePolicy::SizeType ver, bool hfw = FALSE ); + void setSizePolicy( TQSizePolicy::SizeType hor, TQSizePolicy::SizeType ver, bool hfw = false ); virtual int heightForWidth(int) const; TQRegion clipRegion() const; @@ -437,12 +437,12 @@ public: #endif void updateGeometry(); virtual void reparent( TQWidget *parent, WFlags, const TQPoint &, - bool showIt=FALSE ); + bool showIt=false ); void reparent( TQWidget *parent, const TQPoint &, - bool showIt=FALSE ); + bool showIt=false ); #ifndef TQT_NO_COMPAT void recreate( TQWidget *parent, WFlags f, const TQPoint & p, - bool showIt=FALSE ) { reparent(parent,f,p,showIt); } + bool showIt=false ) { reparent(parent,f,p,showIt); } #endif void erase(); @@ -479,20 +479,20 @@ public: // whats this help virtual bool customWhatsThis() const; - TQWidget * parentWidget( bool sameWindow = FALSE ) const; + TQWidget * parentWidget( bool sameWindow = false ) const; WState testWState( WState s ) const; WFlags testWFlags( WFlags f ) const; static TQWidget * find( WId ); static TQWidgetMapper *wmapper(); - TQWidget *childAt( int x, int y, bool includeThis = FALSE ) const; - TQWidget *childAt( const TQPoint &, bool includeThis = FALSE ) const; + TQWidget *childAt( int x, int y, bool includeThis = false ) const; + TQWidget *childAt( const TQPoint &, bool includeThis = false ) const; #if defined(TQ_WS_MAC) - TQRegion clippedRegion(bool do_children=TRUE); - uint clippedSerial(bool do_children=TRUE); + TQRegion clippedRegion(bool do_children=true); + uint clippedSerial(bool do_children=true); #ifndef TQMAC_NO_QUARTZ - CGContextRef macCGContext(bool clipped=TRUE) const; + CGContextRef macCGContext(bool clipped=true) const; #endif #endif @@ -563,10 +563,10 @@ protected: void resetInputContext(); - virtual void create( WId = 0, bool initializeWindow = TRUE, - bool destroyOldWindow = TRUE ); - virtual void destroy( bool destroyWindow = TRUE, - bool destroySubWindows = TRUE ); + virtual void create( WId = 0, bool initializeWindow = true, + bool destroyOldWindow = true ); + virtual void destroy( bool destroyWindow = true, + bool destroySubWindows = true ); uint getWState() const; virtual void setWState( uint ); void clearWState( uint n ); @@ -581,7 +581,7 @@ protected: TQFocusData *focusData(); virtual void setKeyCompression(bool); - virtual void setMicroFocusHint(int x, int y, int w, int h, bool text=TRUE, TQFont *f = 0); + virtual void setMicroFocusHint(int x, int y, int w, int h, bool text=true, TQFont *f = 0); #if defined(TQ_WS_MAC) void dirtyClippedRegion(bool); @@ -604,7 +604,7 @@ private: uint own_id : 1, macDropEnabled : 1; EventHandlerRef window_event; //mac event functions - void propagateUpdates(bool update_rgn=TRUE); + void propagateUpdates(bool update_rgn=true); void update( const TQRegion& ); //friends, way too many - fix this immediately! friend void qt_clean_root_win(); @@ -805,7 +805,7 @@ inline void TQWidget::update( const TQRect &r ) { update( r.x(), r.y(), r.width(), r.height() ); } inline void TQWidget::repaint() -{ repaint( TRUE ); } +{ repaint( true ); } inline void TQWidget::repaint( const TQRect &r, bool erase ) { repaint( r.x(), r.y(), r.width(), r.height(), erase ); } @@ -817,7 +817,7 @@ inline void TQWidget::erase( const TQRect &r ) { erase( r.x(), r.y(), r.width(), r.height() ); } inline bool TQWidget::close() -{ return close( FALSE ); } +{ return close( false ); } inline bool TQWidget::isVisible() const { return testWState(WState_Visible); } |