From 41c1fd1fc0486eb29655f220b412867c173ac059 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 9 Mar 2024 12:33:46 +0900 Subject: cmake files: change keywords to lower case Signed-off-by: Michele Calgaro --- developer-doc/phb/coding.docbook | 8 ++++---- developer-doc/phb/dialogs.docbook | 18 +++++++++--------- developer-doc/phb/src-examples.docbook | 10 +++++----- developer-doc/phb/unit-test.docbook | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) (limited to 'developer-doc') 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: //----------------------------------------------------------------------- - // QT Headers + // TQt Headers #include <qtlabel.h> //----------------------------------------------------------------------- - // KDE Headers + // TDE Headers #include <kcombobox.h> //----------------------------------------------------------------------- @@ -287,11 +287,11 @@ Include files shall be included in the same format as for header file e.g Including header files in source files //----------------------------------------------------------------------- - // QT Headers + // TQt Headers #include <qtlabel.h> //----------------------------------------------------------------------- - // KDE Headers + // TDE Headers #include <kcombobox.h> //----------------------------------------------------------------------- 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 @@ Creating dialog boxes in &kappname; - 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. + 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. Language @@ -18,7 +18,7 @@ Designing the dialog - 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. + 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. 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 '<KN>DlgDecl'. @@ -35,7 +35,7 @@ Designer contains an option to generate shortcut (accelerator) keys for various widgets (buttons, menu items) by including an ampersand ('&') 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. - 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. + 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. @@ -72,9 +72,9 @@ The first two lines are the standard include stoppers, to avoid multiple inclusion of the class data. - 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 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. - 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 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). The class declaration must also include a @@ -85,7 +85,7 @@ signals: - 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. + 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. Terminate the file with @@ -97,9 +97,9 @@ Code (.cpp) file - First, don't forget to have #include directives for Qt headers for any widgets you are going to reference. + First, don't forget to have #include directives for TQt headers for any widgets you are going to reference. - In the constructor function, connect all signals to their appropriate slots using the Qt connect() call. + In the constructor function, connect all signals to their appropriate slots using the TQt connect() call. Then the easy bit; write your code. @@ -107,7 +107,7 @@ #include "<KN>dlg.moc" - 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. + 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. 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 <qcheckbox.h> #include <qradiobutton.h> #include <qbuttongroup.h> @@ -37,7 +37,7 @@ This appendix contains an example of a #include <qfont.h> // ---------------------------------------------------------------------------- -// KDE Includes +// TDE Includes #include <kdialogbase.h> #include <tdefontdialog.h> #include <kcolorbutton.h> @@ -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 <qlayout.h> #include <qvbox.h> #include <qlabel.h> @@ -196,7 +196,7 @@ signals: #include <qvalidator.h> // ---------------------------------------------------------------------------- -// KDE Includes +// TDE Includes #include <tdelocale.h> #include <kstddirs.h> #include <kiconloader.h> 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. -- cgit v1.2.1