summaryrefslogtreecommitdiffstats
path: root/kword/mailmerge/sql/KWMySqlCursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'kword/mailmerge/sql/KWMySqlCursor.h')
-rw-r--r--kword/mailmerge/sql/KWMySqlCursor.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kword/mailmerge/sql/KWMySqlCursor.h b/kword/mailmerge/sql/KWMySqlCursor.h
index f08b62aea..d737c3ccf 100644
--- a/kword/mailmerge/sql/KWMySqlCursor.h
+++ b/kword/mailmerge/sql/KWMySqlCursor.h
@@ -38,7 +38,7 @@ class KWMySqlCursor: public TQSqlCursor
{
public:
KWMySqlCursor( const TQString & query = TQString(), bool autopopulate =
-TRUE, TQSqlDatabase* db = 0 ): TQSqlCursor( TQString(), autopopulate, db )
+true, TQSqlDatabase* db = 0 ): TQSqlCursor( TQString(), autopopulate, db )
{
exec( query );
if ( autopopulate )
@@ -47,7 +47,7 @@ TRUE, TQSqlDatabase* db = 0 ): TQSqlCursor( TQString(), autopopulate, db )
setMode( TQSqlCursor::ReadOnly );
}
KWMySqlCursor( const KWMySqlCursor & other ): TQSqlCursor( other ) {}
- KWMySqlCursor( const TQSqlQuery & query, bool autopopulate = TRUE ):
+ KWMySqlCursor( const TQSqlQuery & query, bool autopopulate = true ):
TQSqlCursor( TQString(), autopopulate )
{
*(TQSqlQuery*)this = query;
@@ -57,12 +57,12 @@ TQSqlCursor( TQString(), autopopulate )
}
bool select( const TQString & /*filter*/, const TQSqlIndex & /*sort*/ =
TQSqlIndex() ) { return exec( lastQuery() ); }
- TQSqlIndex primaryIndex( bool /*prime*/ = TRUE ) const { return
+ TQSqlIndex primaryIndex( bool /*prime*/ = true ) const { return
TQSqlIndex(); }
- int insert( bool /*invalidate*/ = TRUE ) { return FALSE; }
- int update( bool /*invalidate*/ = TRUE ) { return FALSE; }
- int del( bool /*invalidate*/ = TRUE ) { return FALSE; }
- void setName( const TQString& /*name*/, bool /*autopopulate*/ = TRUE ) {}
+ int insert( bool /*invalidate*/ = true ) { return false; }
+ int update( bool /*invalidate*/ = true ) { return false; }
+ int del( bool /*invalidate*/ = true ) { return false; }
+ void setName( const TQString& /*name*/, bool /*autopopulate*/ = true ) {}
};