summaryrefslogtreecommitdiffstats
path: root/doc/man/man1
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /doc/man/man1
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
Diffstat (limited to 'doc/man/man1')
-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 749b3de5..5e524454 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: