summaryrefslogtreecommitdiffstats
path: root/doc/object.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/object.doc')
-rw-r--r--doc/object.doc8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/object.doc b/doc/object.doc
index 4ff1e98a..cd8ffb27 100644
--- a/doc/object.doc
+++ b/doc/object.doc
@@ -154,7 +154,7 @@ single-threaded application without blocking the user interface.
class Mandelbrot : public QObject
{
- Q_OBJECT // required for signals/slots
+ TQ_OBJECT // required for signals/slots
public:
Mandelbrot( QObject *parent=0, const char *name );
...
@@ -290,7 +290,7 @@ functions in use:
\code
class MyClass : public QObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
MyClass( QObject * parent=0, const char * name=0 );
~MyClass();
@@ -341,7 +341,7 @@ final class declaration including the property related declarations:
\code
class MyClass : public QObject
{
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( Priority priority READ priority WRITE setPriority )
Q_ENUMS( Priority )
public:
@@ -650,7 +650,7 @@ Qt's <tt>moc</tt> (Meta Object Compiler) provides a clean way to go
beyond the compiled language's facilities. It does so by generating
additional C++ code which can be compiled by any standard C++ compiler.
The <tt>moc</tt> reads C++ source files. If it finds one or more class
-declarations that contain the "Q_OBJECT" macro, it produces another C++
+declarations that contain the "TQ_OBJECT" macro, it produces another C++
source file which contains the meta object code for those classes. The
C++ source file generated by the <tt>moc</tt> must be compiled and
linked with the implementation of the class (or it can be