summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/sql_imp.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/bindings/sql_imp.h')
-rw-r--r--kjsembed/bindings/sql_imp.h30
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 );