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 | |
parent | 4d7f4e86544b316655c3fe4d547a80c11a58eed5 (diff) | |
download | tdebindings-dd066e0decc815fe919173830c7110e656f27f18.tar.gz tdebindings-dd066e0decc815fe919173830c7110e656f27f18.zip |
Update TQt3 property/enum macros
Diffstat (limited to 'kjsembed/bindings')
-rw-r--r-- | kjsembed/bindings/kconfig_imp.h | 8 | ||||
-rw-r--r-- | kjsembed/bindings/movie_imp.h | 4 | ||||
-rw-r--r-- | kjsembed/bindings/sql_imp.h | 30 |
3 files changed, 21 insertions, 21 deletions
diff --git a/kjsembed/bindings/kconfig_imp.h b/kjsembed/bindings/kconfig_imp.h index 5eb99973..be27b24d 100644 --- a/kjsembed/bindings/kconfig_imp.h +++ b/kjsembed/bindings/kconfig_imp.h @@ -45,10 +45,10 @@ namespace Bindings { class Config : public BindingObject { Q_OBJECT - Q_PROPERTY( bool forceGlobal READ forceGlobal WRITE setForceGlobal ) - Q_PROPERTY( bool dollarExpansion READ isDollarExpansion WRITE setDollarExpansion ) - Q_PROPERTY( bool readOnly READ isReadOnly WRITE setReadOnly ) - Q_PROPERTY( bool readDefaults READ readDefaults WRITE setReadDefaults ) + TQ_PROPERTY( bool forceGlobal READ forceGlobal WRITE setForceGlobal ) + TQ_PROPERTY( bool dollarExpansion READ isDollarExpansion WRITE setDollarExpansion ) + TQ_PROPERTY( bool readOnly READ isReadOnly WRITE setReadOnly ) + TQ_PROPERTY( bool readDefaults READ readDefaults WRITE setReadDefaults ) public: Config( TQObject *parent=0, const char *name=0); diff --git a/kjsembed/bindings/movie_imp.h b/kjsembed/bindings/movie_imp.h index 74508e99..5a3bfcee 100644 --- a/kjsembed/bindings/movie_imp.h +++ b/kjsembed/bindings/movie_imp.h @@ -39,8 +39,8 @@ class Movie : public BindingObject { Q_OBJECT - Q_PROPERTY( TQColor setBackgroundColor READ backgroundColor ) - Q_PROPERTY( int setSpeed READ speed ) + TQ_PROPERTY( TQColor setBackgroundColor READ backgroundColor ) + TQ_PROPERTY( int setSpeed READ speed ) public: Movie( TQObject *parent=0, const char *name=0 ); 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 ); |