summaryrefslogtreecommitdiffstats
path: root/developer-doc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 13:36:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-24 21:24:01 +0900
commit93816e0a2c4477711497263902fe5222483da892 (patch)
tree662803755443085144e615fae1678f2755eda8fd /developer-doc
parent7a469553db421dbc62a6eca20fd81fe6fc7bb01a (diff)
downloadkmymoney-93816e0a2c4477711497263902fe5222483da892.tar.gz
kmymoney-93816e0a2c4477711497263902fe5222483da892.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4a70f1720eb66ddeb89d4340e44c601e3613b837)
Diffstat (limited to 'developer-doc')
-rw-r--r--developer-doc/phb/dialogs.docbook4
-rw-r--r--developer-doc/phb/settings.docbook2
-rw-r--r--developer-doc/phb/src-examples.docbook2
3 files changed, 4 insertions, 4 deletions
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 @@
<para/>
<programlisting>
class &lt;KN&gt;Dlg : public &lt;KN&gt;DlgDecl {
- Q_OBJECT
+ TQ_OBJECT
public:
&lt;KN&gt;Dlg(QWidget *parent = 0, const char *name = 0);
~&lt;KN&gt;Dlg();
@@ -74,7 +74,7 @@
<para/>
<para>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.</para>
<para/>
- <para>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).</para>
+ <para>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).</para>
<para/>
<para>The class declaration must also include a </para>
<para/>
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 <filename>kmymon
Create the class that contains the logic for the settings page, name it Xxx and store it in <filename>kmymoney2/dialogs/settings/xxx.[cpp|h]</filename>.
</para>
<para>
-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
</para>
</listitem>
<listitem>
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 */