summaryrefslogtreecommitdiffstats
path: root/developer-doc/phb/dialogs.docbook
diff options
context:
space:
mode:
Diffstat (limited to 'developer-doc/phb/dialogs.docbook')
-rw-r--r--developer-doc/phb/dialogs.docbook18
1 files changed, 9 insertions, 9 deletions
diff --git a/developer-doc/phb/dialogs.docbook b/developer-doc/phb/dialogs.docbook
index 7e0eeb7..4ab642e 100644
--- a/developer-doc/phb/dialogs.docbook
+++ b/developer-doc/phb/dialogs.docbook
@@ -1,7 +1,7 @@
<chapter id="dialogs">
<title>Creating dialog boxes in &kappname;</title>
<para/>
- <para>This section is a developer's guide explaining the peculiarities of dialog creation in &kappname;. A basic understanding of Qt GUI programming is assumed, as is a knowledge of &kappname; coding standards as laid out in the Project Handbook.</para>
+ <para>This section is a developer's guide explaining the peculiarities of dialog creation in &kappname;. A basic understanding of TQt GUI programming is assumed, as is a knowledge of &kappname; coding standards as laid out in the Project Handbook.</para>
<para/>
<sect1 id="dialogs-language">
<title>Language</title>
@@ -18,7 +18,7 @@
<sect1 id="dialogs-designing">
<title>Designing the dialog</title>
<para/>
- <para>The dialog screen should be built using Qt Designer. This section assumes that you are using version 3.x of Qt. Version 4 is, at present, an unknown quantity.</para>
+ <para>The dialog screen should be built using TQt Designer. This section assumes that you are using version 3.x of TQt. Version 4 is, at present, an unknown quantity.</para>
<para/>
<para>Open Designer without specifying a project, and select Dialog from the New File/Project tab. Start by changing the form name; this should be set to '&lt;KN&gt;DlgDecl'.</para>
<para/>
@@ -35,7 +35,7 @@
<para/>
<para>Designer contains an option to generate shortcut (accelerator) keys for various widgets (buttons, menu items) by including an ampersand ('&amp;') before the shortcut letter. This should be used for the more common items, since many users prefer to use keyboard input rather than using the mouse. However, this does have the unfortunate side effect of automatically generating an 'accel' property for the widget, referencing a letter which may not be appropriate when the caption is translated to another language. Use the properties menu, therefore, to remove this value, or see below.</para>
<para/>
- <para>Fixed text fields and labels in the form do not require any special consideration. Qt Designer and the project's build environment will take care of wrapping the strings into an i18n construct for presentation to translators.</para>
+ <para>Fixed text fields and labels in the form do not require any special consideration. TQt Designer and the project's build environment will take care of wrapping the strings into an i18n construct for presentation to translators.</para>
<para/>
</sect2>
<sect2 id="dialogs-saving-ui">
@@ -72,9 +72,9 @@
<para/>
<para>The first two lines are the standard include stoppers, to avoid multiple inclusion of the class data.</para>
<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>The include file will have been generated by the TQt UIC (User Interface Compiler) from the .ui file for the dialog, under control of the make process.</para>
<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>The TQ_OBJECT macro (written without any punctuation) will cause the TQt 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/>
@@ -85,7 +85,7 @@
<programlisting> signals:</programlisting>
<para/>
- <para>sections if you plan to use the signal/slot mechanism. See the Qt documentation about signals and slots. An example would be slotHelp() which will be connected to the clicked() signal of the help button of your dialog in the constructor of your dialog.</para>
+ <para>sections if you plan to use the signal/slot mechanism. See the TQt documentation about signals and slots. An example would be slotHelp() which will be connected to the clicked() signal of the help button of your dialog in the constructor of your dialog.</para>
<para/>
<para>Terminate the file with</para>
<para/>
@@ -97,9 +97,9 @@
<sect2 id="dialogs=code-file">
<title>Code (.cpp) file</title>
<para/>
- <para>First, don't forget to have #include directives for Qt headers for any widgets you are going to reference.</para>
+ <para>First, don't forget to have #include directives for TQt headers for any widgets you are going to reference.</para>
<para/>
- <para>In the constructor function, connect all signals to their appropriate slots using the Qt connect() call.</para>
+ <para>In the constructor function, connect all signals to their appropriate slots using the TQt connect() call.</para>
<para/>
<para>Then the easy bit; write your code.</para>
<para/>
@@ -107,7 +107,7 @@
<para/>
<programlisting> #include "&lt;KN&gt;dlg.moc"</programlisting>
<para/>
- <para>This is one of the files generated by the Qt MOC (Meta Object Compiler) during the make process; if you finish up with 'vtable' errors, it's probably because you forgot to include this.</para>
+ <para>This is one of the files generated by the TQt MOC (Meta Object Compiler) during the make process; if you finish up with 'vtable' errors, it's probably because you forgot to include this.</para>
<para/>
</sect2>
</sect1>