summaryrefslogtreecommitdiffstats
path: root/doc/man/man1/moc.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man1/moc.1')
-rw-r--r--doc/man/man1/moc.112
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 };