diff options
Diffstat (limited to 'doc/tde_app_devel/index.docbook')
-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> |