diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-20 15:07:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-21 17:28:49 +0900 |
commit | 9c40420b261ea30555cabc299829028ee345b9e5 (patch) | |
tree | 0bec930107d651516239f2592512b2057b9f5452 /doc | |
parent | 3f9cda007f52077d533117c4fa2441629ad9d796 (diff) | |
download | tdevelop-9c40420b261ea30555cabc299829028ee345b9e5.tar.gz tdevelop-9c40420b261ea30555cabc299829028ee345b9e5.zip |
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tde_app_devel/index.docbook | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tde_app_devel/index.docbook b/doc/tde_app_devel/index.docbook index 0149af56..24b3b005 100644 --- a/doc/tde_app_devel/index.docbook +++ b/doc/tde_app_devel/index.docbook @@ -422,7 +422,7 @@ that can be connected to methods declared as slots. For the C++ part of the prog some things about this mechanism: <itemizedlist> <listitem><para> -the class declaration of a class using signals/slots has to contain the Q_OBJECT macro at the beginning +the class declaration of a class using signals/slots has to contain the TQ_OBJECT macro at the beginning (without a semicolon); and have to be derved from the <classname>QObject</classname> class </para></listitem> <listitem><para> @@ -822,7 +822,7 @@ via &tdevelop;. <para> Before the next file (kscribble.cpp, line 29) is compiled, the moc (meta object compiler) is first invoked on kscribble.h (line 25). This is because KScribble classes use signals/slots, so the -Q_OBJECT macro must be expanded, and the moc does this for us. The resultant file, kscribble.moc, is +TQ_OBJECT macro must be expanded, and the moc does this for us. The resultant file, kscribble.moc, is used by kscribble.cpp via an #include statement inside of the file. </para> </sect1> |