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/tqtable-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/tqtable-h.html')
-rw-r--r-- | doc/html/tqtable-h.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/tqtable-h.html b/doc/html/tqtable-h.html index 2eed3a565..22fef3bb2 100644 --- a/doc/html/tqtable-h.html +++ b/doc/html/tqtable-h.html @@ -217,7 +217,7 @@ private: class TQM_EXPORT_TABLE TQComboTableItem : public TQTableItem { public: - TQComboTableItem( TQTable *table, const TQStringList &list, bool editable = FALSE ); + TQComboTableItem( TQTable *table, const TQStringList &list, bool editable = false ); ~TQComboTableItem(); virtual TQWidget *createEditor() const; virtual void setContentFromEditor( TQWidget *w ); @@ -336,8 +336,8 @@ public: void ensureCellVisible( int row, int col ); bool isSelected( int row, int col ) const; - bool isRowSelected( int row, bool full = FALSE ) const; - bool isColumnSelected( int col, bool full = FALSE ) const; + bool isRowSelected( int row, bool full = false ) const; + bool isColumnSelected( int col, bool full = false ) const; int numSelections() const; TQTableSelection selection( int num ) const; virtual int addSelection( const TQTableSelection &s ); @@ -354,8 +354,8 @@ public: bool columnMovingEnabled() const; bool rowMovingEnabled() const; - virtual void sortColumn( int col, bool ascending = TRUE, - bool wholeRows = FALSE ); + virtual void sortColumn( int col, bool ascending = true, + bool wholeRows = false ); bool sorting() const; virtual void takeItem( TQTableItem *i ); @@ -409,14 +409,14 @@ public slots: bool isColumnStretchable( int col ) const; bool isRowStretchable( int row ) const; virtual void setSorting( bool b ); - virtual void swapRows( int row1, int row2, bool swapHeader = FALSE ); - virtual void swapColumns( int col1, int col2, bool swapHeader = FALSE ); + virtual void swapRows( int row1, int row2, bool swapHeader = false ); + virtual void swapColumns( int col1, int col2, bool swapHeader = false ); virtual void swapCells( int row1, int col1, int row2, int col2 ); virtual void setLeftMargin( int m ); virtual void setTopMargin( int m ); virtual void setCurrentCell( int row, int col ); - void clearSelection( bool repaint = TRUE ); + void clearSelection( bool repaint = true ); virtual void setColumnMovingEnabled( bool b ); virtual void setRowMovingEnabled( bool b ); @@ -434,7 +434,7 @@ public slots: virtual void removeColumn( int col ); virtual void removeColumns( const TQMemArray<int> &cols ); - virtual void editCell( int row, int col, bool replace = FALSE ); + virtual void editCell( int row, int col, bool replace = false ); void setRowLabels( const TQStringList &labels ); void setColumnLabels( const TQStringList &labels ); @@ -510,8 +510,8 @@ private: void updateGeometries(); void repaintSelections( TQTableSelection *oldSelection, TQTableSelection *newSelection, - bool updateVertical = TRUE, - bool updateHorizontal = TRUE ); + bool updateVertical = true, + bool updateHorizontal = true ); TQRect rangeGeometry( int topRow, int leftCol, int bottomRow, int rightCol, bool &optimize ); void fixRow( int &row, int y ); @@ -528,7 +528,7 @@ private: void updateRowWidgets( int row ); void updateColWidgets( int col ); bool isSelected( int row, int col, bool includeCurrent ) const; - void setCurrentCell( int row, int col, bool updateSelections, bool ensureVisible = FALSE ); + void setCurrentCell( int row, int col, bool updateSelections, bool ensureVisible = false ); void fixCell( int &row, int &col, int key ); void delayedUpdateGeometries(); struct TableWidget |