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/qlistbox-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/qlistbox-h.html')
| -rw-r--r-- | doc/html/qlistbox-h.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/qlistbox-h.html b/doc/html/qlistbox-h.html index edb186fa9..7f377f045 100644 --- a/doc/html/qlistbox-h.html +++ b/doc/html/qlistbox-h.html @@ -206,9 +206,9 @@ public: void viewportPaintEvent( TQPaintEvent * ); #ifndef TQT_NO_COMPAT - bool dragSelect() const { return TRUE; } + bool dragSelect() const { return true; } void setDragSelect( bool ) {} - bool autoScroll() const { return TRUE; } + bool autoScroll() const { return true; } void setAutoScroll( bool ) {} bool autoScrollBar() const { return vScrollBarMode() == Auto; } void setAutoScrollBar( bool enable ) { setVScrollBarMode( enable ? Auto : AlwaysOff ); } @@ -218,9 +218,9 @@ public: void setAutoBottomScrollBar( bool enable ) { setHScrollBarMode( enable ? Auto : AlwaysOff ); } bool bottomScrollBar() const { return hScrollBarMode() != AlwaysOff; } void setBottomScrollBar( bool enable ) { setHScrollBarMode( enable ? AlwaysOn : AlwaysOff ); } - bool smoothScrolling() const { return FALSE; } + bool smoothScrolling() const { return false; } void setSmoothScrolling( bool ) {} - bool autoUpdate() const { return TRUE; } + bool autoUpdate() const { return true; } void setAutoUpdate( bool ) {} void setFixedVisibleLines( int lines ) { setRowMode( lines ); } int inSort( const TQListBoxItem * ); @@ -239,7 +239,7 @@ public: TQListBoxItem *firstItem() const; - void sort( bool ascending = TRUE ); + void sort( bool ascending = true ); public slots: void clear(); @@ -332,7 +332,7 @@ private: void drawRubber(); void doRubberSelection( const TQRect &old, const TQRect &rubber ); void handleItemChange( TQListBoxItem *old, bool shift, bool control ); - void selectRange( TQListBoxItem *from, TQListBoxItem *to, bool invert, bool includeFirst, bool clearSel = FALSE ); + void selectRange( TQListBoxItem *from, TQListBoxItem *to, bool invert, bool includeFirst, bool clearSel = false ); void emitChangedSignal( bool ); |
