|
|
@ -36,14 +36,14 @@ namespace Bindings {
|
|
|
|
class SqlQuery : public BindingObject
|
|
|
|
class SqlQuery : public BindingObject
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
Q_OBJECT
|
|
|
|
Q_PROPERTY( int size READ size)
|
|
|
|
TQ_PROPERTY( int size READ size)
|
|
|
|
Q_PROPERTY( int at READ at)
|
|
|
|
TQ_PROPERTY( int at READ at)
|
|
|
|
Q_PROPERTY( int numRowsAffected READ numRowsAffected )
|
|
|
|
TQ_PROPERTY( int numRowsAffected READ numRowsAffected )
|
|
|
|
Q_PROPERTY( bool select READ isSelect)
|
|
|
|
TQ_PROPERTY( bool select READ isSelect)
|
|
|
|
Q_PROPERTY( bool valid READ isValid)
|
|
|
|
TQ_PROPERTY( bool valid READ isValid)
|
|
|
|
Q_PROPERTY( bool active READ isActive)
|
|
|
|
TQ_PROPERTY( bool active READ isActive)
|
|
|
|
Q_PROPERTY( TQString lastError READ lastError)
|
|
|
|
TQ_PROPERTY( TQString lastError READ lastError)
|
|
|
|
Q_PROPERTY( TQString lastQuery READ lastQuery)
|
|
|
|
TQ_PROPERTY( TQString lastQuery READ lastQuery)
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
SqlQuery( TQObject *parent=0, const char *name=0 );
|
|
|
|
SqlQuery( TQObject *parent=0, const char *name=0 );
|
|
|
@ -89,13 +89,13 @@ private:
|
|
|
|
class SqlDatabase : public BindingObject
|
|
|
|
class SqlDatabase : public BindingObject
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
Q_OBJECT
|
|
|
|
Q_PROPERTY( TQString databaseName READ databaseName WRITE setDatabaseName)
|
|
|
|
TQ_PROPERTY( TQString databaseName READ databaseName WRITE setDatabaseName)
|
|
|
|
Q_PROPERTY( TQString userName READ userName WRITE setUserName)
|
|
|
|
TQ_PROPERTY( TQString userName READ userName WRITE setUserName)
|
|
|
|
Q_PROPERTY( TQString password READ password WRITE setPassword)
|
|
|
|
TQ_PROPERTY( TQString password READ password WRITE setPassword)
|
|
|
|
Q_PROPERTY( TQString hostName READ hostName WRITE setHostName)
|
|
|
|
TQ_PROPERTY( TQString hostName READ hostName WRITE setHostName)
|
|
|
|
Q_PROPERTY( int port READ port WRITE setPort)
|
|
|
|
TQ_PROPERTY( int port READ port WRITE setPort)
|
|
|
|
Q_PROPERTY( TQString driverName READ driverName)
|
|
|
|
TQ_PROPERTY( TQString driverName READ driverName)
|
|
|
|
Q_PROPERTY( TQString lastError READ lastError)
|
|
|
|
TQ_PROPERTY( TQString lastError READ lastError)
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
SqlDatabase( TQObject *parent=0, const char *name=0 );
|
|
|
|
SqlDatabase( TQObject *parent=0, const char *name=0 );
|
|
|
|