From 93816e0a2c4477711497263902fe5222483da892 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 20 Jul 2023 13:36:31 +0900 Subject: Replace Q_OBJECT with TQ_OBJECT Signed-off-by: Michele Calgaro (cherry picked from commit 4a70f1720eb66ddeb89d4340e44c601e3613b837) --- developer-doc/phb/dialogs.docbook | 4 ++-- developer-doc/phb/settings.docbook | 2 +- developer-doc/phb/src-examples.docbook | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'developer-doc') diff --git a/developer-doc/phb/dialogs.docbook b/developer-doc/phb/dialogs.docbook index 66f8d16..539c353 100644 --- a/developer-doc/phb/dialogs.docbook +++ b/developer-doc/phb/dialogs.docbook @@ -64,7 +64,7 @@ class <KN>Dlg : public <KN>DlgDecl { - Q_OBJECT + TQ_OBJECT public: <KN>Dlg(QWidget *parent = 0, const char *name = 0); ~<KN>Dlg(); @@ -74,7 +74,7 @@ The include file will have been generated by the Qt UIC (User Interface Compiler) from the .ui file for the dialog, under control of the make process. - The Q_OBJECT macro (written without any punctuation) will cause the Qt MOC (Meta Object Compiler) to generate additional object code and files which are necessary to support the signal/slot functionality (among other things). + The TQ_OBJECT macro (written without any punctuation) will cause the Qt MOC (Meta Object Compiler) to generate additional object code and files which are necessary to support the signal/slot functionality (among other things). The class declaration must also include a diff --git a/developer-doc/phb/settings.docbook b/developer-doc/phb/settings.docbook index 5c47bf9..184aa75 100644 --- a/developer-doc/phb/settings.docbook +++ b/developer-doc/phb/settings.docbook @@ -26,7 +26,7 @@ Create the view using designer, name it XxxDecl and store it in kmymon Create the class that contains the logic for the settings page, name it Xxx and store it in kmymoney2/dialogs/settings/xxx.[cpp|h]. -Don't forget the Q_OBJECT macro at the beginning of the class declaration in the .h file and make the class a public derivative of XxxDecl +Don't forget the TQ_OBJECT macro at the beginning of the class declaration in the .h file and make the class a public derivative of XxxDecl diff --git a/developer-doc/phb/src-examples.docbook b/developer-doc/phb/src-examples.docbook index 1e12ed9..f0042f6 100644 --- a/developer-doc/phb/src-examples.docbook +++ b/developer-doc/phb/src-examples.docbook @@ -64,7 +64,7 @@ This appendix contains an example of a * @short A class to manipulate the settings needed for running KMyMoney2 **/ class KSettingsDlg : public KDialogBase { - Q_OBJECT + TQ_OBJECT private: /** Start prompt dialog */ -- cgit v1.2.1