summaryrefslogtreecommitdiffstats
path: root/cervisia/qttableview.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-08 12:10:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-08 16:46:41 +0900
commit0821b7f9badc0bb1bf74d8b9040bce6f47997569 (patch)
treeb8f15cd99f25ad3a97d2eb83ba03d914e6567534 /cervisia/qttableview.h
parent7fe83e6a30ffeb074d4e16a507d27439a733f4b3 (diff)
downloadtdesdk-r14.1.4.tar.gz
tdesdk-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb63dae0e786f0bcf421bdff1d0bef70ba587f8b)
Diffstat (limited to 'cervisia/qttableview.h')
-rw-r--r--cervisia/qttableview.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/cervisia/qttableview.h b/cervisia/qttableview.h
index df85cd71..c911dca2 100644
--- a/cervisia/qttableview.h
+++ b/cervisia/qttableview.h
@@ -32,9 +32,9 @@ public:
virtual void setPalette( const TQPalette & );
void show();
- void repaint( 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( bool erase=true );
+ void repaint( int x, int y, int w, int h, bool erase=true );
+ void repaint( const TQRect &, bool erase=true );
protected:
QtTableView( TQWidget *parent=0, const char *name=0, WFlags f=0 );
@@ -55,7 +55,7 @@ protected:
virtual void setXOffset( int );
int yOffset() const;
virtual void setYOffset( int );
- virtual void setOffset( int x, int y, bool updateScrBars = TRUE );
+ virtual void setOffset( int x, int y, bool updateScrBars = true );
virtual int cellWidth( int col );
virtual int cellHeight( int row );
@@ -75,7 +75,7 @@ protected:
bool autoUpdate() const;
virtual void setAutoUpdate( bool );
- void updateCell( int row, int column, bool erase=TRUE );
+ void updateCell( int row, int column, bool erase=true );
TQRect cellUpdateRect() const;
TQRect viewRect() const;
@@ -130,13 +130,13 @@ protected:
private:
void coverCornerSquare( bool );
void snapToGrid( bool horizontal, bool vertical );
- virtual void setHorScrollBar( bool on, bool update = TRUE );
- virtual void setVerScrollBar( bool on, bool update = TRUE );
+ virtual void setHorScrollBar( bool on, bool update = true );
+ virtual void setVerScrollBar( bool on, bool update = true );
void updateView();
int findRawRow( int yPos, int *cellMaxY, int *cellMinY = 0,
- bool goOutsideView = FALSE ) const;
+ bool goOutsideView = false ) const;
int findRawCol( int xPos, int *cellMaxX, int *cellMinX = 0,
- bool goOutsideView = FALSE ) const;
+ bool goOutsideView = false ) const;
int maxColsVisible() const;
void updateScrollBars( uint );