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:51:37 +0900 |
commit | f3d43273fab6185fb07a20829ba537c650261a16 (patch) | |
tree | 1c587bc4e2af242a54f79334ec76e9119127addc /doc | |
parent | 4ab396a40eb06d14b10d8a35a4ca2166a677804f (diff) | |
download | tdevelop-f3d43273fab6185fb07a20829ba537c650261a16.tar.gz tdevelop-f3d43273fab6185fb07a20829ba537c650261a16.zip |
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9c40420b261ea30555cabc299829028ee345b9e5)
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> |