diff options
Diffstat (limited to 'doc/html/qmake-manual-7.html')
-rw-r--r-- | doc/html/qmake-manual-7.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/qmake-manual-7.html b/doc/html/qmake-manual-7.html index 8c71e939f..2fd24c8af 100644 --- a/doc/html/qmake-manual-7.html +++ b/doc/html/qmake-manual-7.html @@ -56,9 +56,9 @@ body { background: #ffffff; color: black; } #include <stdlib> #include <iostream> #include <vector> - #include <qapplication.h> // TQt includes - #include <qpushbutton.h> - #include <qlabel.h> + #include <ntqapplication.h> // TQt includes + #include <ntqpushbutton.h> + #include <ntqlabel.h> #include "thirdparty/include/libmain.h" #include "my_stable_class.h" ... @@ -121,15 +121,15 @@ body { background: #ffffff; color: black; } /* Add C++ includes here */ # include <iostream> - # include <qapplication.h> - # include <qpushbutton.h> - # include <qlabel.h> + # include <ntqapplication.h> + # include <ntqpushbutton.h> + # include <ntqlabel.h> #endif </pre> <p><b>myobject.h</b></p> -<pre> #include <<a href="qobject-h.html">qobject.h</a>> +<pre> #include <<a href="qobject-h.html">ntqobject.h</a>> - class MyObject : public <a href="qobject.html">TQObject</a> + class MyObject : public <a href="ntqobject.html">TQObject</a> { public: MyObject(); @@ -138,11 +138,11 @@ body { background: #ffffff; color: black; } </pre> <p><b>myobject.cpp</b></p> <pre> #include <iostream> - #include <<a href="qobject-h.html">qobject.h</a>> + #include <<a href="qobject-h.html">ntqobject.h</a>> #include "myobject.h" MyObject::MyObject() - : <a href="qobject.html">TQObject</a>() + : <a href="ntqobject.html">TQObject</a>() { std::cout << "MyObject::MyObject()\n"; } @@ -156,23 +156,23 @@ body { background: #ffffff; color: black; } } </pre> <p><b>main.cpp</b></p> -<pre> #include <<a href="qapplication-h.html">qapplication.h</a>> - #include <<a href="qpushbutton-h.html">qpushbutton.h</a>> - #include <<a href="qlabel-h.html">qlabel.h</a>> +<pre> #include <<a href="qapplication-h.html">ntqapplication.h</a>> + #include <<a href="qpushbutton-h.html">ntqpushbutton.h</a>> + #include <<a href="qlabel-h.html">ntqlabel.h</a>> #include "myobject.h" #include "mydialog.h" int main(int argc, char **argv) { - <a href="qapplication.html">TQApplication</a> app(argc, argv); + <a href="ntqapplication.html">TQApplication</a> app(argc, argv); MyObject obj; MyDialog dia; - app.<a href="qapplication.html#setMainWidget">setMainWidget</a>( &dia ); - dia.connect( dia.aButton, SIGNAL(clicked()), SLOT(<a href="qwidget.html#close">close</a>()) ); + app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &dia ); + dia.connect( dia.aButton, SIGNAL(clicked()), SLOT(<a href="ntqwidget.html#close">close</a>()) ); dia.show(); - return app.<a href="qapplication.html#exec">exec</a>(); + return app.<a href="ntqapplication.html#exec">exec</a>(); } </pre> <p><b>precompile.pro</b></p> |