diff options
author | Darrell Anderson <[email protected]> | 2012-10-21 18:55:44 -0500 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2012-10-21 18:55:44 -0500 |
commit | 6b6c9a354dbda88664fb1aebda9bb1df77a4aa2d (patch) | |
tree | f13bbebb928d6448ff186bc596fa58fa6b8892d9 /doc/man/man1/moc.1 | |
parent | 56cd55070ee6c5267fde1aae4d5251e400dea64d (diff) | |
parent | 7608f0043b6dfc0b1adcaa8912793e1d3fe7b636 (diff) | |
download | tqt3-6b6c9a354dbda88664fb1aebda9bb1df77a4aa2d.tar.gz tqt3-6b6c9a354dbda88664fb1aebda9bb1df77a4aa2d.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tqt3
Diffstat (limited to 'doc/man/man1/moc.1')
-rw-r--r-- | doc/man/man1/moc.1 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man1/moc.1 b/doc/man/man1/moc.1 index 5e524454a..ac83e7528 100644 --- a/doc/man/man1/moc.1 +++ b/doc/man/man1/moc.1 @@ -117,8 +117,8 @@ like this: .nf class YourClass : public QObject { TQ_OBJECT - Q_PROPERTY( ... ) - Q_CLASSINFO( ... ) + TQ_PROPERTY( ... ) + TQ_CLASSINFO( ... ) public: YourClass( QObject * parent=0, const char * name=0 ); @@ -414,8 +414,8 @@ class SomeClass : public QObject { public: ... // illegal - Q_PROPERTY( Priority priority READ priority WRITE setPriority ) - Q_ENUMS( Priority ) + TQ_PROPERTY( Priority priority READ priority WRITE setPriority ) + TQ_ENUMS( Priority ) enum Priority { High, Low, VeryHigh, VeryLow }; void setPriority( Priority ); Priority priority() const; @@ -431,8 +431,8 @@ beginning of the class declaration, right after TQ_OBJECT: .nf class SomeClass : public QObject { TQ_OBJECT - Q_PROPERTY( Priority priority READ priority WRITE setPriority ) - Q_ENUMS( Priority ) + TQ_PROPERTY( Priority priority READ priority WRITE setPriority ) + TQ_ENUMS( Priority ) public: ... enum Priority { High, Low, VeryHigh, VeryLow }; |