diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-20 21:00:46 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-20 21:00:46 -0500 |
commit | dd066e0decc815fe919173830c7110e656f27f18 (patch) | |
tree | 83b456e5d31614c660336893adbbf66476d7d4de /kjsembed/bindings/sql_imp.h | |
parent | 4d7f4e86544b316655c3fe4d547a80c11a58eed5 (diff) | |
download | tdebindings-dd066e0decc815fe919173830c7110e656f27f18.tar.gz tdebindings-dd066e0decc815fe919173830c7110e656f27f18.zip |
Update TQt3 property/enum macros
Diffstat (limited to 'kjsembed/bindings/sql_imp.h')
-rw-r--r-- | kjsembed/bindings/sql_imp.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kjsembed/bindings/sql_imp.h b/kjsembed/bindings/sql_imp.h index 950ef156..08555e84 100644 --- a/kjsembed/bindings/sql_imp.h +++ b/kjsembed/bindings/sql_imp.h @@ -36,14 +36,14 @@ namespace Bindings { class SqlQuery : public BindingObject { Q_OBJECT - Q_PROPERTY( int size READ size) - Q_PROPERTY( int at READ at) - Q_PROPERTY( int numRowsAffected READ numRowsAffected ) - Q_PROPERTY( bool select READ isSelect) - Q_PROPERTY( bool valid READ isValid) - Q_PROPERTY( bool active READ isActive) - Q_PROPERTY( TQString lastError READ lastError) - Q_PROPERTY( TQString lastQuery READ lastQuery) + TQ_PROPERTY( int size READ size) + TQ_PROPERTY( int at READ at) + TQ_PROPERTY( int numRowsAffected READ numRowsAffected ) + TQ_PROPERTY( bool select READ isSelect) + TQ_PROPERTY( bool valid READ isValid) + TQ_PROPERTY( bool active READ isActive) + TQ_PROPERTY( TQString lastError READ lastError) + TQ_PROPERTY( TQString lastQuery READ lastQuery) public: SqlQuery( TQObject *parent=0, const char *name=0 ); @@ -89,13 +89,13 @@ private: class SqlDatabase : public BindingObject { Q_OBJECT - Q_PROPERTY( TQString databaseName READ databaseName WRITE setDatabaseName) - Q_PROPERTY( TQString userName READ userName WRITE setUserName) - Q_PROPERTY( TQString password READ password WRITE setPassword) - Q_PROPERTY( TQString hostName READ hostName WRITE setHostName) - Q_PROPERTY( int port READ port WRITE setPort) - Q_PROPERTY( TQString driverName READ driverName) - Q_PROPERTY( TQString lastError READ lastError) + TQ_PROPERTY( TQString databaseName READ databaseName WRITE setDatabaseName) + TQ_PROPERTY( TQString userName READ userName WRITE setUserName) + TQ_PROPERTY( TQString password READ password WRITE setPassword) + TQ_PROPERTY( TQString hostName READ hostName WRITE setHostName) + TQ_PROPERTY( int port READ port WRITE setPort) + TQ_PROPERTY( TQString driverName READ driverName) + TQ_PROPERTY( TQString lastError READ lastError) public: SqlDatabase( TQObject *parent=0, const char *name=0 ); |