summaryrefslogtreecommitdiffstats
path: root/src/sql/tqsqlform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql/tqsqlform.cpp')
-rw-r--r--src/sql/tqsqlform.cpp16
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