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.120
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man1/moc.1 b/doc/man/man1/moc.1
index 749b3de5f..5e524454a 100644
--- a/doc/man/man1/moc.1
+++ b/doc/man/man1/moc.1
@@ -116,7 +116,7 @@ like this:
.in +4
.nf
class YourClass : public QObject {
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( ... )
Q_CLASSINFO( ... )
@@ -215,7 +215,7 @@ example:
.in +4
.nf
class SomeTemplate<int> : public QFrame {
- Q_OBJECT
+ TQ_OBJECT
....
signals:
void bugInMocDetected( int );
@@ -255,7 +255,7 @@ better alternative. Here is an example of illegal syntax:
.in +4
.nf
class SomeClass : public QObject {
- Q_OBJECT
+ TQ_OBJECT
...
public slots:
// illegal
@@ -271,7 +271,7 @@ You can work around this restriction like this:
typedef void (*ApplyFunctionType)( List *, void * );
class SomeClass : public QObject {
- Q_OBJECT
+ TQ_OBJECT
...
public slots:
void apply( ApplyFunctionType, char * );
@@ -296,7 +296,7 @@ sections instead. Here is an example of the illegal syntax:
.in +4
.nf
class SomeClass : public QObject {
- Q_OBJECT
+ TQ_OBJECT
...
signals:
friend class ClassTemplate<char>; // illegal
@@ -358,7 +358,7 @@ Here's an example:
.in +4
.nf
class A {
- Q_OBJECT
+ TQ_OBJECT
public:
class B {
public slots: // illegal
@@ -389,7 +389,7 @@ sections, where they belong. Here is an example of the illegal syntax:
.in +4
.nf
class SomeClass : public QObject {
- Q_OBJECT
+ TQ_OBJECT
public slots:
SomeClass( QObject *parent, const char *name )
: QObject( parent, name ) {} // illegal
@@ -410,7 +410,7 @@ illegal syntax:
.in +4
.nf
class SomeClass : public QObject {
- Q_OBJECT
+ TQ_OBJECT
public:
...
// illegal
@@ -425,12 +425,12 @@ public:
.in -4
.PP
Work around this limitation by declaring all properties at the
-beginning of the class declaration, right after Q_OBJECT:
+beginning of the class declaration, right after TQ_OBJECT:
.PP
.in +4
.nf
class SomeClass : public QObject {
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( Priority priority READ priority WRITE setPriority )
Q_ENUMS( Priority )
public: