diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /doc/object.doc | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
Diffstat (limited to 'doc/object.doc')
-rw-r--r-- | doc/object.doc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/object.doc b/doc/object.doc index 4ff1e98af..cd8ffb279 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 |