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/qwidget-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/qwidget-h.html')
| -rw-r--r-- | doc/html/qwidget-h.html | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/html/qwidget-h.html b/doc/html/qwidget-h.html index e8e44a7b2..cab4c2b2e 100644 --- a/doc/html/qwidget-h.html +++ b/doc/html/qwidget-h.html @@ -368,7 +368,7 @@ public: bool isUpdatesEnabled() const; #if 0 //def TQ_WS_QWS - void repaintUnclipped( const TQRegion &, bool erase = TRUE ); + void repaintUnclipped( const TQRegion &, bool erase = true ); #endif public slots: virtual void setUpdatesEnabled( bool enable ); @@ -377,9 +377,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 @@ -427,7 +427,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; @@ -442,12 +442,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(); @@ -484,23 +484,23 @@ 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_QWS) - virtual TQGfx * graphicsContext(bool clip_children=TRUE) const; + virtual TQGfx * graphicsContext(bool clip_children=true) const; #endif #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 @@ -576,10 +576,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 ); @@ -594,7 +594,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); @@ -617,7 +617,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(); @@ -850,7 +850,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 ); } @@ -862,7 +862,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); } |
