From 9c40420b261ea30555cabc299829028ee345b9e5 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 15:07:57 +0900 Subject: Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro --- doc/tde_app_devel/index.docbook | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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: -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 QObject class @@ -822,7 +822,7 @@ via &tdevelop;. 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. -- cgit v1.2.3