From 359640943bcf155faa9a067dde9e00a123276290 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Feb 2012 17:43:39 -0600 Subject: Automated update from Qt3 --- doc/man/man1/moc.1 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/man/man1') 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 : 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; // 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: -- cgit v1.2.1