diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-06 17:33:43 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-07 11:57:25 +0900 |
| commit | 5a863a8932d14b99c5f838c4efa1618070d71b29 (patch) | |
| tree | 000bd50b5c488635f9663b16b7fbfe5380435a04 /src/sql/tqdatatable.h | |
| parent | 771af909e74927126fba90ec6e0298dc68d5bf4f (diff) | |
| download | tqt-5a863a8932d14b99c5f838c4efa1618070d71b29.tar.gz tqt-5a863a8932d14b99c5f838c4efa1618070d71b29.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/sql/tqdatatable.h')
| -rw-r--r-- | src/sql/tqdatatable.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sql/tqdatatable.h b/src/sql/tqdatatable.h index 530d30ce1..c287ec042 100644 --- a/src/sql/tqdatatable.h +++ b/src/sql/tqdatatable.h @@ -86,7 +86,7 @@ class TQM_EXPORT_SQL TQDataTable : public TQTable public: TQDataTable ( TQWidget* parent=0, const char* name=0 ); - TQDataTable ( TQSqlCursor* cursor, bool autoPopulate = FALSE, TQWidget* parent=0, const char* name=0 ); + TQDataTable ( TQSqlCursor* cursor, bool autoPopulate = false, TQWidget* parent=0, const char* name=0 ); ~TQDataTable(); virtual void addColumn( const TQString& fieldName, @@ -114,7 +114,7 @@ public: TQStringList sort() const; virtual void setSqlCursor( TQSqlCursor* cursor = 0, - bool autoPopulate = FALSE, bool autoDelete = FALSE ); + bool autoPopulate = false, bool autoDelete = false ); TQSqlCursor* sqlCursor() const; virtual void setNullText( const TQString& nullText ); @@ -138,8 +138,8 @@ public: RefreshAll = 3 }; void refresh( Refresh mode ); - void sortColumn ( int col, bool ascending = TRUE, - bool wholeRows = FALSE ); + void sortColumn ( int col, bool ascending = true, + bool wholeRows = false ); TQString text ( int row, int col ) const; TQVariant value ( int row, int col ) const; TQSqlRecord* currentRecord() const; @@ -174,7 +174,7 @@ public slots: void setColumnWidth( int col, int w ); void adjustColumn( int col ); void setColumnStretchable( int col, bool stretch ); - void swapColumns( int col1, int col2, bool swapHeaders = FALSE ); + void swapColumns( int col1, int col2, bool swapHeaders = false ); protected: virtual bool insertCurrent(); |
