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/plugins | |
parent | 4d7f4e86544b316655c3fe4d547a80c11a58eed5 (diff) | |
download | tdebindings-dd066e0decc815fe919173830c7110e656f27f18.tar.gz tdebindings-dd066e0decc815fe919173830c7110e656f27f18.zip |
Update TQt3 property/enum macros
Diffstat (limited to 'kjsembed/plugins')
-rw-r--r-- | kjsembed/plugins/customqobject_plugin.h | 6 | ||||
-rw-r--r-- | kjsembed/plugins/qprocess_plugin.h | 16 |
2 files changed, 11 insertions, 11 deletions
diff --git a/kjsembed/plugins/customqobject_plugin.h b/kjsembed/plugins/customqobject_plugin.h index 42d7236b..d1e9608e 100644 --- a/kjsembed/plugins/customqobject_plugin.h +++ b/kjsembed/plugins/customqobject_plugin.h @@ -44,9 +44,9 @@ Q_OBJECT /** Identifiers for the methods provided by this class. */ enum Mode { On, Off }; - Q_PROPERTY(Mode mode READ mode WRITE setMode) - Q_PROPERTY(TQString thing READ thing WRITE setThing) - Q_ENUMS(Mode) + TQ_PROPERTY(Mode mode READ mode WRITE setMode) + TQ_PROPERTY(TQString thing READ thing WRITE setThing) + TQ_ENUMS(Mode) public: MyCustomTQObjectImp( TQObject *parent, const char *name); virtual ~MyCustomTQObjectImp(); diff --git a/kjsembed/plugins/qprocess_plugin.h b/kjsembed/plugins/qprocess_plugin.h index c5ffe4a5..fa1825ed 100644 --- a/kjsembed/plugins/qprocess_plugin.h +++ b/kjsembed/plugins/qprocess_plugin.h @@ -46,14 +46,14 @@ Q_OBJECT /** Identifiers for the methods provided by this class. */ enum Communication { Stdin = 0x01, Stdout = 0x02, Stderr = 0x04, DupStderr = 0x08 }; - Q_PROPERTY(TQStringList arguments READ arguments WRITE setArguments ) - Q_PROPERTY(Communication communication READ communication WRITE setCommunication) - Q_PROPERTY(bool canReadLineStdout READ canReadLineStdout ) - Q_PROPERTY(bool canReadLineStderr READ canReadLineStderr ) - Q_PROPERTY(bool isRunning READ isRunning ) - Q_PROPERTY(bool normalExit READ normalExit ) - Q_PROPERTY(int exitStatus READ exitStatus ) - Q_ENUMS(Communication) + TQ_PROPERTY(TQStringList arguments READ arguments WRITE setArguments ) + TQ_PROPERTY(Communication communication READ communication WRITE setCommunication) + TQ_PROPERTY(bool canReadLineStdout READ canReadLineStdout ) + TQ_PROPERTY(bool canReadLineStderr READ canReadLineStderr ) + TQ_PROPERTY(bool isRunning READ isRunning ) + TQ_PROPERTY(bool normalExit READ normalExit ) + TQ_PROPERTY(int exitStatus READ exitStatus ) + TQ_ENUMS(Communication) public: ProcessImp( TQObject *parent = 0, const char *name = 0); |