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/tqsqlform.cpp | |
| 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/tqsqlform.cpp')
| -rw-r--r-- | src/sql/tqsqlform.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sql/tqsqlform.cpp b/src/sql/tqsqlform.cpp index c3da08e30..741df3a7a 100644 --- a/src/sql/tqsqlform.cpp +++ b/src/sql/tqsqlform.cpp @@ -52,7 +52,7 @@ class TQSqlFormPrivate { public: - TQSqlFormPrivate() : propertyMap( 0 ), buf( 0 ), dirty( FALSE ) {} + TQSqlFormPrivate() : propertyMap( 0 ), buf( 0 ), dirty( false ) {} ~TQSqlFormPrivate() { if ( propertyMap ) delete propertyMap; } TQStringList fld; TQDict<TQWidget> wgt; @@ -172,7 +172,7 @@ void TQSqlForm::installPropertyMap( TQSqlPropertyMap * pmap ) void TQSqlForm::setRecord( TQSqlRecord* buf ) { - d->dirty = TRUE; + d->dirty = true; d->buf = buf; } @@ -186,7 +186,7 @@ void TQSqlForm::setRecord( TQSqlRecord* buf ) void TQSqlForm::insert( TQWidget * widget, const TQString& field ) { - d->dirty = TRUE; + d->dirty = true; d->wgt.insert( field, widget ); d->fld += field; } @@ -199,7 +199,7 @@ void TQSqlForm::insert( TQWidget * widget, const TQString& field ) void TQSqlForm::remove( const TQString& field ) { - d->dirty = TRUE; + d->dirty = true; if ( d->fld.find( field ) != d->fld.end() ) d->fld.remove( d->fld.find( field ) ); d->wgt.remove( field ); @@ -229,8 +229,8 @@ void TQSqlForm::remove( TQWidget * widget ) /*! Clears the values in all the widgets, and the fields they are - mapped to, in the form. If \a nullify is TRUE (the default is - FALSE), each field is also set to NULL. + mapped to, in the form. If \a nullify is true (the default is + false), each field is also set to NULL. */ void TQSqlForm::clearValues( bool nullify ) { @@ -248,7 +248,7 @@ void TQSqlForm::clearValues( bool nullify ) */ void TQSqlForm::clear() { - d->dirty = TRUE; + d->dirty = true; d->fld.clear(); clearMap(); } @@ -387,7 +387,7 @@ void TQSqlForm::sync() insert( d->wgt[ d->fld[ i ] ], d->buf->field( d->fld[ i ] ) ); } } - d->dirty = FALSE; + d->dirty = false; } /*! \internal |
