summaryrefslogtreecommitdiffstats
path: root/developer-doc/phb
diff options
context:
space:
mode:
Diffstat (limited to 'developer-doc/phb')
-rw-r--r--developer-doc/phb/coding.docbook8
-rw-r--r--developer-doc/phb/dialogs.docbook18
-rw-r--r--developer-doc/phb/src-examples.docbook10
-rw-r--r--developer-doc/phb/unit-test.docbook2
4 files changed, 19 insertions, 19 deletions
diff --git a/developer-doc/phb/coding.docbook b/developer-doc/phb/coding.docbook
index 2bb7913..30db4f6 100644
--- a/developer-doc/phb/coding.docbook
+++ b/developer-doc/phb/coding.docbook
@@ -125,11 +125,11 @@ and same order:
<screen>
//-----------------------------------------------------------------------
- // QT Headers
+ // TQt Headers
#include &lt;qtlabel.h&gt;
//-----------------------------------------------------------------------
- // KDE Headers
+ // TDE Headers
#include &lt;kcombobox.h&gt;
//-----------------------------------------------------------------------
@@ -287,11 +287,11 @@ Include files shall be included in the same format as for header file e.g
<title>Including header files in source files</title>
<screen>
//-----------------------------------------------------------------------
- // QT Headers
+ // TQt Headers
#include &lt;qtlabel.h&gt;
//-----------------------------------------------------------------------
- // KDE Headers
+ // TDE Headers
#include &lt;kcombobox.h&gt;
//-----------------------------------------------------------------------
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>
diff --git a/developer-doc/phb/src-examples.docbook b/developer-doc/phb/src-examples.docbook
index 0075ce3..0efbcbe 100644
--- a/developer-doc/phb/src-examples.docbook
+++ b/developer-doc/phb/src-examples.docbook
@@ -29,7 +29,7 @@ This appendix contains an example of a
#define KSETTINGSDLG_H
// ----------------------------------------------------------------------------
-// QT Includes
+// TQt Includes
#include &lt;qcheckbox.h&gt;
#include &lt;qradiobutton.h&gt;
#include &lt;qbuttongroup.h&gt;
@@ -37,7 +37,7 @@ This appendix contains an example of a
#include &lt;qfont.h&gt;
// ----------------------------------------------------------------------------
-// KDE Includes
+// TDE Includes
#include &lt;kdialogbase.h&gt;
#include &lt;tdefontdialog.h&gt;
#include &lt;kcolorbutton.h&gt;
@@ -130,7 +130,7 @@ public:
* Standard constructor.
*
* @param parent The TQWidget this is used in.
- * @param name The QT name.
+ * @param name The TQt name.
* @param modal True if we want the dialog to be application modal.
*
* @return An object of type KSettingsDlg.
@@ -187,7 +187,7 @@ signals:
***************************************************************************/
// ----------------------------------------------------------------------------
-// QT Includes
+// TQt Includes
#include &lt;qlayout.h&gt;
#include &lt;qvbox.h&gt;
#include &lt;qlabel.h&gt;
@@ -196,7 +196,7 @@ signals:
#include &lt;qvalidator.h&gt;
// ----------------------------------------------------------------------------
-// KDE Includes
+// TDE Includes
#include &lt;tdelocale.h&gt;
#include &lt;kstddirs.h&gt;
#include &lt;kiconloader.h&gt;
diff --git a/developer-doc/phb/unit-test.docbook b/developer-doc/phb/unit-test.docbook
index 7208c20..dc3786f 100644
--- a/developer-doc/phb/unit-test.docbook
+++ b/developer-doc/phb/unit-test.docbook
@@ -113,7 +113,7 @@ to start with the 0.5 development branch, I started working on the new
engine code that should introduce a clear interface between the business
logic and the user interface. Another design goal was to write the engine
in such a way, that it is not based on any KDE code which the old one was.
-The second goal to free it from Qt based code was not that easy and was
+The second goal to free it from TQt based code was not that easy and was
skipped by the project team at that time.
</para>