Sync with latest script

pull/1/head
Timothy Pearson 13 years ago
parent 143f194af0
commit e02e31c8b9

@ -121,7 +121,7 @@
- (removePostedEvents): New overriding function. This function only - (removePostedEvents): New overriding function. This function only
removes events that has specified event type. The implementation removes events that has specified event type. The implementation
is copied from original version of the function and modified to is copied from original version of the function and modified to
accept event_type. This function is retquired by postIMEvent() accept event_type. This function is required by postIMEvent()
- (setActiveWindow): Enclose immodule specific code by #if - (setActiveWindow): Enclose immodule specific code by #if
defined(Q_WS_X11) defined(Q_WS_X11)
@ -138,12 +138,12 @@
- Remove #include "qinputcontext.h" to reduce compilation dependency - Remove #include "qinputcontext.h" to reduce compilation dependency
- Add 'class QWidget' declaration - Add 'class QWidget' declaration
- Remove inappropriate #ifndef QT_NO_STRINGLIST. QStringList is now - Remove inappropriate #ifndef QT_NO_STRINGLIST. QStringList is now
retquired feature for immodule. See also changes of qfeatures.h required feature for immodule. See also changes of qfeatures.h
* src/input/qinputcontextfactory.cpp * src/input/qinputcontextfactory.cpp
- Add #include "qinputcontext.h" - Add #include "qinputcontext.h"
- Remove unnecessary #include "qpopupmenu.h" - Remove unnecessary #include "qpopupmenu.h"
- Remove inappropriate #ifndef QT_NO_STRINGLIST. QStringList is now - Remove inappropriate #ifndef QT_NO_STRINGLIST. QStringList is now
retquired feature for immodule. See also changes of qfeatures.h required feature for immodule. See also changes of qfeatures.h
* src/tools/qfeatures.h * src/tools/qfeatures.h
- Define QT_NO_IM if QT_NO_STRINGLIST is defined - Define QT_NO_IM if QT_NO_STRINGLIST is defined
@ -492,7 +492,7 @@
- Follow Trolltech's coding style for Qt3 - Follow Trolltech's coding style for Qt3
- Remove unnecessary headers - Remove unnecessary headers
- (UNITIZE): Moved from qsimpleinputcontext.cpp. QT_ prefix is not - (UNITIZE): Moved from qsimpleinputcontext.cpp. QT_ prefix is not
retquired since a macro does not pollute symbol space required since a macro does not pollute symbol space
- (struct _ComposeTableElement): Rename to QComposeTableElement - (struct _ComposeTableElement): Rename to QComposeTableElement
- (struct QComposeTableElement): Renamed from _ComposeTableElement - (struct QComposeTableElement): Renamed from _ComposeTableElement
- (struct _ComposeTable): Rename to QComposeTable - (struct _ComposeTable): Rename to QComposeTable
@ -553,7 +553,7 @@
2004-08-10 YamaKen <yamaken@bp.iij4u.or.jp> 2004-08-10 YamaKen <yamaken@bp.iij4u.or.jp>
* This commit changes the XIM input method into plugin. A little * This commit changes the XIM input method into plugin. A little
modification is still retquired to work. See next commit information modification is still required to work. See next commit information
* src/input/qinputcontextfactory.cpp * src/input/qinputcontextfactory.cpp
- Remove XIM dependency - Remove XIM dependency
@ -581,7 +581,7 @@
- New file - New file
* plugins/src/inputmethods/xim/qximinputcontext.h * plugins/src/inputmethods/xim/qximinputcontext.h
- Moved from src/input/qximinputcontext_p.h. No code changes have - Moved from src/input/qximinputcontext_p.h. No code changes have
been applied. A little modification is retquired to work. See next been applied. A little modification is required to work. See next
commit information commit information
* plugins/src/inputmethods/xim/qximinputcontext_x11.cpp * plugins/src/inputmethods/xim/qximinputcontext_x11.cpp
- Moved from src/input/qximinputcontext_x11.cpp. No code changes have - Moved from src/input/qximinputcontext_x11.cpp. No code changes have
@ -606,7 +606,7 @@
- (setHolderWidget): New override function - (setHolderWidget): New override function
* src/input/qximinputcontext_x11.cpp * src/input/qximinputcontext_x11.cpp
- (QXIMInputContext): Split most part of the initialization code - (QXIMInputContext): Split most part of the initialization code
into setHolderWidget() to allow null widget. This is retquired to into setHolderWidget() to allow null widget. This is required to
make imsw-none working properly make imsw-none working properly
- (setHolderWidget): New function - (setHolderWidget): New function
@ -1034,7 +1034,7 @@
- (class QInputContext): Modify the class description comment - (class QInputContext): Modify the class description comment
- (filterEvent): Mark the argument as /* const */ to make it const - (filterEvent): Mark the argument as /* const */ to make it const
in future in future
- (reset): Add a retquirement to the function description comment for - (reset): Add a requirement to the function description comment for
reimplementation reimplementation
* src/kernel/qapplication_x11.cpp * src/kernel/qapplication_x11.cpp
@ -1581,7 +1581,7 @@
* src/kernel/qwidget_x11.cpp * src/kernel/qwidget_x11.cpp
- (setMicroFocusHint): Replace relative coordinate with - (setMicroFocusHint): Replace relative coordinate with
global one for qic->setMicroFocus(). This is retquired to global one for qic->setMicroFocus(). This is required to
share particular IM plugin code with Qt/Embedded share particular IM plugin code with Qt/Embedded
* src/widgets/qlineedit.cpp * src/widgets/qlineedit.cpp
@ -1679,7 +1679,7 @@
* src/kernel/qinputcontext.h * src/kernel/qinputcontext.h
- Remove several pointers to QWidget to share concrete IM - Remove several pointers to QWidget to share concrete IM
implementation code with Qt/Embedded. The IM model of implementation code with Qt/Embedded. The IM model of
Qt/Embedded retquires that widgets and input contexts are Qt/Embedded requires that widgets and input contexts are
existing in another process existing in another process
- (QInputContext): Remove the QWidget * arg - (QInputContext): Remove the QWidget * arg
- (focusWidget, ownerWidget): - (focusWidget, ownerWidget):
@ -1723,7 +1723,7 @@
- (filterEvent): Follow API change of removal of keywidget - (filterEvent): Follow API change of removal of keywidget
- (sendIMEvent): Add #ifdef to isolate Qt/X11 dependent code - (sendIMEvent): Add #ifdef to isolate Qt/X11 dependent code
- (sendIMError): New function to hide ownerWidget() from - (sendIMError): New function to hide ownerWidget() from
derived QInputContext. This is retquired to share particular derived QInputContext. This is required to share particular
IM plugin code with Qt/Embedded IM plugin code with Qt/Embedded
- (setFocus, unsetFocus): Follow API change - (setFocus, unsetFocus): Follow API change
@ -1739,7 +1739,7 @@
focusInputContext() focusInputContext()
- (getInputContext): Return input context only if - (getInputContext): Return input context only if
isInputMethodEnabled() widget, otherwise returns 0. This isInputMethodEnabled() widget, otherwise returns 0. This
is retquired for proper focus transition handling is required for proper focus transition handling
- (unfocusInputContext): Follow API change of - (unfocusInputContext): Follow API change of
QInputContext::unsetFocus() QInputContext::unsetFocus()
@ -1942,7 +1942,7 @@
invocation to follow API change invocation to follow API change
- (translateKeyEventInternal): - (translateKeyEventInternal):
* Add new arg statefulTranslation to enable duplicate call * Add new arg statefulTranslation to enable duplicate call
within single event loop. This is retquired to support both within single event loop. This is required to support both
QInputContext::filterEvent() and RTL extensions QInputContext::filterEvent() and RTL extensions
* Restore accidencially omitted qt_mode_switch_remove_mask * Restore accidencially omitted qt_mode_switch_remove_mask
handling handling

@ -117,9 +117,9 @@ above, provided that you also meet all of these conditions:
these conditions, and telling the user how to view a copy of this these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on does not normally print such an announcement, your work based on
the Program is not retquired to print an announcement.) the Program is not required to print an announcement.)
These retquirements apply to the modified work as a whole. If These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program, identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those themselves, then this License, and its terms, do not apply to those
@ -185,7 +185,7 @@ However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such this License will not have their licenses terminated so long as such
parties remain in full compliance. parties remain in full compliance.
5. You are not retquired to accept this License, since you have not 5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by prohibited by law if you do not accept this License. Therefore, by

@ -51,7 +51,7 @@ giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and that there is no warranty for this free software. For both users' and
authors' sake, the GPL retquires that modified versions be marked as authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to changed, so that their problems will not be attributed erroneously to
authors of previous versions. authors of previous versions.
@ -148,7 +148,7 @@ programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to retquire, linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those such as by intimate data communication or control flow between those
subprograms and other parts of the work. subprograms and other parts of the work.
@ -224,7 +224,7 @@ terms of section 4, provided that you also meet all of these conditions:
b) The work must carry prominent notices stating that it is b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section released under this License and any conditions added under section
7. This retquirement modifies the retquirement in section 4 to 7. This requirement modifies the requirement in section 4 to
"keep intact all notices". "keep intact all notices".
c) You must license the entire work, as a whole, under this c) You must license the entire work, as a whole, under this
@ -283,7 +283,7 @@ in one of these ways:
d) Convey the object code by offering access from a designated d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no Corresponding Source in the same way through the same place at no
further charge. You need not retquire recipients to copy the further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party) may be on a different server (operated by you or a third party)
@ -291,7 +291,7 @@ in one of these ways:
clear directions next to the object code saying where to find the clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these retquirements. available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding you inform other peers where the object code and Corresponding
@ -316,7 +316,7 @@ commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product. the only significant mode of use of the product.
"Installation Information" for a User Product means any methods, "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information retquired to install procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object suffice to ensure that the continued functioning of the modified object
@ -329,13 +329,13 @@ part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this retquirement does not apply by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has modified object code on the User Product (for example, the work has
been installed in ROM). been installed in ROM).
The retquirement to provide Installation Information does not include a The requirement to provide Installation Information does not include a
retquirement to continue to provide support service, warranty, or updates requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and network may be denied when the modification itself materially and
@ -345,7 +345,7 @@ protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in documented (and with an implementation available to the public in
source code form), and must retquire no special password or key for source code form), and must require no special password or key for
unpacking, reading or copying. unpacking, reading or copying.
7. Additional Terms. 7. Additional Terms.
@ -361,7 +361,7 @@ this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to retquire their own it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work, additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission. for which you have or can give appropriate copyright permission.
@ -410,7 +410,7 @@ where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions; form of a separately written license, or stated as exceptions;
the above retquirements apply either way. the above requirements apply either way.
8. Termination. 8. Termination.
@ -442,10 +442,10 @@ material under section 10.
9. Acceptance Not Required for Having Copies. 9. Acceptance Not Required for Having Copies.
You are not retquired to accept this License in order to receive or You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not retquire acceptance. However, to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a not accept this License. Therefore, by modifying or propagating a
@ -489,7 +489,7 @@ by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the retquirements of patent sublicenses in a manner consistent with the requirements of
this License. this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free Each contributor grants you a non-exclusive, worldwide, royalty-free
@ -511,7 +511,7 @@ publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner patent license for this particular work, or (3) arrange, in a manner
consistent with the retquirements of this License, to extend the patent consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work covered work in a country, or your recipient's use of the covered work
@ -564,7 +564,7 @@ permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work, License will continue to apply to the part which is the covered work,
but the special retquirements of the GNU Affero General Public License, but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the section 13, concerning interaction through a network will apply to the
combination as such. combination as such.

@ -65,7 +65,7 @@ and development of free software which uses the Software.
6. You may develop application programs, reusable components and other 6. You may develop application programs, reusable components and other
software items that link with the original or modified versions of the software items that link with the original or modified versions of the
Software. These items, when distributed, are subject to the following Software. These items, when distributed, are subject to the following
retquirements: requirements:
a. You must ensure that all recipients of machine-executable forms of a. You must ensure that all recipients of machine-executable forms of
these items are also able to receive and use the complete these items are also able to receive and use the complete

@ -99,7 +99,7 @@ immodule for Qt
- set "iiimqcf" that has its own input method switching framework as - set "iiimqcf" that has its own input method switching framework as
default, and disable input method selection menu in the context default, and disable input method selection menu in the context
menu. Such configuration is retquired by some system integrators to menu. Such configuration is required by some system integrators to
provide unified user interface for global input method switching provide unified user interface for global input method switching
over the desktop over the desktop

@ -52,7 +52,7 @@ Build & Install
+ configure options have been changed for internal reasons. See 'How + configure options have been changed for internal reasons. See 'How
to install' section of README.immodule to install' section of README.immodule
- This version of immodule retquires corresponding version of each - This version of immodule requires corresponding version of each
input method plugins (i.e. update your additional input method input method plugins (i.e. update your additional input method
plugins) plugins)
@ -93,7 +93,7 @@ New features
- QInputContext proxying - QInputContext proxying
Some methods of QInputContext have been changed to enable Some methods of QInputContext have been changed to enable
QInputContext proxying. This feature is retquired to implement QInputContext proxying. This feature is required to implement
pluggable input method switcher. pluggable input method switcher.
@ -102,7 +102,7 @@ General
+ QInputContext has been source compatible with Qt4 version. Basic + QInputContext has been source compatible with Qt4 version. Basic
input method plugin can be source compatible without #ifdef. Only input method plugin can be source compatible without #ifdef. Only
pluggable popup menu retquires #ifdef'ed different code. In addition, pluggable popup menu requires #ifdef'ed different code. In addition,
be careful about use of classes that is deprecated in Qt4. be careful about use of classes that is deprecated in Qt4.
- Our two development tree for Qt3 'Binary Compatible' and 'ALL' have - Our two development tree for Qt3 'Binary Compatible' and 'ALL' have
@ -146,7 +146,7 @@ API Changes in qt-x11-immodule-unified-qt3.3.3-20040910
* QInputContext() * QInputContext()
Added 'parent' arg to be compatible with Qt4. Since the arg Added 'parent' arg to be compatible with Qt4. Since the arg
defaults to 0, no modification of plugins are retquired. defaults to 0, no modification of plugins are required.
* language() * language()
* identifierName() * identifierName()

@ -1,5 +1,5 @@
/* Sample program for configure to test IPv6 support on target /* Sample program for configure to test IPv6 support on target
platforms. We check for the retquired IPv6 data structures. */ platforms. We check for the required IPv6 data structures. */
#if defined(__hpux) #if defined(__hpux)
#define _HPUX_SOURCE #define _HPUX_SOURCE

@ -60,7 +60,7 @@ for L in $LIBS; do
if [ "x$F_REASON" = "xthreads" ]; then if [ "x$F_REASON" = "xthreads" ]; then
echo echo
echo "WARNING: $FOUND_LIB is threaded!" echo "WARNING: $FOUND_LIB is threaded!"
echo "The Qt OpenGL module retquires Qt to be configured with -thread." echo "The Qt OpenGL module requires Qt to be configured with -thread."
echo echo
else else
[ "$VERBOSE" = "yes" ] && echo " Could not find $L lib anywhere in $LIBDIRS" [ "$VERBOSE" = "yes" ] && echo " Could not find $L lib anywhere in $LIBDIRS"

@ -75,7 +75,7 @@ if [ "$XCURSOR" = "yes" ]; then
elif [ "$XCURSOR_MAJOR" != "1" ]; then elif [ "$XCURSOR_MAJOR" != "1" ]; then
XCURSOR=no XCURSOR=no
[ "$VERBOSE" = "yes" ] && \ [ "$VERBOSE" = "yes" ] && \
echo " Found Xcursor version $XCURSOR_MAJOR.$XCURSOR_MINOR, version 1.0 or higher retquired." echo " Found Xcursor version $XCURSOR_MAJOR.$XCURSOR_MINOR, version 1.0 or higher required."
else else
[ "$VERBOSE" = "yes" ] && \ [ "$VERBOSE" = "yes" ] && \
echo " Found Xcursor version $XCURSOR_MAJOR.$XCURSOR_MINOR" echo " Found Xcursor version $XCURSOR_MAJOR.$XCURSOR_MINOR"

@ -78,7 +78,7 @@ if [ "$XRANDR" = "yes" ]; then
elif [ "$XRANDR_MAJOR" != "1" -o "$XRANDR_MINOR" -lt "1" ]; then elif [ "$XRANDR_MAJOR" != "1" -o "$XRANDR_MINOR" -lt "1" ]; then
XRANDR=no XRANDR=no
[ "$VERBOSE" = "yes" ] && \ [ "$VERBOSE" = "yes" ] && \
echo " Found XRandR version $XRANDR_MAJOR.$XRANDR_MINOR, version 1.1 or higher retquired." echo " Found XRandR version $XRANDR_MAJOR.$XRANDR_MINOR, version 1.1 or higher required."
else else
[ "$VERBOSE" = "yes" ] && \ [ "$VERBOSE" = "yes" ] && \
echo " Found XRandR version $XRANDR_MAJOR.$XRANDR_MINOR" echo " Found XRandR version $XRANDR_MAJOR.$XRANDR_MINOR"

2
configure vendored

@ -2330,7 +2330,7 @@ Qt/Embedded only:
-depths list ....... Comma-separated list of supported bit-per-pixel -depths list ....... Comma-separated list of supported bit-per-pixel
depths, from: 4, 8, 16, 24, and 32. depths, from: 4, 8, 16, 24, and 32.
(8bpp is retquired by the VGA16 driver) (8bpp is required by the VGA16 driver)
-qt-gfx-<driver> ... Enable a graphics <driver> in the Qt Library. -qt-gfx-<driver> ... Enable a graphics <driver> in the Qt Library.
-plugin-gfx-<driver> Enable graphics <driver> as a plugin to be -plugin-gfx-<driver> Enable graphics <driver> as a plugin to be

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -244,7 +244,7 @@ will implement later.
Now that we have done the File menu we shift our focus back to the Now that we have done the File menu we shift our focus back to the
menu bar and insert a separator. From now on further menu bar entries menu bar and insert a separator. From now on further menu bar entries
will be aligned to the right if the windows system style retquires it. will be aligned to the right if the windows system style requires it.
\printline help \printline help
\printuntil whatsThis \printuntil whatsThis

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -52,7 +52,7 @@ QCanvasItem QCanvasItems \endlink. Canvas items can have an arbitrary
shape, size and content, can be freely moved around in the canvas, shape, size and content, can be freely moved around in the canvas,
and can be checked for collisions. Canvas items can be set to move and can be checked for collisions. Canvas items can be set to move
across the canvas automatically and animated canvas items are across the canvas automatically and animated canvas items are
supported with QCanvasSprite. (If you retquire 3D graphics see Qt's supported with QCanvasSprite. (If you require 3D graphics see Qt's
\link opengl.html OpenGL module \endlink.) \link opengl.html OpenGL module \endlink.)
The canvas module uses a document/view model. The \l QCanvasView class The canvas module uses a document/view model. The \l QCanvasView class

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -207,7 +207,7 @@ existing code which uses these classes will continue to work.
\section2 Regular Expressions \section2 Regular Expressions
Qt has always provided regular expression support, but that support Qt has always provided regular expression support, but that support
was pretty much limited to what was retquired in common GUI control was pretty much limited to what was required in common GUI control
elements such as file dialogs. Qt 3.0 introduces a new regular elements such as file dialogs. Qt 3.0 introduces a new regular
expression engine, QRegExp, that supports most of Perl's regex expression engine, QRegExp, that supports most of Perl's regex
features and is Unicode based. The most useful additions are support features and is Unicode based. The most useful additions are support

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -43,7 +43,7 @@
This document lists the platform-specific files needed to distribute This document lists the platform-specific files needed to distribute
Qt applications. We do not include any compiler-specific files that Qt applications. We do not include any compiler-specific files that
may also be retquired. (See also, \link winsystem.html Window may also be required. (See also, \link winsystem.html Window
System-specific Notes\endlink.) System-specific Notes\endlink.)
\tableofcontents \tableofcontents
@ -85,7 +85,7 @@ version is prefixed with \e {-mt}.
\section2 Distributing Plugins \section2 Distributing Plugins
You must include any plugin files retquired by the application. You must include any plugin files required by the application.
Plugins must be put into a subdirectory under a directory known to Plugins must be put into a subdirectory under a directory known to
Qt as a plugin directory. The subdirectory must have the name of the Qt as a plugin directory. The subdirectory must have the name of the

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -129,7 +129,7 @@ typically 2-20KB in size; they can be mmap'd direct from disk in order
to save memory). If a QPF font is found which matches a font request to save memory). If a QPF font is found which matches a font request
no new QRenderedFont need be created for it. It's possible to strip out no new QRenderedFont need be created for it. It's possible to strip out
all QFontFactory support and simply use QPFs if your font needs are modest all QFontFactory support and simply use QPFs if your font needs are modest
(for instance, if you only retquire a few fixed point sizes). Note that (for instance, if you only require a few fixed point sizes). Note that
no best-match loading is performed with QPFs, as opposed to those no best-match loading is performed with QPFs, as opposed to those
loaded via QFontManager, so if you don't have the correct QPF for a point loaded via QFontManager, so if you don't have the correct QPF for a point
size, text in that size will simply not be displayed. size, text in that size will simply not be displayed.

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -229,7 +229,7 @@ project. Can we transfer the license to another developer?
Yes. Qt licences are for the individual use of named developers. If Yes. Qt licences are for the individual use of named developers. If
the developer associated with a licence leaves the organization, or the developer associated with a licence leaves the organization, or
moves on to another project that does not retquire a Qt license, moves on to another project that does not require a Qt license,
another developer can take over the licence. You can change the name another developer can take over the licence. You can change the name
of the developer using a licence at any time, but after a change you of the developer using a licence at any time, but after a change you
must wait at least six (6) months before changing again. must wait at least six (6) months before changing again.
@ -342,7 +342,7 @@ software pool to do so without paying license fees.
Although it is possible to write free software for internal Although it is possible to write free software for internal
use, it is difficult to ensure that such software is used and use, it is difficult to ensure that such software is used and
distributed legally. For example, if your free software distributed legally. For example, if your free software
retquires any modules that impose conditions on you that requires any modules that impose conditions on you that
contradict the conditions of the GNU GPL, including, but not contradict the conditions of the GNU GPL, including, but not
limited to, software patents, commercial license agreements, limited to, software patents, commercial license agreements,
copyrighted interface definitions or any sort of copyrighted interface definitions or any sort of

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -106,7 +106,7 @@ is presented, which includes using a thin MC++ wrapper class around
the normal TQt/C++ class. Then, the automated way is presented, which the normal TQt/C++ class. Then, the automated way is presented, which
utilizes the <a href="activeqt.html#ActiveTQt">ActiveTQt</a> framework as a generic bridge. The advantage of utilizes the <a href="activeqt.html#ActiveTQt">ActiveTQt</a> framework as a generic bridge. The advantage of
the first method is that it gives the application developer full the first method is that it gives the application developer full
control, while the second method retquires less coding and relieves the control, while the second method requires less coding and relieves the
developer of dealing with the conversion between managed and normal developer of dealing with the conversion between managed and normal
data objects. data objects.
<p> The impatient reader, who right away wants to see a <a href="qpushbutton.html">TQPushButton</a> and a <p> The impatient reader, who right away wants to see a <a href="qpushbutton.html">TQPushButton</a> and a
@ -405,7 +405,7 @@ available to .NET. This has the positive side effect that the same
API is automatically available in <a href="http://www.trolltech.com/products/qsa">TQSA</a>, the cross platform API is automatically available in <a href="http://www.trolltech.com/products/qsa">TQSA</a>, the cross platform
scripting solution for TQt applications, and to COM clients in general. scripting solution for TQt applications, and to COM clients in general.
<p> When using the "IJW" method, in priciple the only limitation is the <p> When using the "IJW" method, in priciple the only limitation is the
time retquired to write the wrapper classes and data type conversion time required to write the wrapper classes and data type conversion
functions. functions.
<p> <h3> Performance Considerations <p> <h3> Performance Considerations
</h3> </h3>

@ -59,7 +59,7 @@ type library wll have version x.y.
<td valign="top">Unregister the COM server <em>dll</em> <td valign="top">Unregister the COM server <em>dll</em>
</table></center> </table></center>
<p> It is usually never necessary to invoke IDC manually, as the <p> It is usually never necessary to invoke IDC manually, as the
<tt>qmake</tt> build system takes care of adding the retquired post <tt>qmake</tt> build system takes care of adding the required post
processing steps to the build process. See the processing steps to the build process. See the
<a href="qaxserver.html#4">ActiveTQt build system</a> <a href="qaxserver.html#4">ActiveTQt build system</a>
documentation for details. documentation for details.

@ -51,7 +51,7 @@ VBScript, Perl and Python to program the controls loaded. Example
script files using the TQAxWidget2 class are available in the <tt>scripts</tt> script files using the TQAxWidget2 class are available in the <tt>scripts</tt>
subdirectory. subdirectory.
<p> Note that the qmake project of this example includes a resource file <p> Note that the qmake project of this example includes a resource file
<tt>testcon.rc</tt> with a version resource. This is retquired by some <tt>testcon.rc</tt> with a version resource. This is required by some
ActiveX controls (ie. Shockwave ActiveX Controls), which might crash ActiveX controls (ie. Shockwave ActiveX Controls), which might crash
or misbehave otherwise if such version information is missing. or misbehave otherwise if such version information is missing.
<p> To build the tool you must first build the <p> To build the tool you must first build the

@ -81,7 +81,7 @@ body { background: #ffffff; color: black; }
<li><p>Start Page- This property specifies which page <em>TQt Assistant</em> should initially display when the profile is used. Usually, this is the HTML file which contains the documentation's table of contents. This property also describes the default location to go to when pressing the home button in <em>TQt Assistant</em>'s main user interface. The start page is specified relative to the location of the profile. The property name is <tt>startpage</tt></p> <li><p>Start Page- This property specifies which page <em>TQt Assistant</em> should initially display when the profile is used. Usually, this is the HTML file which contains the documentation's table of contents. This property also describes the default location to go to when pressing the home button in <em>TQt Assistant</em>'s main user interface. The start page is specified relative to the location of the profile. The property name is <tt>startpage</tt></p>
<li><p>About Menu Text- This property describes the text that appears in the <b>Help</b> menu, e.g. About Application. The property name is <tt>aboutmenutext</tt></p> <li><p>About Menu Text- This property describes the text that appears in the <b>Help</b> menu, e.g. About Application. The property name is <tt>aboutmenutext</tt></p>
<li><p>About URL- This property can be used to point to an HTML file that describes the contents in the About dialog that is opened for the <b>Help</b> menu, e.g. About Application. The url is specified relative to the location of the profile. The property name is <tt>abouturl</tt></p> <li><p>About URL- This property can be used to point to an HTML file that describes the contents in the About dialog that is opened for the <b>Help</b> menu, e.g. About Application. The url is specified relative to the location of the profile. The property name is <tt>abouturl</tt></p>
<li><p><em>TQt Assistant</em> Documentation- This property describes the location of the <em>TQt Assistant</em> documentation. This is retquired since <em>TQt Assistant</em> provides self help, such as the full text search help and the <em>TQt Assistant</em> Manual option in the <b>Help</b> menu. The location is a directory relative to the location of the profile. The property name is <tt>assistantdocs</tt>.</p> <li><p><em>TQt Assistant</em> Documentation- This property describes the location of the <em>TQt Assistant</em> documentation. This is required since <em>TQt Assistant</em> provides self help, such as the full text search help and the <em>TQt Assistant</em> Manual option in the <b>Help</b> menu. The location is a directory relative to the location of the profile. The property name is <tt>assistantdocs</tt>.</p>
</ul><p>To define a profile, one needs to specify a <em>TQt Assistant</em> Document Profile, usually abbreviated <tt>.adp</tt>. The profile is an extension of the Documentation Content File described above. We add a <tt>profile</tt> tag containing <tt>property</tt> tags to the format.</p> </ul><p>To define a profile, one needs to specify a <em>TQt Assistant</em> Document Profile, usually abbreviated <tt>.adp</tt>. The profile is an extension of the Documentation Content File described above. We add a <tt>profile</tt> tag containing <tt>property</tt> tags to the format.</p>
<p>An example of a document profile file is shown below:</p> <p>An example of a document profile file is shown below:</p>
<p><tt>helpdemo.adp</tt></p> <p><tt>helpdemo.adp</tt></p>

@ -39,7 +39,7 @@ body { background: #ffffff; color: black; }
shape, size and content, can be freely moved around in the canvas, shape, size and content, can be freely moved around in the canvas,
and can be checked for collisions. Canvas items can be set to move and can be checked for collisions. Canvas items can be set to move
across the canvas automatically and animated canvas items are across the canvas automatically and animated canvas items are
supported with <a href="qcanvassprite.html">TQCanvasSprite</a>. (If you retquire 3D graphics see TQt's supported with <a href="qcanvassprite.html">TQCanvasSprite</a>. (If you require 3D graphics see TQt's
<a href="opengl.html">OpenGL module</a>.) <a href="opengl.html">OpenGL module</a>.)
<p> The canvas module uses a document/view model. The <a href="qcanvasview.html">TQCanvasView</a> class <p> The canvas module uses a document/view model. The <a href="qcanvasview.html">TQCanvasView</a> class
is used to show a particular view of a canvas. Multiple views can operate is used to show a particular view of a canvas. Multiple views can operate

@ -75,7 +75,7 @@ tools are usually located in the <tt>bin</tt> subdirectory of TQt distributions.
Either run <tt>"$QTDIR"/bin/moc</tt> and <tt>"$QTDIR"/bin/uic</tt> or add <tt>"$QTDIR"/bin</tt> Either run <tt>"$QTDIR"/bin/moc</tt> and <tt>"$QTDIR"/bin/uic</tt> or add <tt>"$QTDIR"/bin</tt>
to your <tt>PATH</tt> and run <a href="moc.html#moc">moc</a> and <tt>uic</tt>. If you use <tt>qmake</tt> the to your <tt>PATH</tt> and run <a href="moc.html#moc">moc</a> and <tt>uic</tt>. If you use <tt>qmake</tt> the
appropriate lines will be added to your Makefiles so that <em>uic</em> and appropriate lines will be added to your Makefiles so that <em>uic</em> and
<em>moc</em> will be executed as retquired. <em>moc</em> will be executed as required.
<p> <dt>Static or shared libraries - Link time <p> <dt>Static or shared libraries - Link time
<p> <dd>Programmers need to link with the TQt static or shared libraries. The TQt <p> <dd>Programmers need to link with the TQt static or shared libraries. The TQt
libraries are usually located in the <tt>lib</tt> subdirectory of TQt distributions. libraries are usually located in the <tt>lib</tt> subdirectory of TQt distributions.

@ -136,7 +136,7 @@ TQLayoutIterator CardLayout::iterator()
It must be implemented. It is used by <a href="qlayout.html#add">TQLayout::add</a>(), by the <a href="qlayout.html">TQLayout</a> It must be implemented. It is used by <a href="qlayout.html#add">TQLayout::add</a>(), by the <a href="qlayout.html">TQLayout</a>
constructor that takes a layout as parent, and it is used to implement constructor that takes a layout as parent, and it is used to implement
the <a href="qlayout.html#autoAdd">auto-add</a> feature. If your layout the <a href="qlayout.html#autoAdd">auto-add</a> feature. If your layout
has advanced placement options that retquire parameters, you must has advanced placement options that require parameters, you must
provide extra access functions such as <a href="qgridlayout.html#addMultiCell">TQGridLayout::addMultiCell</a>(). provide extra access functions such as <a href="qgridlayout.html#addMultiCell">TQGridLayout::addMultiCell</a>().
<p> <pre> <p> <pre>
void CardLayout::addItem( <a href="qlayoutitem.html">TQLayoutItem</a> *item ) void CardLayout::addItem( <a href="qlayoutitem.html">TQLayoutItem</a> *item )

@ -32,12 +32,12 @@ body { background: #ffffff; color: black; }
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><p align="right">[<a href="designer-manual.html">Home</a>] [<a href="designer-manual-2.html">Next: Quick Start</a>]</p> <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><p align="right">[<a href="designer-manual.html">Home</a>] [<a href="designer-manual-2.html">Next: Quick Start</a>]</p>
<h2 align="center">Preface</h2> <h2 align="center">Preface</h2>
<h3><a name="1"></a>Introduction</h3> <h3><a name="1"></a>Introduction</h3>
<p>This manual presents <em>TQt Designer</em>, a tool for designing and implementing user interfaces built with the TQt multiplatform GUI toolkit. <em>TQt Designer</em> makes it easy to experiment with user interface design. At any time you can generate the code retquired to reproduce the user interface from the files <em>TQt Designer</em> produces, changing your design as often as you like. If you used an earlier version you will find yourself immediately productive in the new version since the interface is very similar. And you will also find new widgets and new and improved functionality which have been developed as a result of your feedback.</p> <p>This manual presents <em>TQt Designer</em>, a tool for designing and implementing user interfaces built with the TQt multiplatform GUI toolkit. <em>TQt Designer</em> makes it easy to experiment with user interface design. At any time you can generate the code required to reproduce the user interface from the files <em>TQt Designer</em> produces, changing your design as often as you like. If you used an earlier version you will find yourself immediately productive in the new version since the interface is very similar. And you will also find new widgets and new and improved functionality which have been developed as a result of your feedback.</p>
<p><em>TQt Designer</em> helps you build user interfaces with layout tools that move and scale your widgets (<em>controls</em> in Windows terminology) automatically at runtime. The resulting interfaces are both functional and attractive, comfortably suiting your users' operating environments and preferences. <em>TQt Designer</em> supports TQt's signals and slots mechanism for type-safe communication between widgets. <em>TQt Designer</em> includes a code editor which you can use to embed your own custom slots inside the generated code. Those who prefer to separate generated code from hand crafted code can continue to use the subclassing approach pioneered in the first version of <em>TQt Designer</em>.<!-- index Controls!Widgets --></p> <p><em>TQt Designer</em> helps you build user interfaces with layout tools that move and scale your widgets (<em>controls</em> in Windows terminology) automatically at runtime. The resulting interfaces are both functional and attractive, comfortably suiting your users' operating environments and preferences. <em>TQt Designer</em> supports TQt's signals and slots mechanism for type-safe communication between widgets. <em>TQt Designer</em> includes a code editor which you can use to embed your own custom slots inside the generated code. Those who prefer to separate generated code from hand crafted code can continue to use the subclassing approach pioneered in the first version of <em>TQt Designer</em>.<!-- index Controls!Widgets --></p>
<p>The manual introduces you to <em>TQt Designer</em> by leading you through the development of example applications. The first seven chapters are tutorials, each designed to be as self-contained as possible. Every chapter, except the first three, assumes that you are familiar with the material in chapters two and three which cover the basics of building a TQt application with <em>TQt Designer</em>. Here's a brief overview of the chapters:</p> <p>The manual introduces you to <em>TQt Designer</em> by leading you through the development of example applications. The first seven chapters are tutorials, each designed to be as self-contained as possible. Every chapter, except the first three, assumes that you are familiar with the material in chapters two and three which cover the basics of building a TQt application with <em>TQt Designer</em>. Here's a brief overview of the chapters:</p>
<ul><li><p>Chapter one, <a href="designer-manual-2.html">Quick Start</a>, is a fast hands-on tutorial that takes you through the creation of a short, simple dialog application. The aim of this chapter is to give you a feel for how <em>TQt Designer</em> works, with explanations and details deferred to later chapters.</p> <ul><li><p>Chapter one, <a href="designer-manual-2.html">Quick Start</a>, is a fast hands-on tutorial that takes you through the creation of a short, simple dialog application. The aim of this chapter is to give you a feel for how <em>TQt Designer</em> works, with explanations and details deferred to later chapters.</p>
<li><p>Chapter two, <a href="designer-manual-3.html">Creating a Main Window Application</a>, introduces <em>TQt Designer</em> and takes you step by step through the creation of a small but fully functional application. Along the way you will learn how to create a main window with menus, toolbars and a status bar. Most of the application's implementation will be covered, but the custom dialogs are deferred until chapter three. In the course of this chapter you will use the form and property editors to customize the application. You'll also learn how to use TQt's signals and slots mechanism and <em>TQt Designer</em>'s built-in code editor to make the application functional. We will also explain how to use <tt>qmake</tt> to generate a Makefile so that you can compile and run the application.</p> <li><p>Chapter two, <a href="designer-manual-3.html">Creating a Main Window Application</a>, introduces <em>TQt Designer</em> and takes you step by step through the creation of a small but fully functional application. Along the way you will learn how to create a main window with menus, toolbars and a status bar. Most of the application's implementation will be covered, but the custom dialogs are deferred until chapter three. In the course of this chapter you will use the form and property editors to customize the application. You'll also learn how to use TQt's signals and slots mechanism and <em>TQt Designer</em>'s built-in code editor to make the application functional. We will also explain how to use <tt>qmake</tt> to generate a Makefile so that you can compile and run the application.</p>
<li><p>In chapter three, <a href="designer-manual-4.html">Creating Dialogs</a>, we will create the custom dialogs retquired by the main window application created in chapter two. In addition to demonstrating various ways of creating dialogs, you will also learn how to lay out forms using the layout tools.</p> <li><p>In chapter three, <a href="designer-manual-4.html">Creating Dialogs</a>, we will create the custom dialogs required by the main window application created in chapter two. In addition to demonstrating various ways of creating dialogs, you will also learn how to lay out forms using the layout tools.</p>
<li><p>Chapter four, <a href="designer-manual-5.html#the-designer-approach">The Designer Approach</a>, provides information on the <em>TQt Designer</em> approach to developing applications, and explains some of the rationale behind <em>TQt Designer</em>.</p> <li><p>Chapter four, <a href="designer-manual-5.html#the-designer-approach">The Designer Approach</a>, provides information on the <em>TQt Designer</em> approach to developing applications, and explains some of the rationale behind <em>TQt Designer</em>.</p>
<li><p>Chapter five, <a href="designer-manual-6.html">Subclassing and Dynamic Dialogs</a>, will show you how to subclass a form; this allows you to clearly separate the user interface from the underlying code that implements its functionality. Additional information on <tt>qmake</tt> and <tt>uic</tt> is included in this chapter. This chapter will also explain how you can dynamically load dialogs from<!-- index .ui --> <tt>.ui</tt> files into your application using <a href="qwidgetfactory.html">TQWidgetFactory</a> and how to access the widgets and sub-widgets of these dialogs.</p> <li><p>Chapter five, <a href="designer-manual-6.html">Subclassing and Dynamic Dialogs</a>, will show you how to subclass a form; this allows you to clearly separate the user interface from the underlying code that implements its functionality. Additional information on <tt>qmake</tt> and <tt>uic</tt> is included in this chapter. This chapter will also explain how you can dynamically load dialogs from<!-- index .ui --> <tt>.ui</tt> files into your application using <a href="qwidgetfactory.html">TQWidgetFactory</a> and how to access the widgets and sub-widgets of these dialogs.</p>
<li><p>Chapter six, <a href="designer-manual-7.html">Creating Custom Widgets</a>, explains how you can create your own custom widgets. Both the simple method, that was introduced with the first version of <em>TQt Designer</em>, and the new more powerful method using plugins, are explained.</p> <li><p>Chapter six, <a href="designer-manual-7.html">Creating Custom Widgets</a>, explains how you can create your own custom widgets. Both the simple method, that was introduced with the first version of <em>TQt Designer</em>, and the new more powerful method using plugins, are explained.</p>
@ -46,7 +46,7 @@ body { background: #ffffff; color: black; }
</ul><p>The remaining chapters provide reference material that explains <em>TQt Designer</em>'s <a href="designer-manual-11.html#reference-menu-options">menu options</a>, <a href="designer-manual-12.html#reference-toolbar-buttons">toolbars</a>, <a href="designer-manual-10.html#reference-key-bindings">key bindings</a>, <a href="designer-manual-13.html#reference-dialogs">dialogs</a>, <a href="designer-manual-14.html#reference-wizards">wizards</a>, and <a href="designer-manual-15.html#reference-windows">windows</a> in detail.</p> </ul><p>The remaining chapters provide reference material that explains <em>TQt Designer</em>'s <a href="designer-manual-11.html#reference-menu-options">menu options</a>, <a href="designer-manual-12.html#reference-toolbar-buttons">toolbars</a>, <a href="designer-manual-10.html#reference-key-bindings">key bindings</a>, <a href="designer-manual-13.html#reference-dialogs">dialogs</a>, <a href="designer-manual-14.html#reference-wizards">wizards</a>, and <a href="designer-manual-15.html#reference-windows">windows</a> in detail.</p>
<h3><a name="2"></a>What You Should Know</h3> <h3><a name="2"></a>What You Should Know</h3>
<p>This manual assumes that you have some basic knowledge of C++ and the TQt GUI toolkit. If you need to learn more about C++ or TQt there are a vast number of C++ books available, and a small but increasing number of TQt books. TQt comes with extensive online documentation and many example applications that you can try.</p> <p>This manual assumes that you have some basic knowledge of C++ and the TQt GUI toolkit. If you need to learn more about C++ or TQt there are a vast number of C++ books available, and a small but increasing number of TQt books. TQt comes with extensive online documentation and many example applications that you can try.</p>
<p>The Enterprise Edition of TQt includes the TQt SQL module. In <a href="designer-manual-8.html">Creating Database Applications</a> we demonstrate how to build SQL applications with <em>TQt Designer</em>; this chapter retquires some knowledge of SQL and relational databases.</p> <p>The Enterprise Edition of TQt includes the TQt SQL module. In <a href="designer-manual-8.html">Creating Database Applications</a> we demonstrate how to build SQL applications with <em>TQt Designer</em>; this chapter requires some knowledge of SQL and relational databases.</p>
<h3><a name="3"></a>What's New in <em>TQt Designer</em> for TQt 3.0?</h3> <h3><a name="3"></a>What's New in <em>TQt Designer</em> for TQt 3.0?</h3>
<p>This version of <em>TQt Designer</em> has a great deal more functionality than its predecessor. For example, the code for custom slots can be edited directly in <em>TQt Designer</em>; main windows with actions, toolbars and menus can be created; layouts that incorporate splitters can be used; and plugins allow you to package any number of custom widgets and make them available to <em>TQt Designer</em>. Many other enhancements have been incorporated, from small improvements in the user interface to improved efficiency, for example the ability to share pixmaps across all the forms in an application.</p> <p>This version of <em>TQt Designer</em> has a great deal more functionality than its predecessor. For example, the code for custom slots can be edited directly in <em>TQt Designer</em>; main windows with actions, toolbars and menus can be created; layouts that incorporate splitters can be used; and plugins allow you to package any number of custom widgets and make them available to <em>TQt Designer</em>. Many other enhancements have been incorporated, from small improvements in the user interface to improved efficiency, for example the ability to share pixmaps across all the forms in an application.</p>
<p>This version of <em>TQt Designer</em> introduces project files which make it easy to switch between all the forms in an application, and to maintain a common set of database settings and images. Although subclassing is fully supported, writing code directly in <em>TQt Designer</em> offers a number of benefits which are covered in <a href="designer-manual-5.html#the-designer-approach">The Designer Approach</a> chapter. A new library, <tt>libtqui</tt>, has also been introduced which allows you to load dialogs dynamically at runtime from <em>TQt Designer</em>'s <tt>.ui</tt> files. This allows you to provide your application's users with considerable interface customizability without them needing to use C++.</p> <p>This version of <em>TQt Designer</em> introduces project files which make it easy to switch between all the forms in an application, and to maintain a common set of database settings and images. Although subclassing is fully supported, writing code directly in <em>TQt Designer</em> offers a number of benefits which are covered in <a href="designer-manual-5.html#the-designer-approach">The Designer Approach</a> chapter. A new library, <tt>libtqui</tt>, has also been introduced which allows you to load dialogs dynamically at runtime from <em>TQt Designer</em>'s <tt>.ui</tt> files. This allows you to provide your application's users with considerable interface customizability without them needing to use C++.</p>

@ -127,7 +127,7 @@ body { background: #ffffff; color: black; }
</p> </p>
<blockquote><p align="center"><em>Edit Functions</em></p></blockquote> <blockquote><p align="center"><em>Edit Functions</em></p></blockquote>
<p>Click <b>Edit|Slots</b> to invoke the <em>Edit Functions</em> dialog. Use this dialog to edit or create slots and functions which are used in conjunction with signals to provide communication between objects.</p> <p>Click <b>Edit|Slots</b> to invoke the <em>Edit Functions</em> dialog. Use this dialog to edit or create slots and functions which are used in conjunction with signals to provide communication between objects.</p>
<p>When this dialog is invoked, all existing slots and functions are shown in the listview. The column headers Function, Return Type, Specifier, Access, Type, and In Use provide details about each function that is listed. Click on any of the column headers to sort the functions. To create a new function, click the <b>New Function</b> button. The new function has a default name that you should replace by typing the new name in the 'Function' line edit. The 'Return Type' is also a default that can be changed by typing in the line edit. To change the 'Specifier' or 'Access', click the combobox and choose the retquired specifier or access. To change the type of a function (function or slot), click the Type combobox. To remove a function, click the function you want to delete, and then click the <b>Delete Function</b> button.</p> <p>When this dialog is invoked, all existing slots and functions are shown in the listview. The column headers Function, Return Type, Specifier, Access, Type, and In Use provide details about each function that is listed. Click on any of the column headers to sort the functions. To create a new function, click the <b>New Function</b> button. The new function has a default name that you should replace by typing the new name in the 'Function' line edit. The 'Return Type' is also a default that can be changed by typing in the line edit. To change the 'Specifier' or 'Access', click the combobox and choose the required specifier or access. To change the type of a function (function or slot), click the Type combobox. To remove a function, click the function you want to delete, and then click the <b>Delete Function</b> button.</p>
<p>Click <b>OK</b> to save all changes made to the functions. Click <b>Cancel</b> to leave the dialog without making any changes to the functions.</p> <p>Click <b>OK</b> to save all changes made to the functions. Click <b>Cancel</b> to leave the dialog without making any changes to the functions.</p>
<a name="dialog-view-connections"></a><h4><a name="4-2"></a>View and Edit Connections Dialog</h4> <a name="dialog-view-connections"></a><h4><a name="4-2"></a>View and Edit Connections Dialog</h4>
<p align="center"><img align="middle" src="qs-editconn1.png" width="608" height="391"> <p align="center"><img align="middle" src="qs-editconn1.png" width="608" height="391">
@ -142,10 +142,10 @@ body { background: #ffffff; color: black; }
<blockquote><p align="center"><em>Form Settings</em></p></blockquote> <blockquote><p align="center"><em>Form Settings</em></p></blockquote>
<p>Click <b>Edit|Form Settings</b> to invoke the <em>Form Settings</em> dialog. Use this dialog to save the form's settings, pixmap, and layout properties.</p> <p>Click <b>Edit|Form Settings</b> to invoke the <em>Form Settings</em> dialog. Use this dialog to save the form's settings, pixmap, and layout properties.</p>
<h5><a name="4-3-1"></a>Settings</h5> <h5><a name="4-3-1"></a>Settings</h5>
<p>In the Settings section, you can change or add the name of the class that will be created by typing in the 'Class Name' line edit. Note that the default name is the form name, but it can be changed. You can also enter text to the 'Comment' and 'Author' line edits or leave them blank, since they are not retquired.</p> <p>In the Settings section, you can change or add the name of the class that will be created by typing in the 'Class Name' line edit. Note that the default name is the form name, but it can be changed. You can also enter text to the 'Comment' and 'Author' line edits or leave them blank, since they are not required.</p>
<h5><a name="4-3-2"></a>Pixmaps</h5> <h5><a name="4-3-2"></a>Pixmaps</h5>
<p>The default (for projects) is 'Project Imagefile'. This is the recommended option. Images are handled automatically, with <em>TQt Designer</em> storing the images in a subdirectory, and <tt>uic</tt> producing code that contains the images and the necessary supporting code. Each image is stored just once, no matter how many forms it is used in.</p> <p>The default (for projects) is 'Project Imagefile'. This is the recommended option. Images are handled automatically, with <em>TQt Designer</em> storing the images in a subdirectory, and <tt>uic</tt> producing code that contains the images and the necessary supporting code. Each image is stored just once, no matter how many forms it is used in.</p>
<p>If you do not want <em>TQt Designer</em> to handle the images, (or are not using a project) choose either 'Save Inline' or 'Use Function'. 'Save Inline' saves the pixmaps in the <tt>.ui</tt> files. The disadvantage of this approach is that it stores images in the forms in which they're used, meaning that images cannot be shared across forms. Click 'Use Function' to use your own icon-loader function for loading pixmaps. Type the function's name (with no signature) in the 'Use Function' line edit. This function will be used in the generated code for loading pixmaps. Your function will be called with the text you put in the pixmap property (e.g. the image name) whenever an image is retquired.</p> <p>If you do not want <em>TQt Designer</em> to handle the images, (or are not using a project) choose either 'Save Inline' or 'Use Function'. 'Save Inline' saves the pixmaps in the <tt>.ui</tt> files. The disadvantage of this approach is that it stores images in the forms in which they're used, meaning that images cannot be shared across forms. Click 'Use Function' to use your own icon-loader function for loading pixmaps. Type the function's name (with no signature) in the 'Use Function' line edit. This function will be used in the generated code for loading pixmaps. Your function will be called with the text you put in the pixmap property (e.g. the image name) whenever an image is required.</p>
<h5><a name="4-3-3"></a>Layouts</h5> <h5><a name="4-3-3"></a>Layouts</h5>
<p>Click the 'Default Margin' spinbox or the 'Default Spacing' spinbox to change the default layout settings of the current form.</p> <p>Click the 'Default Margin' spinbox or the 'Default Spacing' spinbox to change the default layout settings of the current form.</p>
<p>To use the functions in the generated code to dynamically retrieve values for the layout's default margin and spacing, check the Use Functions chechbox. In the Margin and Spacing line edits, specify the function names (no signatures or parantheses) which should be used to retrieve the margin and spacing.</p> <p>To use the functions in the generated code to dynamically retrieve values for the layout's default margin and spacing, check the Use Functions chechbox. In the Margin and Spacing line edits, specify the function names (no signatures or parantheses) which should be used to retrieve the margin and spacing.</p>
@ -233,7 +233,7 @@ body { background: #ffffff; color: black; }
<h3><a name="7"></a>The Tools Dialog</h3> <h3><a name="7"></a>The Tools Dialog</h3>
<a name="dialog-edit-custom-widgets"></a><h4><a name="7-1"></a>Edit Custom Widgets Dialog</h4> <a name="dialog-edit-custom-widgets"></a><h4><a name="7-1"></a>Edit Custom Widgets Dialog</h4>
<p>The <em>Edit Custom Widgets</em> dialog is invoked by clicking <b>Tools|Custom|Edit Custom Widgets</b>. Use this dialog to create custom widgets.</p> <p>The <em>Edit Custom Widgets</em> dialog is invoked by clicking <b>Tools|Custom|Edit Custom Widgets</b>. Use this dialog to create custom widgets.</p>
<p>Custom widgets are created in code. They may contain a combination of existing widgets but with additional functionality, slots and signals, or they may be written from scratch, or a mixture of both. A custom widget is often a specialization (subclass) of another widget or a combination of widgets working together or a blend of both these approaches. If you simply want a collection of widgets in a particular configuration it is easiest to create them, select them as a group, and copy and paste them as retquired within <em>TQt Designer</em>. Custom widgets are generally created when you need to add new functionality to existing widgets or groups of widgets. To add create a new widget, click the <b>New Widget</b> button. You will find more information about adding new widgets in the 'Definitions Section'. To load a file which contains descriptions of custom widgets, click the <b>Load Descriptions</b> button. Clicking this button invokes the <em>Open Dialog</em>. To save the descriptions of the listed custom widgets, click the <b>Save Descriptions</b> button, which invokes the <em>Save As Dialog</em>. To delete a widget, click the widget in the listbox and then click the <b>Delete Widget</b> button.</p> <p>Custom widgets are created in code. They may contain a combination of existing widgets but with additional functionality, slots and signals, or they may be written from scratch, or a mixture of both. A custom widget is often a specialization (subclass) of another widget or a combination of widgets working together or a blend of both these approaches. If you simply want a collection of widgets in a particular configuration it is easiest to create them, select them as a group, and copy and paste them as required within <em>TQt Designer</em>. Custom widgets are generally created when you need to add new functionality to existing widgets or groups of widgets. To add create a new widget, click the <b>New Widget</b> button. You will find more information about adding new widgets in the 'Definitions Section'. To load a file which contains descriptions of custom widgets, click the <b>Load Descriptions</b> button. Clicking this button invokes the <em>Open Dialog</em>. To save the descriptions of the listed custom widgets, click the <b>Save Descriptions</b> button, which invokes the <em>Save As Dialog</em>. To delete a widget, click the widget in the listbox and then click the <b>Delete Widget</b> button.</p>
<p>Click <b>Close</b> to leave the Edit Custom Widgets dialog.</p> <p>Click <b>Close</b> to leave the Edit Custom Widgets dialog.</p>
<h5><a name="7-1-1"></a>The Definition Tab</h5> <h5><a name="7-1-1"></a>The Definition Tab</h5>
<p align="center"><img align="middle" src="rd-cwidgdef.png" width="720" height="412"> <p align="center"><img align="middle" src="rd-cwidgdef.png" width="720" height="412">

@ -43,7 +43,7 @@ body { background: #ffffff; color: black; }
<p align="center"><img align="middle" src="qd-mainwinwzdpage2.png" width="658" height="418"> <p align="center"><img align="middle" src="qd-mainwinwzdpage2.png" width="658" height="418">
</p> </p>
<h4><a name="2-2"></a>Setup Toolbar</h4> <h4><a name="2-2"></a>Setup Toolbar</h4>
<p>The 'Setup Toolbar' wizard page is used to populate a toolbar with actions from each of the default action categories. Click the Category combobox to select which set of actions you wish to work on. The Actions listbox lists the actions available for the current category. The Toolbar listbox lists the toolbar buttons you want to create. Click the blue left and right arrow buttons to move actions into or out of the Toolbar list box. Click the blue up and down arrow buttons to move actions up and down within the Toolbar list box. Note that the '&lt;Separator&gt;' item in the Actions list box may be moved to the Toolbar list box as often as retquired and will cause a separator to appear in the finished toolbar.</p> <p>The 'Setup Toolbar' wizard page is used to populate a toolbar with actions from each of the default action categories. Click the Category combobox to select which set of actions you wish to work on. The Actions listbox lists the actions available for the current category. The Toolbar listbox lists the toolbar buttons you want to create. Click the blue left and right arrow buttons to move actions into or out of the Toolbar list box. Click the blue up and down arrow buttons to move actions up and down within the Toolbar list box. Note that the '&lt;Separator&gt;' item in the Actions list box may be moved to the Toolbar list box as often as required and will cause a separator to appear in the finished toolbar.</p>
<p>Click <b>Back</b> if you want to return to the 'Choose available menus and toolbars' wizard page. Click <b>Finish</b> to populate the main window and to exit the wizard. Click <b>Cancel</b> on any of the wizard pages to leave the wizard without making any changes.</p> <p>Click <b>Back</b> if you want to return to the 'Choose available menus and toolbars' wizard page. Click <b>Finish</b> to populate the main window and to exit the wizard. Click <b>Cancel</b> on any of the wizard pages to leave the wizard without making any changes.</p>
<h3><a name="3"></a>Data Table Wizard</h3> <h3><a name="3"></a>Data Table Wizard</h3>
<p>The Data Table Wizard is automatically invoked by clicking the datatable widget and placing it on the form. The datatable widget is used to create tabular views of database data.</p> <p>The Data Table Wizard is automatically invoked by clicking the datatable widget and placing it on the form. The datatable widget is used to create tabular views of database data.</p>

@ -123,7 +123,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -185,7 +185,7 @@ body { background: #ffffff; color: black; }
</pre> </pre>
<a name="exportmacro"></a><h4><a name="1-7"></a>exportmacro</h4> <a name="exportmacro"></a><h4><a name="1-7"></a>exportmacro</h4>
<p>This tag is only relevant to Windows users.</p> <p>This tag is only relevant to Windows users.</p>
<p>If you have a class that retquires some Windows-specific export macro, e.g. for classes in a DLL that need to be declared like this: <tt>class win_specific_declaration_goes_here Class</tt>, you can use the <tt>&lt;exportmacro&gt;</tt> tag. (In standard TQt we use the <tt>Q_EXPORT</tt> macro, e.g. <tt>class Q_EXPORT TQWidget</tt>.) If you use this tag you must also:</p> <p>If you have a class that requires some Windows-specific export macro, e.g. for classes in a DLL that need to be declared like this: <tt>class win_specific_declaration_goes_here Class</tt>, you can use the <tt>&lt;exportmacro&gt;</tt> tag. (In standard TQt we use the <tt>Q_EXPORT</tt> macro, e.g. <tt>class Q_EXPORT TQWidget</tt>.) If you use this tag you must also:</p>
<ol type=1><li><p><a href="designer-manual-16.html#1-11">include</a> the file which contains the macro definition;</p> <ol type=1><li><p><a href="designer-manual-16.html#1-11">include</a> the file which contains the macro definition;</p>
<li><p>add the export macro to the form -- this is achieved by entering the macro's name in the 'export macro' sub-property of the form's name property.</p> <li><p>add the export macro to the form -- this is achieved by entering the macro's name in the 'export macro' sub-property of the form's name property.</p>
</ol><p>Following these steps will ensure that <a href="uic.html">uic</a> will create the correct <tt>class YOUR_MACRO Form</tt> declarations.</p> </ol><p>Following these steps will ensure that <a href="uic.html">uic</a> will create the correct <tt>class YOUR_MACRO Form</tt> declarations.</p>

@ -87,7 +87,7 @@ body { background: #ffffff; color: black; }
<p align="center"><img align="middle" src="mw-menuwiz.png" width="616" height="420"> <p align="center"><img align="middle" src="mw-menuwiz.png" width="616" height="420">
</p> </p>
<blockquote><p align="center"><em>Main Window Wizard- Choosing menus and toolbars</em></p></blockquote> <blockquote><p align="center"><em>Main Window Wizard- Choosing menus and toolbars</em></p></blockquote>
<li><!-- index Creating Toolbars --><!-- index Toolbars, Creating --><!-- index Toolbar Buttons!Adding --><!-- index Adding!Toolbar Buttons --><!-- index Separator!Menu item --><!-- index Separator!Toolbar button --><p>The <em>Setup Toolbar</em> wizard page is used to populate a toolbar with actions from each of the default action categories. The Category combobox is used to select which set of actions you wish to choose from. The Actions list box lists the actions available for the current category. The Toolbar listbox lists the toolbar buttons you want to create. The blue left and right arrow buttons are used to move actions into or out of the Toolbar list box. The blue up and down arrow buttons are used to move actions up and down within the Toolbar list box. Note that the '&lt;Separator&gt;' item in the Actions list box may be moved to the Toolbar list box as often as retquired and will cause a separator to appear in the finished toolbar.</p> <li><!-- index Creating Toolbars --><!-- index Toolbars, Creating --><!-- index Toolbar Buttons!Adding --><!-- index Adding!Toolbar Buttons --><!-- index Separator!Menu item --><!-- index Separator!Toolbar button --><p>The <em>Setup Toolbar</em> wizard page is used to populate a toolbar with actions from each of the default action categories. The Category combobox is used to select which set of actions you wish to choose from. The Actions list box lists the actions available for the current category. The Toolbar listbox lists the toolbar buttons you want to create. The blue left and right arrow buttons are used to move actions into or out of the Toolbar list box. The blue up and down arrow buttons are used to move actions up and down within the Toolbar list box. Note that the '&lt;Separator&gt;' item in the Actions list box may be moved to the Toolbar list box as often as required and will cause a separator to appear in the finished toolbar.</p>
<p>Copy the New, Open, and Save Actions to the Toolbar list box. Copy a &lt;Separator&gt; to the Toolbar list box. Change the Category to Edit and copy the Cut, Copy, and Find actions to the Toolbar list box. Click <b>Next</b> and then click <b>Finish</b>.</p> <p>Copy the New, Open, and Save Actions to the Toolbar list box. Copy a &lt;Separator&gt; to the Toolbar list box. Change the Category to Edit and copy the Cut, Copy, and Find actions to the Toolbar list box. Click <b>Next</b> and then click <b>Finish</b>.</p>
<p>Click <b>File|Save</b> and save the form as <tt>mainform.ui</tt>.</p> <p>Click <b>File|Save</b> and save the form as <tt>mainform.ui</tt>.</p>
<p align="center"><img align="middle" src="mw-settoolwiz.png" width="616" height="420"> <p align="center"><img align="middle" src="mw-settoolwiz.png" width="616" height="420">
@ -126,8 +126,8 @@ body { background: #ffffff; color: black; }
<p align="center"><img align="middle" src="mw-objexplor.png" width="328" height="465"> <p align="center"><img align="middle" src="mw-objexplor.png" width="328" height="465">
</p> </p>
<blockquote><p align="center"><em>Object Explorer</em></p></blockquote> <blockquote><p align="center"><em>Object Explorer</em></p></blockquote>
<!-- index Code Editing --><!-- index Subclassing --><!-- index Forward declarations --><!-- index Includes --><!-- index Adding!Code --><!-- index Adding!Forward declarations --><!-- index Adding!Includes --><!-- index Adding!Class variables --><!-- index Class variables --><!-- index Deleting!Forward declarations --><!-- index Deleting!Includes --><!-- index Deleting!Class variables --><!-- index Forms!Forward declarations --><!-- index Forms!Class variables --><!-- index Forms!Code editing --><!-- index Forms!destructor --><!-- index Forms!constructor --><p>In the original version of <em>TQt Designer</em> if you wanted to provide code for a form you had to subclass the form and put your code in the subclass. This version fully supports the subclassing approach, but now provides an alternative: placing your code directly into forms. Writing code in <em>TQt Designer</em> is not quite the same as subclassing, for example you cannot get direct access to the form's constructor or destructor. If you need code to be executed by the constructor create a slot called<!-- index init() --> <tt>void init()</tt>; if it exists it will be called from the constructor. Similarly, if you need code to be executed before destruction create a slot called<!-- index destroy() --> <tt>void destroy()</tt>. You can also add your own class variables which will be put in the generated constructor's code, and you can add forward declarations and any includes you retquire. To add a variable or declaration, right click the appropriate item, e.g. Class Variables, then click <b>New</b> then enter your text, e.g. <tt>TQString m_filename</tt>. If one or more items exist, right click to pop up a menu that has New, Edit and Delete options. If you want to enter multiple items, e.g. multiple include files or multiple data members, it is easiest to right click in the relevant section, then click <b>Edit</b> to invoke an Edit dialog. To edit code, just click the name of a function to invoke the code editor. Code editing and creating slots are covered later in the chapter.</p> <!-- index Code Editing --><!-- index Subclassing --><!-- index Forward declarations --><!-- index Includes --><!-- index Adding!Code --><!-- index Adding!Forward declarations --><!-- index Adding!Includes --><!-- index Adding!Class variables --><!-- index Class variables --><!-- index Deleting!Forward declarations --><!-- index Deleting!Includes --><!-- index Deleting!Class variables --><!-- index Forms!Forward declarations --><!-- index Forms!Class variables --><!-- index Forms!Code editing --><!-- index Forms!destructor --><!-- index Forms!constructor --><p>In the original version of <em>TQt Designer</em> if you wanted to provide code for a form you had to subclass the form and put your code in the subclass. This version fully supports the subclassing approach, but now provides an alternative: placing your code directly into forms. Writing code in <em>TQt Designer</em> is not quite the same as subclassing, for example you cannot get direct access to the form's constructor or destructor. If you need code to be executed by the constructor create a slot called<!-- index init() --> <tt>void init()</tt>; if it exists it will be called from the constructor. Similarly, if you need code to be executed before destruction create a slot called<!-- index destroy() --> <tt>void destroy()</tt>. You can also add your own class variables which will be put in the generated constructor's code, and you can add forward declarations and any includes you require. To add a variable or declaration, right click the appropriate item, e.g. Class Variables, then click <b>New</b> then enter your text, e.g. <tt>TQString m_filename</tt>. If one or more items exist, right click to pop up a menu that has New, Edit and Delete options. If you want to enter multiple items, e.g. multiple include files or multiple data members, it is easiest to right click in the relevant section, then click <b>Edit</b> to invoke an Edit dialog. To edit code, just click the name of a function to invoke the code editor. Code editing and creating slots are covered later in the chapter.</p>
<!-- index Subclassing --><p>If you subclass the form you create your own<!-- index .cpp --> <tt>.cpp</tt> files which can contain your own constructor, destructor, functions, slots, declarations and variables as your retquirements dictate. (See <a href="designer-manual-6.html#1">Subclassing</a> for more information.)</p> <!-- index Subclassing --><p>If you subclass the form you create your own<!-- index .cpp --> <tt>.cpp</tt> files which can contain your own constructor, destructor, functions, slots, declarations and variables as your requirements dictate. (See <a href="designer-manual-6.html#1">Subclassing</a> for more information.)</p>
</blockquote> </blockquote>
<h4><a name="4-3"></a>Adding Custom Actions</h4> <h4><a name="4-3"></a>Adding Custom Actions</h4>
<p>We want to provide the user with actions that are specific to our application. We want to provide the ability to switch between the two views we will be offering, and allow the user to add colors and set their preferred options. We'll prepare the way by creating a new menu for the view options and by adding a separator to the toolbar.</p> <p>We want to provide the user with actions that are specific to our application. We want to provide the ability to switch between the two views we will be offering, and allow the user to add colors and set their preferred options. We'll prepare the way by creating a new menu for the view options and by adding a separator to the toolbar.</p>
@ -301,7 +301,7 @@ body { background: #ffffff; color: black; }
<p align="center"><img align="middle" src="mw-conn4.png" width="600" height="407"> <p align="center"><img align="middle" src="mw-conn4.png" width="600" height="407">
</p> </p>
<h4><a name="6-5"></a>Editing the Code: Setting Up</h4> <h4><a name="6-5"></a>Editing the Code: Setting Up</h4>
<p>There is quite a lot of code to include in the application, but this does not mean that a lot of typing is retquired! All the code is reproduced here so, if you're reading an electronic copy, you can simply cut and paste. If you're reading a print copy, all the code is provided in <tt>/tools/designer/examples/colortool</tt>; simply open the relevant <tt>.ui.h</tt> files and copy and paste from there into your own version of the project.</p> <p>There is quite a lot of code to include in the application, but this does not mean that a lot of typing is required! All the code is reproduced here so, if you're reading an electronic copy, you can simply cut and paste. If you're reading a print copy, all the code is provided in <tt>/tools/designer/examples/colortool</tt>; simply open the relevant <tt>.ui.h</tt> files and copy and paste from there into your own version of the project.</p>
<blockquote> <blockquote>
<p align="center"><b> Cutting &amp; Pasting Into the Code Editor</b></p> <p align="center"><b> Cutting &amp; Pasting Into the Code Editor</b></p>
<p>If you cut and paste code from this manual, because we've indented the code for readability, the code will be over-indented in <em>TQt Designer</em>. This is easily solved. Simply select the function containing the pasted code (either with the mouse, or <b>Shift+Arrow</b>s) and press <b>Tab</b>: this will make <em>TQt Designer</em> fix the indentation. Note that you must select the <em>entire</em> function, including its name and parameters.</p> <p>If you cut and paste code from this manual, because we've indented the code for readability, the code will be over-indented in <em>TQt Designer</em>. This is easily solved. Simply select the function containing the pasted code (either with the mouse, or <b>Shift+Arrow</b>s) and press <b>Tab</b>: this will make <em>TQt Designer</em> fix the indentation. Note that you must select the <em>entire</em> function, including its name and parameters.</p>
@ -421,7 +421,7 @@ body { background: #ffffff; color: black; }
} }
} }
</pre> </pre>
<p>This function is at the heart of the application. It visually presents the data to the user. If the table is "dirty" (e.g. if the user has added or deleted colors in the icon view, or has opened a color file) we will populate the table. We start by deleting the contents of every cell. Next we change the number of rows to equal the number of colors in the colors map. For each color we want to display a little square that shows the color, so we create a pixmap of the retquired size.</p> <p>This function is at the heart of the application. It visually presents the data to the user. If the table is "dirty" (e.g. if the user has added or deleted colors in the icon view, or has opened a color file) we will populate the table. We start by deleting the contents of every cell. Next we change the number of rows to equal the number of colors in the colors map. For each color we want to display a little square that shows the color, so we create a pixmap of the required size.</p>
<p>We now create an iterator for our colors map, and iterate over every color. The colors map has the user's color names as its keys, and <a href="qcolor.html">TQColor</a> instances as values. We retrieve the color and fill our pixmap with that color. We then set the "Name" column (column <tt>COL_NAME</tt>), to have the color's name (<tt>it.key()</tt>) and the pixmap we've just filled with that color. <a href="qcolor.html">TQColor</a>'s <tt>name()</tt> function returns a string that is the hex representation of a color, e.g. "#12AB2F"; we retrieve this and set the second ("Hex") column to this value.</p> <p>We now create an iterator for our colors map, and iterate over every color. The colors map has the user's color names as its keys, and <a href="qcolor.html">TQColor</a> instances as values. We retrieve the color and fill our pixmap with that color. We then set the "Name" column (column <tt>COL_NAME</tt>), to have the color's name (<tt>it.key()</tt>) and the pixmap we've just filled with that color. <a href="qcolor.html">TQColor</a>'s <tt>name()</tt> function returns a string that is the hex representation of a color, e.g. "#12AB2F"; we retrieve this and set the second ("Hex") column to this value.</p>
<p>If the user wants to see if which colors are web colors we create a <a href="qchecktableitem.html">TQCheckTableItem</a>, and check it if it is a web color. (We'll cover <tt>isWebColor()</tt> shortly.) We then insert this <a href="qchecktableitem.html">TQCheckTableItem</a> into the "Web" column.</p> <p>If the user wants to see if which colors are web colors we create a <a href="qchecktableitem.html">TQCheckTableItem</a>, and check it if it is a web color. (We'll cover <tt>isWebColor()</tt> shortly.) We then insert this <a href="qchecktableitem.html">TQCheckTableItem</a> into the "Web" column.</p>
<p>Having populated the table we call <tt>adjustColumn()</tt> to ensure that each column is just wide enough to show its widest entry, and show or hide the "Web" column depending on the user's preference.</p> <p>Having populated the table we call <tt>adjustColumn()</tt> to ensure that each column is just wide enough to show its widest entry, and show or hide the "Web" column depending on the user's preference.</p>
@ -762,7 +762,7 @@ Captures: cap(1) cap(2) cap(3) cap(4)
<p>This is the second revision of this function. Now we only exit if the user has had the opportunity to save any unsaved changes. (We'll make a third and final version of this function later, when we deal with saving user settings.)</p> <p>This is the second revision of this function. Now we only exit if the user has had the opportunity to save any unsaved changes. (We'll make a third and final version of this function later, when we deal with saving user settings.)</p>
<p>Try making and running the program. If you have <tt>rgb.txt</tt> on your system try loading it and saving it under a new name for testing purposes. If you don't have this file, save the standard colors and use those. In the next section we'll cover adding and deleting colors so that you can create your own color files. (If it doesn't build see the <a href="designer-manual-4.html#6">Troubleshooting</a> section.)</p> <p>Try making and running the program. If you have <tt>rgb.txt</tt> on your system try loading it and saving it under a new name for testing purposes. If you don't have this file, save the standard colors and use those. In the next section we'll cover adding and deleting colors so that you can create your own color files. (If it doesn't build see the <a href="designer-manual-4.html#6">Troubleshooting</a> section.)</p>
<h4><a name="6-28"></a>Editing the Code: The Edit Options</h4> <h4><a name="6-28"></a>Editing the Code: The Edit Options</h4>
<p>Adding a new color, finding a color and handling user options all retquire custom dialogs, so we'll defer them until chapter three when we deal with dialogs.</p> <p>Adding a new color, finding a color and handling user options all require custom dialogs, so we'll defer them until chapter three when we deal with dialogs.</p>
<h4><a name="6-29"></a>editCut()</h4> <h4><a name="6-29"></a>editCut()</h4>
<pre> void MainForm::editCut() <pre> void MainForm::editCut()
{ {

@ -396,7 +396,7 @@ body { background: #ffffff; color: black; }
} }
} }
</pre> </pre>
<p>We create a new options form, passing it TRUE to make it modal. We set the radio buttons depending on the current setting of the <tt>m_clip_as</tt> variable. We set the check box to correspond with the <tt>m_show_web</tt> variable. We execute the form, and if the user clicks <b>OK</b>, we reflect their choices back into the relevant main form variables. If the user changed the <tt>m_show_web</tt> variable (by clicking the webCheckBox), we mark the table as "dirty" since it will need updating. We then call <tt>populate()</tt> which will update the table view if retquired.</p> <p>We create a new options form, passing it TRUE to make it modal. We set the radio buttons depending on the current setting of the <tt>m_clip_as</tt> variable. We set the check box to correspond with the <tt>m_show_web</tt> variable. We execute the form, and if the user clicks <b>OK</b>, we reflect their choices back into the relevant main form variables. If the user changed the <tt>m_show_web</tt> variable (by clicking the webCheckBox), we mark the table as "dirty" since it will need updating. We then call <tt>populate()</tt> which will update the table view if required.</p>
<p>Because we use our OptionsForm and access its radio buttons and checkbox we must add "optionsform.h", "qradiobutton.h" and "qcheckbox.h" to our includes in implementation. (Click Object Explorer's Members tab, right click "Includes (in Implementation)", then click <b>Edit</b>. Click <b>Add</b> and enter "optionsform.h"; click <b>Add</b> again and enter "qradiobutton.h"; click <b>Add</b> again and enter "qcheckbox.h". Press <b>Enter</b>, then click <b>Close</b>.)</p> <p>Because we use our OptionsForm and access its radio buttons and checkbox we must add "optionsform.h", "qradiobutton.h" and "qcheckbox.h" to our includes in implementation. (Click Object Explorer's Members tab, right click "Includes (in Implementation)", then click <b>Edit</b>. Click <b>Add</b> and enter "optionsform.h"; click <b>Add</b> again and enter "qradiobutton.h"; click <b>Add</b> again and enter "qcheckbox.h". Press <b>Enter</b>, then click <b>Close</b>.)</p>
<p>You should now have added the following declarations to your includes (in implementation):</p> <p>You should now have added the following declarations to your includes (in implementation):</p>
<ul><li><p>"optionsform.h"</p> <ul><li><p>"optionsform.h"</p>

@ -45,11 +45,11 @@ body { background: #ffffff; color: black; }
<ul><li><p>Grouping forms that belong together.</p> <ul><li><p>Grouping forms that belong together.</p>
<li><p>Sharing images between different forms.</p> <li><p>Sharing images between different forms.</p>
<li><p>Sharing database information between different forms.</p> <li><p>Sharing database information between different forms.</p>
</ul><p>The following sections explain these benefits in more detail, and why project management is retquired to achieve them.</p> </ul><p>The following sections explain these benefits in more detail, and why project management is required to achieve them.</p>
<h4><a name="2-1"></a>Grouping forms</h4> <h4><a name="2-1"></a>Grouping forms</h4>
<p>Grouping forms means that <em>TQt Designer</em> maintains a list of the <tt>.ui</tt> files that belong to the same project. This makes it easy to switch between forms with a single mouse click.</p> <p>Grouping forms means that <em>TQt Designer</em> maintains a list of the <tt>.ui</tt> files that belong to the same project. This makes it easy to switch between forms with a single mouse click.</p>
<h4><a name="2-2"></a>Sharing images in a image collection</h4> <h4><a name="2-2"></a>Sharing images in a image collection</h4>
<p>In TQt 2.x's <em>TQt Designer</em> each form included the images it retquired and no images were shared. This led to duplication when several forms needed to use the same images. Furthermore the images were stored in the XML <tt>.ui</tt> files which made them large.</p> <p>In TQt 2.x's <em>TQt Designer</em> each form included the images it required and no images were shared. This led to duplication when several forms needed to use the same images. Furthermore the images were stored in the XML <tt>.ui</tt> files which made them large.</p>
<p>As a workaround, we introduced a pixmap-loading function that you could define in <em>TQt Designer</em>. It then was your responsibility to provide the implementation of this function in your application code. The big disadvantage of this approach was that you couldn't see the images during the design process in <em>TQt Designer</em>. This not only makes designing a form less visually interesting, but also has a noticeable impact on geometry management.</p> <p>As a workaround, we introduced a pixmap-loading function that you could define in <em>TQt Designer</em>. It then was your responsibility to provide the implementation of this function in your application code. The big disadvantage of this approach was that you couldn't see the images during the design process in <em>TQt Designer</em>. This not only makes designing a form less visually interesting, but also has a noticeable impact on geometry management.</p>
<p>In the TQt 3.0 version of <em>TQt Designer</em> we've introduced the concept of a project image collection. If you use a project you can add images to the project's image collection, and these images can be shared and used by any of the forms you include in the project. The images are stored as PNGs (portable network graphics) in a subdirectory, <tt>images/</tt>, inside the project's directory. Whenever you modify the image collection, <em>TQt Designer</em> creates a source file which contains both the image data in binary format and a function to instantiate the images. The images are accessible by all forms in the project and the data is shared.</p> <p>In the TQt 3.0 version of <em>TQt Designer</em> we've introduced the concept of a project image collection. If you use a project you can add images to the project's image collection, and these images can be shared and used by any of the forms you include in the project. The images are stored as PNGs (portable network graphics) in a subdirectory, <tt>images/</tt>, inside the project's directory. Whenever you modify the image collection, <em>TQt Designer</em> creates a source file which contains both the image data in binary format and a function to instantiate the images. The images are accessible by all forms in the project and the data is shared.</p>
<p>A further benefit of using an image collection is that the images are added to the default TQMimeSourceFactory. This way they are accessible from rich-text labels, What's This? context help and even tooltips through standard HTML image tags. The <em>source</em> argument of the image tag is simply the image's name in the image collection. This also works during the design process in <em>TQt Designer</em>.</p> <p>A further benefit of using an image collection is that the images are added to the default TQMimeSourceFactory. This way they are accessible from rich-text labels, What's This? context help and even tooltips through standard HTML image tags. The <em>source</em> argument of the image tag is simply the image's name in the image collection. This also works during the design process in <em>TQt Designer</em>.</p>
@ -59,7 +59,7 @@ body { background: #ffffff; color: black; }
<p>In most non-trivial database applications you will want to access the database from more than one form. This is why the <tt>.db</tt> file is part of a project, not just part of a single form.</p> <p>In most non-trivial database applications you will want to access the database from more than one form. This is why the <tt>.db</tt> file is part of a project, not just part of a single form.</p>
<h4><a name="2-4"></a>.pro files</h4> <h4><a name="2-4"></a>.pro files</h4>
<p><em>TQt Designer</em> needs to store information on projects, for example, the list of forms, the image collection and information about available databases and how to access them. The majority of TQt users already use a project file format to create multiplatform makefiles: <tt>tmake</tt> (and with TQt 3.0 <tt>qmake</tt>) project <tt>.pro</tt> files. These files already contain the list of forms, <tt>.ui</tt> files, used in the project for <tt>uic</tt>.</p> <p><em>TQt Designer</em> needs to store information on projects, for example, the list of forms, the image collection and information about available databases and how to access them. The majority of TQt users already use a project file format to create multiplatform makefiles: <tt>tmake</tt> (and with TQt 3.0 <tt>qmake</tt>) project <tt>.pro</tt> files. These files already contain the list of forms, <tt>.ui</tt> files, used in the project for <tt>uic</tt>.</p>
<p>We've extended the sections in the <tt>.pro</tt> file to include the extra information that <em>TQt Designer</em> needs to manage projects. For example, when you add a form to your project in <em>TQt Designer</em>, it is automatically added to the FORMS section of the project file, and thus <tt>qmake</tt> will generate the retquired build rules without any further work. Similarly, the images are added to the IMAGES section and thus gets automatically compiled into your executable.</p> <p>We've extended the sections in the <tt>.pro</tt> file to include the extra information that <em>TQt Designer</em> needs to manage projects. For example, when you add a form to your project in <em>TQt Designer</em>, it is automatically added to the FORMS section of the project file, and thus <tt>qmake</tt> will generate the required build rules without any further work. Similarly, the images are added to the IMAGES section and thus gets automatically compiled into your executable.</p>
<p>We don't force you to use <tt>qmake</tt>; if you prefer another build system, for example automake/autoconf or jam, you can still continue to use it. Look upon the <tt>.pro</tt> file as a file that describes the GUI part of your application. All you need to do -- as previously -- is add the <tt>.ui</tt> files and the images collection to your own Makefiles.</p> <p>We don't force you to use <tt>qmake</tt>; if you prefer another build system, for example automake/autoconf or jam, you can still continue to use it. Look upon the <tt>.pro</tt> file as a file that describes the GUI part of your application. All you need to do -- as previously -- is add the <tt>.ui</tt> files and the images collection to your own Makefiles.</p>
<h3><a name="3"></a>Extending the functionality of a form</h3> <h3><a name="3"></a>Extending the functionality of a form</h3>
<p>First let us look at a small figure that shows the relationship between <tt>.ui</tt> files, generated code and application code:</p> <p>First let us look at a small figure that shows the relationship between <tt>.ui</tt> files, generated code and application code:</p>

@ -95,7 +95,7 @@ int main( int argc, char *argv[] )
} }
</pre> </pre>
<p>Note that we're including <tt>creditformbase.h</tt> and instantiating a CreditFormBase object; once we've written our subclass we'll replace the header with our subclass, <tt>creditform.h</tt>, and instantiate a CreditForm.</p> <p>Note that we're including <tt>creditformbase.h</tt> and instantiating a CreditFormBase object; once we've written our subclass we'll replace the header with our subclass, <tt>creditform.h</tt>, and instantiate a CreditForm.</p>
<p>We can now generate the application with <tt>qmake</tt>, e.g. <tt>qmake -o Makefile credit.pro</tt>, make it and run it. The form should run fine, but doesn't yet have the behaviour we retquire.</p> <p>We can now generate the application with <tt>qmake</tt>, e.g. <tt>qmake -o Makefile credit.pro</tt>, make it and run it. The form should run fine, but doesn't yet have the behaviour we require.</p>
<h5><a name="1-3-3"></a>Creating the Subclass</h5> <h5><a name="1-3-3"></a>Creating the Subclass</h5>
<p>We need to create a header and an implementation file for our subclass. The code for our subclass is minimal. The header file is <tt>qt/tools/designer/examples/credit/creditform.h</tt>:</p> <p>We need to create a header and an implementation file for our subclass. The code for our subclass is minimal. The header file is <tt>qt/tools/designer/examples/credit/creditform.h</tt>:</p>
<pre> #include "creditformbase.h" <pre> #include "creditformbase.h"
@ -174,7 +174,7 @@ FORMS = mainform.ui
LANGUAGE = C++ LANGUAGE = C++
INCLUDEPATH += $(QTDIR)/tools/designer/uilib INCLUDEPATH += $(QTDIR)/tools/designer/uilib
</pre> </pre>
<p>We do <em>not</em> include the <tt>creditformbase.ui</tt> file since this file will be read at runtime, as we'll see shortly. We must include the <tt>tqui</tt> library since the functionality we retquire is not part of the standard TQt library.</p> <p>We do <em>not</em> include the <tt>creditformbase.ui</tt> file since this file will be read at runtime, as we'll see shortly. We must include the <tt>tqui</tt> library since the functionality we require is not part of the standard TQt library.</p>
<h4><a name="2-2"></a>Creating main.cpp</h4> <h4><a name="2-2"></a>Creating main.cpp</h4>
<p>The<!-- index main.cpp --> <tt>main.cpp</tt> is quite standard. It will invoke the form we're going to create in <em>TQt Designer</em> as its main form. This form will then load and execute the dynamic dialog.</p> <p>The<!-- index main.cpp --> <tt>main.cpp</tt> is quite standard. It will invoke the form we're going to create in <em>TQt Designer</em> as its main form. This form will then load and execute the dynamic dialog.</p>
<pre> #include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt; <pre> #include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
@ -217,7 +217,7 @@ INCLUDEPATH += $(QTDIR)/tools/designer/uilib
delete creditForm; delete creditForm;
} }
</pre> </pre>
<p>The<!-- index create() --> <tt>create()</tt> function is a static <a href="qwidgetfactory.html">TQWidgetFactory</a> function. It loads the specified<!-- index .ui --> <tt>.ui</tt> file and returns a pointer to the toplevel <a href="qwidget.html">TQWidget</a> created from the<!-- index .ui --> <tt>.ui</tt> file. We have cast the pointer to <a href="qdialog.html">TQDialog</a> since we know that the <tt>creditformbase.ui</tt> file defines a <a href="qdialog.html">TQDialog</a>. After creating the dialog we<!-- index exec() --> <tt>exec()</tt> it. If the user clicked <b>OK</b> the dialog returns Accepted and we enter the body of the <tt>if</tt> statement. We want to know the amount of credit that the user selected. We call the<!-- index child() --> <tt>child()</tt> function on the dialog passing it the name of the widget we're interested in. The<!-- index child() --> <tt>child()</tt> function returns a pointer to the widget with the name we passed, or returns 0 if no widget of that name was found. In the example we call<!-- index child() --> <tt>child()</tt> to get a pointer to the 'amountSpinBox'. If the pointer we get back is not 0 we set the rating text to the amount in the dialog's spin box. At the end we delete the dynamic dialog. Deleting the dialog ensures that we free up its resources as soon as it is no longer retquired.</p> <p>The<!-- index create() --> <tt>create()</tt> function is a static <a href="qwidgetfactory.html">TQWidgetFactory</a> function. It loads the specified<!-- index .ui --> <tt>.ui</tt> file and returns a pointer to the toplevel <a href="qwidget.html">TQWidget</a> created from the<!-- index .ui --> <tt>.ui</tt> file. We have cast the pointer to <a href="qdialog.html">TQDialog</a> since we know that the <tt>creditformbase.ui</tt> file defines a <a href="qdialog.html">TQDialog</a>. After creating the dialog we<!-- index exec() --> <tt>exec()</tt> it. If the user clicked <b>OK</b> the dialog returns Accepted and we enter the body of the <tt>if</tt> statement. We want to know the amount of credit that the user selected. We call the<!-- index child() --> <tt>child()</tt> function on the dialog passing it the name of the widget we're interested in. The<!-- index child() --> <tt>child()</tt> function returns a pointer to the widget with the name we passed, or returns 0 if no widget of that name was found. In the example we call<!-- index child() --> <tt>child()</tt> to get a pointer to the 'amountSpinBox'. If the pointer we get back is not 0 we set the rating text to the amount in the dialog's spin box. At the end we delete the dynamic dialog. Deleting the dialog ensures that we free up its resources as soon as it is no longer required.</p>
<p>We used the<!-- index child() --> <tt>child()</tt> to gain access to a widget within the dynamic dialog, passing it the name of the widget we were interested in. In some situations we might not know what a widget is called. We can access the first widget of a specified class by calling<!-- index child() --> <tt>child()</tt> with a null widget name and a classname, e.g. <tt>child(0,"TQPushButton")</tt>. This will return a pointer to the first <a href="qpushbutton.html">TQPushButton</a> it finds (or 0 if there isn't one). If you want pointers to all the widgets of a given class you can call the<!-- index TQObject::queryList() --> <tt>TQObject::queryList()</tt> function, passing it the name of the class. It returns a <a href="qobjectlist.html">TQObjectList</a> pointer which points to every object in the dialog that is derived from the given class. See the online <a href="http://doc.trolltech.com/qobject.html">TQObject</a> documentation for further details.</p> <p>We used the<!-- index child() --> <tt>child()</tt> to gain access to a widget within the dynamic dialog, passing it the name of the widget we were interested in. In some situations we might not know what a widget is called. We can access the first widget of a specified class by calling<!-- index child() --> <tt>child()</tt> with a null widget name and a classname, e.g. <tt>child(0,"TQPushButton")</tt>. This will return a pointer to the first <a href="qpushbutton.html">TQPushButton</a> it finds (or 0 if there isn't one). If you want pointers to all the widgets of a given class you can call the<!-- index TQObject::queryList() --> <tt>TQObject::queryList()</tt> function, passing it the name of the class. It returns a <a href="qobjectlist.html">TQObjectList</a> pointer which points to every object in the dialog that is derived from the given class. See the online <a href="http://doc.trolltech.com/qobject.html">TQObject</a> documentation for further details.</p>
<h5><a name="2-3-3"></a>Implementing Slots for Dynamic Dialogs</h5> <h5><a name="2-3-3"></a>Implementing Slots for Dynamic Dialogs</h5>
<!-- index Signals and Slots!Dynamic Dialogs --><!-- index Dynamic Dialogs --><p>There is one outstanding issue that we haven't addressed: the dynamic dialog does not have the behaviour of the original credit dialog because we have not implemented the <tt>setAmount()</tt> slot. We can implement slots for dynamic dialogs by creating a <a href="qobject.html">TQObject</a> subclass. We then create an instance of this subclass and pass a pointer to it to the<!-- index TQWidgetFactory::create() --> <tt>TQWidgetFactory::create()</tt> function which will connect the dynamic dialog's signals to the slots implemented in our subclass.</p> <!-- index Signals and Slots!Dynamic Dialogs --><!-- index Dynamic Dialogs --><p>There is one outstanding issue that we haven't addressed: the dynamic dialog does not have the behaviour of the original credit dialog because we have not implemented the <tt>setAmount()</tt> slot. We can implement slots for dynamic dialogs by creating a <a href="qobject.html">TQObject</a> subclass. We then create an instance of this subclass and pass a pointer to it to the<!-- index TQWidgetFactory::create() --> <tt>TQWidgetFactory::create()</tt> function which will connect the dynamic dialog's signals to the slots implemented in our subclass.</p>
@ -260,7 +260,7 @@ private:
}; };
</pre> </pre>
<!-- index Macros!Q_OBJECT --><!-- index Q_OBJECT!Macros --><p>Our class must be a <a href="qobject.html">TQObject</a> subclass and because we're using signals and slots it must include the <tt>Q_OBJECT</tt> macro. We declare a function and the <tt>setAmount()</tt> slot that we wish to implement as well as a private <a href="qdialog.html">TQDialog</a> pointer.</p> <!-- index Macros!Q_OBJECT --><!-- index Q_OBJECT!Macros --><p>Our class must be a <a href="qobject.html">TQObject</a> subclass and because we're using signals and slots it must include the <tt>Q_OBJECT</tt> macro. We declare a function and the <tt>setAmount()</tt> slot that we wish to implement as well as a private <a href="qdialog.html">TQDialog</a> pointer.</p>
<p>The implementation retquires the header files of the classes it uses:</p> <p>The implementation requires the header files of the classes it uses:</p>
<pre> #include &lt;<a href="qradiobutton-h.html">qradiobutton.h</a>&gt; <pre> #include &lt;<a href="qradiobutton-h.html">qradiobutton.h</a>&gt;
#include &lt;<a href="qspinbox-h.html">qspinbox.h</a>&gt; #include &lt;<a href="qspinbox-h.html">qspinbox.h</a>&gt;
#include "receiver.h" #include "receiver.h"

@ -68,8 +68,8 @@ body { background: #ffffff; color: black; }
<a href="qpushbutton.html">TQPushButton</a> *rewind = new <a href="qpushbutton.html">TQPushButton</a>( TQPixmap( rewind_xpm ), 0, this, "vcr_rewind" ); <a href="qpushbutton.html">TQPushButton</a> *rewind = new <a href="qpushbutton.html">TQPushButton</a>( TQPixmap( rewind_xpm ), 0, this, "vcr_rewind" );
layout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( rewind ); layout-&gt;<a href="qboxlayout.html#addWidget">addWidget</a>( rewind );
</pre> </pre>
<p>We create a <a href="qhboxlayout.html">TQHBoxLayout</a> in which we'll place the buttons. We've only shown the rewind button in the code above since all the others are identical except for the names of the buttons, pixmaps and signals. For each of the buttons we retquire we call the <a href="qpushbutton.html">TQPushButton</a> constructor passing it the appropriate embedded pixmap. We then add it to the layout. Finally we connect the button's<!-- index clicked() --> <tt>clicked()</tt> signal to the appropriate <em>signal</em>. Since the<!-- index clicked() --> <tt>clicked()</tt> signals aren't specific to our widget we want to emit signals that reflect the widget's use. The <tt>rewind()</tt>, <tt>play()</tt>, etc. signals are meaningful in the context of our widget so we propagate each button's<!-- index clicked() --> <tt>clicked()</tt> signal to the appropriate widget-specific signal.</p> <p>We create a <a href="qhboxlayout.html">TQHBoxLayout</a> in which we'll place the buttons. We've only shown the rewind button in the code above since all the others are identical except for the names of the buttons, pixmaps and signals. For each of the buttons we require we call the <a href="qpushbutton.html">TQPushButton</a> constructor passing it the appropriate embedded pixmap. We then add it to the layout. Finally we connect the button's<!-- index clicked() --> <tt>clicked()</tt> signal to the appropriate <em>signal</em>. Since the<!-- index clicked() --> <tt>clicked()</tt> signals aren't specific to our widget we want to emit signals that reflect the widget's use. The <tt>rewind()</tt>, <tt>play()</tt>, etc. signals are meaningful in the context of our widget so we propagate each button's<!-- index clicked() --> <tt>clicked()</tt> signal to the appropriate widget-specific signal.</p>
<!-- index Forms!Creating Test Harnesses --><p>The implementation is complete, but to make sure that our widget compiles and runs we'll create a tiny test harness. The test harness will retquire two files, a<!-- index .pro --> <tt>.pro</tt> project file and a<!-- index main.cpp --> <tt>main.cpp</tt>. The <tt>qt/tools/designer/examples/vcr/vcr.pro</tt> project file:</p> <!-- index Forms!Creating Test Harnesses --><p>The implementation is complete, but to make sure that our widget compiles and runs we'll create a tiny test harness. The test harness will require two files, a<!-- index .pro --> <tt>.pro</tt> project file and a<!-- index main.cpp --> <tt>main.cpp</tt>. The <tt>qt/tools/designer/examples/vcr/vcr.pro</tt> project file:</p>
<pre>TEMPLATE = app <pre>TEMPLATE = app
LANGUAGE = C++ LANGUAGE = C++
TARGET = vcr TARGET = vcr
@ -104,12 +104,12 @@ DBFILE = vcr.db
</ol><p>The remaining items to be completed will depend on the characteristics of the widget you've created. If, for example, your widget can be used to contain other widgets you'd check the Container Widget checkbox. In the case of our Vcr example the only items we need to add are its signals.</p> </ol><p>The remaining items to be completed will depend on the characteristics of the widget you've created. If, for example, your widget can be used to contain other widgets you'd check the Container Widget checkbox. In the case of our Vcr example the only items we need to add are its signals.</p>
<p>Click the Signals tab. Click the <b>New Signal</b> button and type in the signal name 'rewind()'. Click <b>New Signal</b> again and this time type in 'play()'. Add the 'next()' and 'stop()' signals in the same way.</p> <p>Click the Signals tab. Click the <b>New Signal</b> button and type in the signal name 'rewind()'. Click <b>New Signal</b> again and this time type in 'play()'. Add the 'next()' and 'stop()' signals in the same way.</p>
<p>Since our example hasn't any slots or properties we've finished and can click <b>Close</b>. A new icon will appear in <em>TQt Designer</em>'s toolbars which represents the new widget. If you create a new form you can add Vcr widgets and connect the Vcr's signals to your slots.</p> <p>Since our example hasn't any slots or properties we've finished and can click <b>Close</b>. A new icon will appear in <em>TQt Designer</em>'s toolbars which represents the new widget. If you create a new form you can add Vcr widgets and connect the Vcr's signals to your slots.</p>
<p>Incorporating custom widgets that have their own slots and properties is achieved in a similar way to adding signals. All the retquired information is in our custom widget's header file.</p> <p>Incorporating custom widgets that have their own slots and properties is achieved in a similar way to adding signals. All the required information is in our custom widget's header file.</p>
<a name="creatingplugins"></a><h3><a name="2"></a>Creating Custom Widgets with Plugins</h3> <a name="creatingplugins"></a><h3><a name="2"></a>Creating Custom Widgets with Plugins</h3>
<!-- index Custom Widgets!Plugins --><!-- index Plugins!Implementing Custom Widgets --><p>This section will show you how to write a custom widget and how to embed the custom widget into a plugin. There are no restrictions or special considerations that must be taken into account when creating a widget that is destined to become a plugin. If you are an experienced TQt programmer you can safely skip the section on creating a custom widget and go directly to <a href="designer-manual-7.html#2-2">Creating a Plugin</a>.</p> <!-- index Custom Widgets!Plugins --><!-- index Plugins!Implementing Custom Widgets --><p>This section will show you how to write a custom widget and how to embed the custom widget into a plugin. There are no restrictions or special considerations that must be taken into account when creating a widget that is destined to become a plugin. If you are an experienced TQt programmer you can safely skip the section on creating a custom widget and go directly to <a href="designer-manual-7.html#2-2">Creating a Plugin</a>.</p>
<p>Be aware that if you use the plugin approach to custom widgets, the plugin needs to be available not only to <em>TQt Designer</em> but also to <tt>uic</tt> at compile-time.</p> <p>Be aware that if you use the plugin approach to custom widgets, the plugin needs to be available not only to <em>TQt Designer</em> but also to <tt>uic</tt> at compile-time.</p>
<h4><a name="2-1"></a>Creating a Custom Widget</h4> <h4><a name="2-1"></a>Creating a Custom Widget</h4>
<!-- index Creating Custom Widgets --><!-- index Widgets!Creating a Custom Widget --><!-- index Subclassing!Widgets --><p>A custom widget is often a specialization (subclass) of another widget or a combination of widgets working together or a blend of both these approaches. If you simply want a collection of widgets in a particular configuration it is easiest to create them, select them as a group, and copy and paste them as retquired within <em>TQt Designer</em>. Custom widgets are generally created when you need to add new functionality to existing widgets or groups of widgets.</p> <!-- index Creating Custom Widgets --><!-- index Widgets!Creating a Custom Widget --><!-- index Subclassing!Widgets --><p>A custom widget is often a specialization (subclass) of another widget or a combination of widgets working together or a blend of both these approaches. If you simply want a collection of widgets in a particular configuration it is easiest to create them, select them as a group, and copy and paste them as required within <em>TQt Designer</em>. Custom widgets are generally created when you need to add new functionality to existing widgets or groups of widgets.</p>
<!-- index Properties!Creating Custom Properties --><p>We have two recommendations that you should consider when creating a custom widget for a plugin:</p> <!-- index Properties!Creating Custom Properties --><p>We have two recommendations that you should consider when creating a custom widget for a plugin:</p>
<ol type=1><li><p>Using TQt's property system will provide <em>TQt Designer</em> users with a direct means of configuring the widget through the property editor. (See the <a href="http://doc.trolltech.com/properties.html">TQt Properties</a> documentation.)</p> <ol type=1><li><p>Using TQt's property system will provide <em>TQt Designer</em> users with a direct means of configuring the widget through the property editor. (See the <a href="http://doc.trolltech.com/properties.html">TQt Properties</a> documentation.)</p>
<li><p>Consider making your widget's public 'set' functions into public slots so that you can perform signal-slot connections with the widget in <em>TQt Designer</em>.</p> <li><p>Consider making your widget's public 'set' functions into public slots so that you can perform signal-slot connections with the widget in <em>TQt Designer</em>.</p>
@ -128,7 +128,7 @@ DBFILE = vcr.db
</pre> </pre>
<p>Our widget will be derived from <a href="qwidget.html">TQWidget</a> so we include the <tt>qwidget.h</tt> header file. We also forward declare the two classes that our widget will be built from.</p> <p>Our widget will be derived from <a href="qwidget.html">TQWidget</a> so we include the <tt>qwidget.h</tt> header file. We also forward declare the two classes that our widget will be built from.</p>
<pre></pre> <pre></pre>
<!-- index Macros!Q_OBJECT --><!-- index Q_OBJECT --><!-- index Macros!Q_ENUMS --><!-- index Q_ENUMS --> <p>We include the <tt>Q_OBJECT</tt> macro since this is retquired for classes that declare signals or slots. The <tt>Q_ENUMS</tt> declaration is used to register the Mode enumeration. Our widget has two properties, mode, to store whether the user should select a File or a Directory and fileName which stores the file or directory they chose.</p> <!-- index Macros!Q_OBJECT --><!-- index Q_OBJECT --><!-- index Macros!Q_ENUMS --><!-- index Q_ENUMS --> <p>We include the <tt>Q_OBJECT</tt> macro since this is required for classes that declare signals or slots. The <tt>Q_ENUMS</tt> declaration is used to register the Mode enumeration. Our widget has two properties, mode, to store whether the user should select a File or a Directory and fileName which stores the file or directory they chose.</p>
<pre> class QT_WIDGET_PLUGIN_EXPORT FileChooser : public <a href="qwidget.html">TQWidget</a> <pre> class QT_WIDGET_PLUGIN_EXPORT FileChooser : public <a href="qwidget.html">TQWidget</a>
{ {
Q_OBJECT Q_OBJECT
@ -222,7 +222,7 @@ DBFILE = vcr.db
<p>When <tt>chooseFile()</tt> is called it presents the user with a file or directory dialog depending on the mode. If the user chooses a file or directory the <a href="qlineedit.html">TQLineEdit</a> is updated with the chosen file or directory and the <tt>fileNameChanged()</tt> signal is emitted.</p> <p>When <tt>chooseFile()</tt> is called it presents the user with a file or directory dialog depending on the mode. If the user chooses a file or directory the <a href="qlineedit.html">TQLineEdit</a> is updated with the chosen file or directory and the <tt>fileNameChanged()</tt> signal is emitted.</p>
<p>Although these two files complete the implementation of the FileChooser widget it is good practice to write a test harness to check that the widget behaves as expected before attempting to put it into a plugin.</p> <p>Although these two files complete the implementation of the FileChooser widget it is good practice to write a test harness to check that the widget behaves as expected before attempting to put it into a plugin.</p>
<h5><a name="2-1-3"></a>Testing the Implementation</h5> <h5><a name="2-1-3"></a>Testing the Implementation</h5>
<!-- index main.cpp --><!-- index Forms!Creating Test Harnesses --><p>We present a rudimentary test harness which will allow us to run our custom widget. The test harness retquires two files, a <tt>main.cpp</tt> to contain the FileChooser, and a <tt>.pro</tt> file to create the Makefile from. Here is <tt>qt/tools/designer/examples/filechooser/widget/main.cpp</tt>:</p> <!-- index main.cpp --><!-- index Forms!Creating Test Harnesses --><p>We present a rudimentary test harness which will allow us to run our custom widget. The test harness requires two files, a <tt>main.cpp</tt> to contain the FileChooser, and a <tt>.pro</tt> file to create the Makefile from. Here is <tt>qt/tools/designer/examples/filechooser/widget/main.cpp</tt>:</p>
<pre> #include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt; <pre> #include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
#include "filechooser.h" #include "filechooser.h"
@ -245,13 +245,13 @@ CONFIG += qt warn_on release
DBFILE = filechooser.db DBFILE = filechooser.db
DEFINES += FILECHOOSER_IS_WIDGET DEFINES += FILECHOOSER_IS_WIDGET
</pre> </pre>
<p>We can create the makefile using <tt>qmake</tt>: <tt>qmake -o Makefile filechooser.pro</tt>, then we can make and run the harness to test our new widget. Once we're satisfied that the custom widget is robust and has the behaviour we retquire we can embed it into a plugin.</p> <p>We can create the makefile using <tt>qmake</tt>: <tt>qmake -o Makefile filechooser.pro</tt>, then we can make and run the harness to test our new widget. Once we're satisfied that the custom widget is robust and has the behaviour we require we can embed it into a plugin.</p>
<h4><a name="2-2"></a>Creating a Plugin</h4> <h4><a name="2-2"></a>Creating a Plugin</h4>
<!-- index Creating Plugins --><!-- index Plugins!Creating a Plugin --><!-- index Component!Plugins --><p>TQt Plugins can be used to provide self-contained software components for TQt applications. TQt currently supports the creation of five kinds of plugins: codecs, image formats, database drivers, styles and custom widgets. In this section we will explain how to convert our filechooser custom widget into a <em>TQt Designer</em> custom widget plugin.</p> <!-- index Creating Plugins --><!-- index Plugins!Creating a Plugin --><!-- index Component!Plugins --><p>TQt Plugins can be used to provide self-contained software components for TQt applications. TQt currently supports the creation of five kinds of plugins: codecs, image formats, database drivers, styles and custom widgets. In this section we will explain how to convert our filechooser custom widget into a <em>TQt Designer</em> custom widget plugin.</p>
<p>A <em>TQt Designer</em> custom widget plugin is always derived from <a href="qwidgetplugin.html">TQWidgetPlugin</a>. The amout of code that needs to be written is minimal.</p> <p>A <em>TQt Designer</em> custom widget plugin is always derived from <a href="qwidgetplugin.html">TQWidgetPlugin</a>. The amout of code that needs to be written is minimal.</p>
<p>To make your own plugin it is probably easiest to start by copying our example<!-- index plugin.h --> <tt>plugin.h</tt> and<!-- index plugin.cpp --> <tt>plugin.cpp</tt> files and changing 'CustomWidgetPlugin' to the name you wish to use for your widget plugin implementation class. Below we provide an introduction to the header file although it needs no changes beyond class renaming. The implementation file retquires simple changes, mostly more class renaming; we will review each function in turn and explain what you need to do.</p> <p>To make your own plugin it is probably easiest to start by copying our example<!-- index plugin.h --> <tt>plugin.h</tt> and<!-- index plugin.cpp --> <tt>plugin.cpp</tt> files and changing 'CustomWidgetPlugin' to the name you wish to use for your widget plugin implementation class. Below we provide an introduction to the header file although it needs no changes beyond class renaming. The implementation file requires simple changes, mostly more class renaming; we will review each function in turn and explain what you need to do.</p>
<h5><a name="2-2-1"></a>The <b>CustomWidgetPlugin</b> Implementation</h5> <h5><a name="2-2-1"></a>The <b>CustomWidgetPlugin</b> Implementation</h5>
<p>We have called our header file<!-- index plugin.h --> <tt>plugin.h</tt> and we've called our plugin class <b>CustomWidgetPlugin</b> since we will be using our plugin class to wrap our custom widgets. We present the entire header file to give you an impression of the scope of the implementation retquired. Most of the functions retquire just a few lines of code.</p> <p>We have called our header file<!-- index plugin.h --> <tt>plugin.h</tt> and we've called our plugin class <b>CustomWidgetPlugin</b> since we will be using our plugin class to wrap our custom widgets. We present the entire header file to give you an impression of the scope of the implementation required. Most of the functions require just a few lines of code.</p>
<pre> #include &lt;<a href="qwidgetplugin-h.html">qwidgetplugin.h</a>&gt; <pre> #include &lt;<a href="qwidgetplugin-h.html">qwidgetplugin.h</a>&gt;
class CustomWidgetPlugin : public <a href="qwidgetplugin.html">TQWidgetPlugin</a> class CustomWidgetPlugin : public <a href="qwidgetplugin.html">TQWidgetPlugin</a>

@ -113,7 +113,7 @@ bool createConnections()
<!-- index TQSqlDatabase::database() --><p>You do not need to keep a reference to database connections. If you use a single database connection, this becomes the default connection and database functions will use this connection automatically. We can always get a pointer to any of our connections by calling <tt>TQSqlDatabase::database()</tt>.</p> <!-- index TQSqlDatabase::database() --><p>You do not need to keep a reference to database connections. If you use a single database connection, this becomes the default connection and database functions will use this connection automatically. We can always get a pointer to any of our connections by calling <tt>TQSqlDatabase::database()</tt>.</p>
<p>If you create a <tt>main.cpp</tt> file using <em>TQt Designer</em>, this file will <em>not</em> include <tt>createConnections()</tt>. We do not include this function because it needs the username and password for the database connection, and you may prefer to handle these differently from our simple example function. As a result, applications that preview correctly in <em>TQt Designer</em> will not run unless you implement your own database connections function.</p> <p>If you create a <tt>main.cpp</tt> file using <em>TQt Designer</em>, this file will <em>not</em> include <tt>createConnections()</tt>. We do not include this function because it needs the username and password for the database connection, and you may prefer to handle these differently from our simple example function. As a result, applications that preview correctly in <em>TQt Designer</em> will not run unless you implement your own database connections function.</p>
<h3><a name="2"></a>Using <a href="qdatatable.html">TQDataTable</a></h3> <h3><a name="2"></a>Using <a href="qdatatable.html">TQDataTable</a></h3>
<p><a href="qdatatable.html">TQDataTable</a>s may be placed on any form to provide browsing of database tables and views. <a href="qdatatable.html">TQDataTable</a>s can also be used to update or delete records in-place, i.e. inside the cells themselves. Inserting records via a <a href="qdatatable.html">TQDataTable</a> usually retquires connecting to the<!-- index primeInsert() --> <tt>primeInsert()</tt> signal, so that we can generate primary keys for example, or provide default values. If we wish to present records using a form view (perhaps combining data from several tables and views) we might use several <a href="qdatabrowser.html">TQDataBrowser</a>s and <a href="qdataview.html">TQDataView</a>s.</p> <p><a href="qdatatable.html">TQDataTable</a>s may be placed on any form to provide browsing of database tables and views. <a href="qdatatable.html">TQDataTable</a>s can also be used to update or delete records in-place, i.e. inside the cells themselves. Inserting records via a <a href="qdatatable.html">TQDataTable</a> usually requires connecting to the<!-- index primeInsert() --> <tt>primeInsert()</tt> signal, so that we can generate primary keys for example, or provide default values. If we wish to present records using a form view (perhaps combining data from several tables and views) we might use several <a href="qdatabrowser.html">TQDataBrowser</a>s and <a href="qdataview.html">TQDataView</a>s.</p>
<h4><a name="2-1"></a>Quickly Viewing a Database Table</h4> <h4><a name="2-1"></a>Quickly Viewing a Database Table</h4>
<p>This example, along with all the other examples in this chapter, has the project name 'book' and uses the database created by the<!-- index book.sql --> <tt>book.sql</tt> script. As we work through the chapter we will build the 'book' application step by step. Create or copy the <tt>qt/tools/designer/examples/book/book1/main.cpp</tt> file shown earlier. The project file for this first example is <tt>qt/tools/designer/examples/book/book1/book.pro</tt>. Start a new project by clicking <b>File|New</b>, then click the 'C++ Project' icon to invoke the <em>Project Settings</em> dialog. Click the ellipsis button to invoke the <em>Save As</em> dialog; navigate to the project's directory (creating it if necessary). Make sure you're in the project's directory, then enter a project name of 'book.pro'. Click the <b>Save</b> button to return to the <em>Project Settings</em> dialog, then click <b>OK</b>. Now click <b>Project|Database Connections</b>. Fill in the connection information appropriate to your database then press <b>Connect</b>. The connection name should now appear in the left hand list box. (If this doesn't happen you'll need to contact your database systems administrator for help.) Close the dialog.</p> <p>This example, along with all the other examples in this chapter, has the project name 'book' and uses the database created by the<!-- index book.sql --> <tt>book.sql</tt> script. As we work through the chapter we will build the 'book' application step by step. Create or copy the <tt>qt/tools/designer/examples/book/book1/main.cpp</tt> file shown earlier. The project file for this first example is <tt>qt/tools/designer/examples/book/book1/book.pro</tt>. Start a new project by clicking <b>File|New</b>, then click the 'C++ Project' icon to invoke the <em>Project Settings</em> dialog. Click the ellipsis button to invoke the <em>Save As</em> dialog; navigate to the project's directory (creating it if necessary). Make sure you're in the project's directory, then enter a project name of 'book.pro'. Click the <b>Save</b> button to return to the <em>Project Settings</em> dialog, then click <b>OK</b>. Now click <b>Project|Database Connections</b>. Fill in the connection information appropriate to your database then press <b>Connect</b>. The connection name should now appear in the left hand list box. (If this doesn't happen you'll need to contact your database systems administrator for help.) Close the dialog.</p>
<p>We will now create a new form with a <a href="qdatatable.html">TQDataTable</a> that's connected to one of our database tables.</p> <p>We will now create a new form with a <a href="qdatatable.html">TQDataTable</a> that's connected to one of our database tables.</p>
@ -144,7 +144,7 @@ bool createConnections()
<!-- index Foreign Keys --><!-- index Databases!Foreign Keys --><p>In most relational databases tables contain fields which are foreign keys into other tables. In our 'book' database example the authorid in the book table is a foreign key into the author table. When we present a form to the end user we do not usually want the foreign key itself to be visible but rather the text associated with it. Thus, we would want the author's name to appear rather than the author id when we show book information. In many databases, this can be achieved by using a view. See your database's documentation for details.</p> <!-- index Foreign Keys --><!-- index Databases!Foreign Keys --><p>In most relational databases tables contain fields which are foreign keys into other tables. In our 'book' database example the authorid in the book table is a foreign key into the author table. When we present a form to the end user we do not usually want the foreign key itself to be visible but rather the text associated with it. Thus, we would want the author's name to appear rather than the author id when we show book information. In many databases, this can be achieved by using a view. See your database's documentation for details.</p>
</blockquote> </blockquote>
<h4><a name="2-2"></a>Inserting Records in <a href="qdatatable.html">TQDataTable</a>s</h4> <h4><a name="2-2"></a>Inserting Records in <a href="qdatatable.html">TQDataTable</a>s</h4>
<!-- index Inserting Records --><!-- index Databases!Inserting Records --><p>Record insertion into a relational database usually retquires the generation of a primary key value which uniquely identifies the record in the table. Also we often want to create default values for some fields to minimize the user's work. We will create a slot to capture the <a href="qdatatable.html">TQDataTable</a>s<!-- index primeInsert() --> <tt>primeInsert()</tt> signal and populate the <a href="qsqlrecord.html">TQSqlRecord</a> insertion buffer with a unique primary key.</p> <!-- index Inserting Records --><!-- index Databases!Inserting Records --><p>Record insertion into a relational database usually requires the generation of a primary key value which uniquely identifies the record in the table. Also we often want to create default values for some fields to minimize the user's work. We will create a slot to capture the <a href="qdatatable.html">TQDataTable</a>s<!-- index primeInsert() --> <tt>primeInsert()</tt> signal and populate the <a href="qsqlrecord.html">TQSqlRecord</a> insertion buffer with a unique primary key.</p>
<ol type=1><li><p>Click <b>Edit|Slots</b> to invoke the <em>Edit Functions</em> dialog. Click <b>New Function</b>, then enter the slot name <tt>primeInsertAuthor(TQSqlRecord*)</tt> into the Function Properties' Function line edit box. Click <b>OK</b>.</p> <ol type=1><li><p>Click <b>Edit|Slots</b> to invoke the <em>Edit Functions</em> dialog. Click <b>New Function</b>, then enter the slot name <tt>primeInsertAuthor(TQSqlRecord*)</tt> into the Function Properties' Function line edit box. Click <b>OK</b>.</p>
<li><p>Click the <b>Connect Signals/Slots</b> toolbar button, then click the AuthorDataTable, drag to the form and release the mouse. The <em>Edit Connections</em> dialog will now appear. Click the<!-- index primeInsert() --> <tt>primeInsert()</tt> signal and then the <tt>primeInsertAuthor()</tt> slot to make the connection. Now click <b>OK</b>.</p> <li><p>Click the <b>Connect Signals/Slots</b> toolbar button, then click the AuthorDataTable, drag to the form and release the mouse. The <em>Edit Connections</em> dialog will now appear. Click the<!-- index primeInsert() --> <tt>primeInsert()</tt> signal and then the <tt>primeInsertAuthor()</tt> slot to make the connection. Now click <b>OK</b>.</p>
<li><p>Click the Members tab of the Object Explorer window (click <b>Window|Views|Object Explorer</b> to make the window visible if necessary). Click the <tt>primeInsertAuthor()</tt> slot and an editor window will appear.</p> <li><p>Click the Members tab of the Object Explorer window (click <b>Window|Views|Object Explorer</b> to make the window visible if necessary). Click the <tt>primeInsertAuthor()</tt> slot and an editor window will appear.</p>
@ -161,15 +161,15 @@ bool createConnections()
</pre> </pre>
<p>A <a href="qsqlquery.html">TQSqlQuery</a> object is used to increment and retrieve a unique 'sequence' number for the author table. The signal passed us a pointer to the insertion buffer and we then put the value we've retrieved, i.e. the next sequence number, into the buffer's id field. (Again, note that SQL databases often support a native 'sequence' function. The method used here is inappropriate for production systems, and is for example purposes only. See your database's documentation for details on how to generate unique keys in code. In many cases, the database can generate them automatically, or the database may provide a special syntax for dealing with sequences.)</p> <p>A <a href="qsqlquery.html">TQSqlQuery</a> object is used to increment and retrieve a unique 'sequence' number for the author table. The signal passed us a pointer to the insertion buffer and we then put the value we've retrieved, i.e. the next sequence number, into the buffer's id field. (Again, note that SQL databases often support a native 'sequence' function. The method used here is inappropriate for production systems, and is for example purposes only. See your database's documentation for details on how to generate unique keys in code. In many cases, the database can generate them automatically, or the database may provide a special syntax for dealing with sequences.)</p>
</ol><!-- index Deleting!Records!Databases --><!-- index Databases!Deleting Records --><!-- index Updating Records --><!-- index Databases!Updating Records --><p>If we rebuild the application it will now support <tt>INSERT</tt> as well as <tt>UPDATE</tt> and <tt>DELETE</tt>. We could easily have added additional code to insert default values, e.g. today's date into a date field, if necessary.</p> </ol><!-- index Deleting!Records!Databases --><!-- index Databases!Deleting Records --><!-- index Updating Records --><!-- index Databases!Updating Records --><p>If we rebuild the application it will now support <tt>INSERT</tt> as well as <tt>UPDATE</tt> and <tt>DELETE</tt>. We could easily have added additional code to insert default values, e.g. today's date into a date field, if necessary.</p>
<!-- index Databases!Browsing --><!-- index Databases!Confirmations --><!-- index Browsing Databases --><p>Browsing is supported by clicking records and by using the arrow keys. Once a record is active (highlighted) we can edit the it. Press the <b>Insert</b> key to <tt>INSERT</tt> a new record; press <b>F2</b> to <tt>UPDATE</tt> the current record; press the <b>Del</b> key to <tt>DELETE</tt> the current record. All these operations take place immediately. Users can be given the opportunity to confirm their edits by setting the <a href="qdatatable.html">TQDataTable</a>'s confirmEdits property to True. If the confirmEdits property is True then user confirmation will be retquired for all insertions, updates and deletes. For finer control you can set the confirmInsert, confirmUpdate and confirmDelete properties individually.</p> <!-- index Databases!Browsing --><!-- index Databases!Confirmations --><!-- index Browsing Databases --><p>Browsing is supported by clicking records and by using the arrow keys. Once a record is active (highlighted) we can edit the it. Press the <b>Insert</b> key to <tt>INSERT</tt> a new record; press <b>F2</b> to <tt>UPDATE</tt> the current record; press the <b>Del</b> key to <tt>DELETE</tt> the current record. All these operations take place immediately. Users can be given the opportunity to confirm their edits by setting the <a href="qdatatable.html">TQDataTable</a>'s confirmEdits property to True. If the confirmEdits property is True then user confirmation will be required for all insertions, updates and deletes. For finer control you can set the confirmInsert, confirmUpdate and confirmDelete properties individually.</p>
<blockquote> <blockquote>
<p align="center"><b> <a href="qdatatable.html">TQDataTable</a> User Interface Interaction</b></p> <p align="center"><b> <a href="qdatatable.html">TQDataTable</a> User Interface Interaction</b></p>
<!-- index Databases!User Interface Interaction --><!-- index User Interface Interaction, Databases --><p>The default user-interface behavior for <a href="qdatatable.html">TQDataTable</a>s is as follows:</p> <!-- index Databases!User Interface Interaction --><!-- index User Interface Interaction, Databases --><p>The default user-interface behavior for <a href="qdatatable.html">TQDataTable</a>s is as follows:</p>
<ul><li><p>Users can move to records by clicking the scrollbar and clicking records with the mouse. They can also use the keyboard's navigation keys, e.g. <b>Left Arrow</b>, <b>Right Arrow</b>, <b>Up Arrow</b>, <b>Down Arrow</b>, <b>Page Up</b>, <b>Page Down</b>, <b>Home</b> and <b>End</b>.</p> <ul><li><p>Users can move to records by clicking the scrollbar and clicking records with the mouse. They can also use the keyboard's navigation keys, e.g. <b>Left Arrow</b>, <b>Right Arrow</b>, <b>Up Arrow</b>, <b>Down Arrow</b>, <b>Page Up</b>, <b>Page Down</b>, <b>Home</b> and <b>End</b>.</p>
<li><p><tt>INSERT</tt> is initiated by right-clicking the record and clicking Insert or by pressing the <b>Ins</b> (Insert) key. The user moves between fields using <b>Tab</b> and <b>Shift+Tab</b>. The <tt>INSERT</tt> will take place if the user presses <b>Enter</b> or <b>Tab</b>s off the last field. If autoEdit is TRUE the insert will take place if the user navigates to another record. <tt>INSERT</tt> is cancelled by pressing <b>Esc</b> (Escape). If autoEdit is FALSE navigating to another record also cancels the <tt>INSERT</tt>. Setting confirmInsert to TRUE will retquire the user to confirm each <tt>INSERT</tt>.</p> <li><p><tt>INSERT</tt> is initiated by right-clicking the record and clicking Insert or by pressing the <b>Ins</b> (Insert) key. The user moves between fields using <b>Tab</b> and <b>Shift+Tab</b>. The <tt>INSERT</tt> will take place if the user presses <b>Enter</b> or <b>Tab</b>s off the last field. If autoEdit is TRUE the insert will take place if the user navigates to another record. <tt>INSERT</tt> is cancelled by pressing <b>Esc</b> (Escape). If autoEdit is FALSE navigating to another record also cancels the <tt>INSERT</tt>. Setting confirmInsert to TRUE will require the user to confirm each <tt>INSERT</tt>.</p>
<li><p><tt>UPDATE</tt> is initiated by right-clicking the record and clicking Update or by pressing <b>F2</b>. The update will take place if the user presses Enter or Tabs off the last field. If autoEdit is TRUE the update will take place if the user navigates to another record. <tt>UPDATE</tt> is cancelled by pressing <b>Esc</b>. If autoEdit is FALSE navigating to another record also cancels the <tt>UPDATE</tt>. Setting confirmUpdate to TRUE will retquire the user to confirm each <tt>UPDATE</tt>.</p> <li><p><tt>UPDATE</tt> is initiated by right-clicking the record and clicking Update or by pressing <b>F2</b>. The update will take place if the user presses Enter or Tabs off the last field. If autoEdit is TRUE the update will take place if the user navigates to another record. <tt>UPDATE</tt> is cancelled by pressing <b>Esc</b>. If autoEdit is FALSE navigating to another record also cancels the <tt>UPDATE</tt>. Setting confirmUpdate to TRUE will require the user to confirm each <tt>UPDATE</tt>.</p>
<li><p><tt>DELETE</tt> is achieved by right-clicking the record and clicking Delete or by pressing the <b>Del</b> (Delete) key. Setting confirmDelete to TRUE will retquire the user to confirm each <tt>DELETE</tt>.</p> <li><p><tt>DELETE</tt> is achieved by right-clicking the record and clicking Delete or by pressing the <b>Del</b> (Delete) key. Setting confirmDelete to TRUE will require the user to confirm each <tt>DELETE</tt>.</p>
</ul><p>You can change this default behavior programmatically if retquired.</p> </ul><p>You can change this default behavior programmatically if required.</p>
</blockquote> </blockquote>
<h4><a name="2-3"></a>Relating Two Tables Together (Master-Detail)</h4> <h4><a name="2-3"></a>Relating Two Tables Together (Master-Detail)</h4>
<!-- index Databases!Master-Detail Relationships --><!-- index Master-Detail Relationships --><p>Databases often have pairs of tables that are related. For example, an invoice table might list the numbers, dates and customers for invoices, but not the actual invoice items, which an invoice item table might store. In the 'book' application we wish to have a <a href="qdatatable.html">TQDataTable</a> that we can use to browse through the authors table and a second <a href="qdatatable.html">TQDataTable</a> to show the books they've written.</p> <!-- index Databases!Master-Detail Relationships --><!-- index Master-Detail Relationships --><p>Databases often have pairs of tables that are related. For example, an invoice table might list the numbers, dates and customers for invoices, but not the actual invoice items, which an invoice item table might store. In the 'book' application we wish to have a <a href="qdatatable.html">TQDataTable</a> that we can use to browse through the authors table and a second <a href="qdatatable.html">TQDataTable</a> to show the books they've written.</p>
@ -210,7 +210,7 @@ bool createConnections()
BookDataTable-&gt;refresh(); BookDataTable-&gt;refresh();
} }
</pre> </pre>
<p>All that's retquired now is to change the BookDataTable's filter and refresh the <a href="qdatatable.html">TQDataTable</a> to show the results of the filter.</p> <p>All that's required now is to change the BookDataTable's filter and refresh the <a href="qdatatable.html">TQDataTable</a> to show the results of the filter.</p>
</ol><h5><a name="2-3-2"></a>Preparing the Interface for Drilldown</h5> </ol><h5><a name="2-3-2"></a>Preparing the Interface for Drilldown</h5>
<!-- index Databases!Drilldown --><!-- index Drilldown --><p>We can now browse and edit authors and see their books in the BookDataTable. In the next section we explore <a href="qdatabrowser.html">TQDataBrowser</a>, which will allow us to drill down to a dialog through which we can edit books. For now we will add some buttons to the main BookForm which we will use to invoke the book editing dialog.</p> <!-- index Databases!Drilldown --><!-- index Drilldown --><p>We can now browse and edit authors and see their books in the BookDataTable. In the next section we explore <a href="qdatabrowser.html">TQDataBrowser</a>, which will allow us to drill down to a dialog through which we can edit books. For now we will add some buttons to the main BookForm which we will use to invoke the book editing dialog.</p>
<ol type=1><li><p>Click the form, then click the <b>Break Layout</b> toolbar button. Resize the form to make room for some buttons at the bottom.</p> <ol type=1><li><p>Click the form, then click the <b>Break Layout</b> toolbar button. Resize the form to make room for some buttons at the bottom.</p>
@ -250,9 +250,9 @@ bool createConnections()
<li><!-- index readFields() --><p><tt>readFields()</tt> to read data from the cursor's edit buffer and<!-- index writeFields() --> <tt>writeFields()</tt> to write the form's data to the cursor's edit buffer;</p> <li><!-- index readFields() --><p><tt>readFields()</tt> to read data from the cursor's edit buffer and<!-- index writeFields() --> <tt>writeFields()</tt> to write the form's data to the cursor's edit buffer;</p>
<li><!-- index clearValues() --><p><tt>clearValues()</tt> to clear the form's values.</p> <li><!-- index clearValues() --><p><tt>clearValues()</tt> to clear the form's values.</p>
</ul><p>If you use <em>TQt Designer</em>'s <a href="qdatabrowser.html">TQDataBrowser</a> wizard you will be given the option of creating a default set of buttons for navigation and editing. The behavior of these buttons is set up using the slots described above to provide the following functionality:</p> </ul><p>If you use <em>TQt Designer</em>'s <a href="qdatabrowser.html">TQDataBrowser</a> wizard you will be given the option of creating a default set of buttons for navigation and editing. The behavior of these buttons is set up using the slots described above to provide the following functionality:</p>
<ul><li><p><tt>INSERT</tt> is initiated by pressing the <b>Ins</b> (Insert) key. The user moves between fields using <b>Tab</b> and <b>Shift+Tab</b>. If the user presses the Update button the <tt>INSERT</tt> will take place and the user will be taken to the record they have just inserted. If the user presses the Insert button (i.e. a second time) the <tt>INSERT</tt> will take place and a new insertion will be initiated. If autoEdit is TRUE the <tt>INSERT</tt> will take place if the user navigates to another record. <tt>INSERT</tt> is cancelled by pressing the <b>Esc</b> key or by pressing the <b>Del</b> (Delete) key. If autoEdit is FALSE then navigating to another record also cancels the <tt>INSERT</tt>. Setting confirmInsert to TRUE will retquire the user to confirm each <tt>INSERT</tt>.</p> <ul><li><p><tt>INSERT</tt> is initiated by pressing the <b>Ins</b> (Insert) key. The user moves between fields using <b>Tab</b> and <b>Shift+Tab</b>. If the user presses the Update button the <tt>INSERT</tt> will take place and the user will be taken to the record they have just inserted. If the user presses the Insert button (i.e. a second time) the <tt>INSERT</tt> will take place and a new insertion will be initiated. If autoEdit is TRUE the <tt>INSERT</tt> will take place if the user navigates to another record. <tt>INSERT</tt> is cancelled by pressing the <b>Esc</b> key or by pressing the <b>Del</b> (Delete) key. If autoEdit is FALSE then navigating to another record also cancels the <tt>INSERT</tt>. Setting confirmInsert to TRUE will require the user to confirm each <tt>INSERT</tt>.</p>
<li><p><tt>UPDATE</tt> is automatically initiated whenever the user navigates to a record. An update will take place if the user presses the Update button. If autoEdit is TRUE the update will take place if the user navigates to another record. <tt>UPDATE</tt> is cancelled by pressing the <b>Esc</b> key or by pressing the <b>Del</b> button. If autoEdit is FALSE then navigating to another record also cancels the <tt>UPDATE</tt>. Setting confirmUpdate to TRUE will retquire the user to confirm each <tt>UPDATE</tt>.</p> <li><p><tt>UPDATE</tt> is automatically initiated whenever the user navigates to a record. An update will take place if the user presses the Update button. If autoEdit is TRUE the update will take place if the user navigates to another record. <tt>UPDATE</tt> is cancelled by pressing the <b>Esc</b> key or by pressing the <b>Del</b> button. If autoEdit is FALSE then navigating to another record also cancels the <tt>UPDATE</tt>. Setting confirmUpdate to TRUE will require the user to confirm each <tt>UPDATE</tt>.</p>
<li><p><tt>DELETE</tt> is achieved by pressing the <b>Del</b> key. Setting confirmDelete to TRUE will retquire the user to confirm each <tt>DELETE</tt>.</p> <li><p><tt>DELETE</tt> is achieved by pressing the <b>Del</b> key. Setting confirmDelete to TRUE will require the user to confirm each <tt>DELETE</tt>.</p>
</ul></blockquote> </ul></blockquote>
<h5><a name="3-1-2"></a>Performing the Drilldown</h5> <h5><a name="3-1-2"></a>Performing the Drilldown</h5>
<!-- index Databases!Drilldown --><!-- index Drilldown --><p>We now have a working form for editing book records. We need to start the form when the user clicks our 'Edit Books' button, and to navigate to the record they have selected in the BookDataTable. We also need to provide a means of editing the foreign keys, e.g. authorid.</p> <!-- index Databases!Drilldown --><!-- index Drilldown --><p>We now have a working form for editing book records. We need to start the form when the user clicks our 'Edit Books' button, and to navigate to the record they have selected in the BookDataTable. We also need to provide a means of editing the foreign keys, e.g. authorid.</p>
@ -344,7 +344,7 @@ bool createConnections()
} }
</pre> </pre>
<p>Firstly we look up the book's author and secondly we iterate through the <em>ComboBox</em>'s items until we find the author and set the <em>ComboBox</em>'s current item to the matching author.</p> <p>Firstly we look up the book's author and secondly we iterate through the <em>ComboBox</em>'s items until we find the author and set the <em>ComboBox</em>'s current item to the matching author.</p>
</ul></ol><p>If the author name has changed or been deleted the query will fail and no author id will be inserted into the buffer causing the <tt>INSERT</tt> to fail. An alternative is to record the author id's as we populate the <em>ComboBox</em> and store them in a <a href="qmap.html">TQMap</a> which we can then look up as retquired. This approach retquires changes to the<!-- index init() --> <tt>init()</tt>, <tt>beforeUpdateBook()</tt> and <tt>primeInsertBook()</tt> functions and the addition of a new function, <tt>mapAuthor()</tt>. The relevant code from <tt>qt/tools/designer/examples/book/book8/editbook.ui</tt> is shown below.</p> </ul></ol><p>If the author name has changed or been deleted the query will fail and no author id will be inserted into the buffer causing the <tt>INSERT</tt> to fail. An alternative is to record the author id's as we populate the <em>ComboBox</em> and store them in a <a href="qmap.html">TQMap</a> which we can then look up as required. This approach requires changes to the<!-- index init() --> <tt>init()</tt>, <tt>beforeUpdateBook()</tt> and <tt>primeInsertBook()</tt> functions and the addition of a new function, <tt>mapAuthor()</tt>. The relevant code from <tt>qt/tools/designer/examples/book/book8/editbook.ui</tt> is shown below.</p>
<ol type=1><li><p>First we need to create a class variable to map author names to author id's. Click in the Members tab of the Object Explorer, then right click the Class Variables item and click <b>New</b>. Type in 'TQMap&lt;TQString,int&gt; authorMap;'.</p> <ol type=1><li><p>First we need to create a class variable to map author names to author id's. Click in the Members tab of the Object Explorer, then right click the Class Variables item and click <b>New</b>. Type in 'TQMap&lt;TQString,int&gt; authorMap;'.</p>
<li><p>We now record the author id's in the<!-- index init() --> <tt>init()</tt> function.</p> <li><p>We now record the author id's in the<!-- index init() --> <tt>init()</tt> function.</p>
<pre> void EditBookForm::init() <pre> void EditBookForm::init()
@ -389,7 +389,7 @@ bool createConnections()
} }
} }
</pre> </pre>
</ol><!-- index Databases!Foreign Keys --><!-- index Foreign Keys --> <p>Another approach which is especially useful if the same foreign key lookups are retquired in different parts of the application is to subclass a cursor and use this for our lookups. This is described in the <a href="http://doc.trolltech.com/sql.html">TQt SQL Module documentation</a>, particulary the section on subclassing <a href="qsqlcursor.html">TQSqlCursor</a>.</p> </ol><!-- index Databases!Foreign Keys --><!-- index Foreign Keys --> <p>Another approach which is especially useful if the same foreign key lookups are required in different parts of the application is to subclass a cursor and use this for our lookups. This is described in the <a href="http://doc.trolltech.com/sql.html">TQt SQL Module documentation</a>, particulary the section on subclassing <a href="qsqlcursor.html">TQSqlCursor</a>.</p>
<p>The 'book' example demonstrates the basic techniques needed for SQL programming with TQt. Additional information on the TQt SQL classes, especially the <a href="qsqlquery.html">TQSqlQuery</a> and <a href="qsqlcursor.html">TQSqlCursor</a> classes is provided in the <a href="http://doc.trolltech.com/sql.html">TQt SQL Module documentation</a>.</p> <p>The 'book' example demonstrates the basic techniques needed for SQL programming with TQt. Additional information on the TQt SQL classes, especially the <a href="qsqlquery.html">TQSqlQuery</a> and <a href="qsqlcursor.html">TQSqlCursor</a> classes is provided in the <a href="http://doc.trolltech.com/sql.html">TQt SQL Module documentation</a>.</p>
<!-- eof --> <!-- eof -->
<p align="right">[<a href="designer-manual-7.html">Prev: Creating Custom Widgets</a>] [<a href="designer-manual.html">Home</a>] [<a href="designer-manual-9.html">Next: Customizing and Integrating TQt Designer</a>]</p> <p align="right">[<a href="designer-manual-7.html">Prev: Creating Custom Widgets</a>] [<a href="designer-manual.html">Home</a>] [<a href="designer-manual-9.html">Next: Customizing and Integrating TQt Designer</a>]</p>

@ -82,7 +82,7 @@ body { background: #ffffff; color: black; }
<h3><a name="2"></a>Creating and Using Templates</h3> <h3><a name="2"></a>Creating and Using Templates</h3>
<!-- index Creating Templates --><!-- index Templates!Creating and Using --><p><em>TQt Designer</em> supports two approaches to creating template forms. The simplest approach involves little more than saving a<!-- index .ui --> <tt>.ui</tt> file into the templates directory. The second approach involves creating a container widget class to be used as a base class for forms that use the template. We will explain both techniques.</p> <!-- index Creating Templates --><!-- index Templates!Creating and Using --><p><em>TQt Designer</em> supports two approaches to creating template forms. The simplest approach involves little more than saving a<!-- index .ui --> <tt>.ui</tt> file into the templates directory. The second approach involves creating a container widget class to be used as a base class for forms that use the template. We will explain both techniques.</p>
<h4><a name="2-1"></a>Simple Templates</h4> <h4><a name="2-1"></a>Simple Templates</h4>
<p>These templates are most useful when you want to create a whole set of forms which all have some common widgets. For example, you might have a project that will retquire many forms, all of which need to be branded with a company name and logo.</p> <p>These templates are most useful when you want to create a whole set of forms which all have some common widgets. For example, you might have a project that will require many forms, all of which need to be branded with a company name and logo.</p>
<p>First we'll create the simple template.</p> <p>First we'll create the simple template.</p>
<ol type=1><li><p>Click <b>File|New</b> to invoke the <em>New File</em> dialog. Click the Dialog template then click <b>OK</b>.</p> <ol type=1><li><p>Click <b>File|New</b> to invoke the <em>New File</em> dialog. Click the Dialog template then click <b>OK</b>.</p>
<li><p>Click the <b>Text Label</b> toolbar button, then click near the top left of the form. Change the font Point Size property to 16 and change the <em>text</em> property to your or your company's name. Click the <b>Line</b> toolbar button, then click the form below the label; click Horizontal on the pop-up menu.</p> <li><p>Click the <b>Text Label</b> toolbar button, then click near the top left of the form. Change the font Point Size property to 16 and change the <em>text</em> property to your or your company's name. Click the <b>Line</b> toolbar button, then click the form below the label; click Horizontal on the pop-up menu.</p>
@ -111,7 +111,7 @@ body { background: #ffffff; color: black; }
<p>If you wish to delete the add-in remove it from the toolbar then delete the<!-- index qmsdev.dll --> <tt>qmsdev.dll</tt> file from the add-ins directory.</p> <p>If you wish to delete the add-in remove it from the toolbar then delete the<!-- index qmsdev.dll --> <tt>qmsdev.dll</tt> file from the add-ins directory.</p>
<h4><a name="3-1"></a>Creating Makefiles without qmake</h4> <h4><a name="3-1"></a>Creating Makefiles without qmake</h4>
<!-- index Makefiles --><p>The <tt>qmake</tt> tool provided with TQt can create Makefiles appropriate to your platform based on<!-- index .pro --> <tt>.pro</tt> project files. This section describes the dependencies involved in building a TQt application and gives a couple of simple example Makefiles. This section assumes that you have a good understanding of Makefiles.</p> <!-- index Makefiles --><p>The <tt>qmake</tt> tool provided with TQt can create Makefiles appropriate to your platform based on<!-- index .pro --> <tt>.pro</tt> project files. This section describes the dependencies involved in building a TQt application and gives a couple of simple example Makefiles. This section assumes that you have a good understanding of Makefiles.</p>
<!-- index Macros!Q_OBJECT --><!-- index Q_OBJECT --><p><em>TQt Designer</em> produces<!-- index .ui --> <tt>.ui</tt> files which are used to generate<!-- index .h --> <tt>.h</tt> and<!-- index .cpp --> <tt>.cpp</tt> files for the compiler to compile. The<!-- index .ui --> <tt>.ui</tt> files are processed by <tt>uic</tt>. Classes which inherit from <a href="qobject.html">TQObject</a>, e.g. those which use slots and signals, retquire an additional<!-- index .cpp --> <tt>.cpp</tt> file to be generated. These files are generated by the <tt>moc</tt> and are named '<em>moc_</em>file.cpp' where the original<!-- index .cpp --> <tt>.cpp</tt> file is called 'file.cpp'. If your<!-- index .cpp --> <tt>.cpp</tt> file contains the <tt>Q_OBJECT</tt> macro an additional file 'file.moc' should be generated which must be <tt>#include</tt>d in the<!-- index .cpp --> <tt>.cpp</tt>, normally at the end. This retquires an extra dependency being created.</p> <!-- index Macros!Q_OBJECT --><!-- index Q_OBJECT --><p><em>TQt Designer</em> produces<!-- index .ui --> <tt>.ui</tt> files which are used to generate<!-- index .h --> <tt>.h</tt> and<!-- index .cpp --> <tt>.cpp</tt> files for the compiler to compile. The<!-- index .ui --> <tt>.ui</tt> files are processed by <tt>uic</tt>. Classes which inherit from <a href="qobject.html">TQObject</a>, e.g. those which use slots and signals, require an additional<!-- index .cpp --> <tt>.cpp</tt> file to be generated. These files are generated by the <tt>moc</tt> and are named '<em>moc_</em>file.cpp' where the original<!-- index .cpp --> <tt>.cpp</tt> file is called 'file.cpp'. If your<!-- index .cpp --> <tt>.cpp</tt> file contains the <tt>Q_OBJECT</tt> macro an additional file 'file.moc' should be generated which must be <tt>#include</tt>d in the<!-- index .cpp --> <tt>.cpp</tt>, normally at the end. This requires an extra dependency being created.</p>
<p>Processing<!-- index .ui --> <tt>.ui</tt> files with <tt>uic</tt> is done <em>twice</em>:</p> <p>Processing<!-- index .ui --> <tt>.ui</tt> files with <tt>uic</tt> is done <em>twice</em>:</p>
<pre> <pre>
uic myform.ui -o myform.h uic myform.ui -o myform.h
@ -172,7 +172,7 @@ myform.h: myform.ui
</pre> </pre>
<p>To see more sophisticated Makefiles simply generate them using <tt>qmake</tt> on any of your TQt projects or any of the examples supplied with TQt.</p> <p>To see more sophisticated Makefiles simply generate them using <tt>qmake</tt> on any of your TQt projects or any of the examples supplied with TQt.</p>
<h3><a name="4"></a>Importing Foreign File Formats</h3> <h3><a name="4"></a>Importing Foreign File Formats</h3>
<!-- index Foreign File Formats --><p>To import a file in a supported foreign file format click <b>File|Open</b>, then click the File Type combobox to choose the file type you wish to load. Click the retquired file and <em>TQt Designer</em> will convert and load the file.</p> <!-- index Foreign File Formats --><p>To import a file in a supported foreign file format click <b>File|Open</b>, then click the File Type combobox to choose the file type you wish to load. Click the required file and <em>TQt Designer</em> will convert and load the file.</p>
<p>The filters that <em>TQt Designer</em> uses to read foreign file formats are 'works in progress'. You may have different filters available in your version of <em>TQt Designer</em> than those described here. The easiest way to see which filters are available is to invoke the file open dialog; all your filters are listed in the File Type combobox.</p> <p>The filters that <em>TQt Designer</em> uses to read foreign file formats are 'works in progress'. You may have different filters available in your version of <em>TQt Designer</em> than those described here. The easiest way to see which filters are available is to invoke the file open dialog; all your filters are listed in the File Type combobox.</p>
<h4><a name="4-1"></a>Importing TQt Architect Files</h4> <h4><a name="4-1"></a>Importing TQt Architect Files</h4>
<!-- index Foreign File Formats!TQt Architect --><!-- index TQt Architect --><p><a href="http://qtarch.sourceforge.net/">TQt Architect</a> is a free GUI builder for TQt written by Jeff Harris and Klaus Ebner. The<!-- index .dlg --> <tt>.dlg</tt> extension is associated with TQt Architect dialog files.</p> <!-- index Foreign File Formats!TQt Architect --><!-- index TQt Architect --><p><a href="http://qtarch.sourceforge.net/">TQt Architect</a> is a free GUI builder for TQt written by Jeff Harris and Klaus Ebner. The<!-- index .dlg --> <tt>.dlg</tt> extension is associated with TQt Architect dialog files.</p>

@ -35,7 +35,7 @@ body { background: #ffffff; color: black; }
<p> This document lists the platform-specific files needed to distribute <p> This document lists the platform-specific files needed to distribute
TQt applications. We do not include any compiler-specific files that TQt applications. We do not include any compiler-specific files that
may also be retquired. (See also, <a href="winsystem.html">Window may also be required. (See also, <a href="winsystem.html">Window
System-specific Notes</a>.) System-specific Notes</a>.)
<p> <!-- toc --> <p> <!-- toc -->
<ul> <ul>
@ -81,7 +81,7 @@ path.
version is prefixed with <em>-mt</em>. version is prefixed with <em>-mt</em>.
<p> <h3> Distributing Plugins <p> <h3> Distributing Plugins
</h3> </h3>
<a name="2-1"></a><p> You must include any plugin files retquired by the application. <a name="2-1"></a><p> You must include any plugin files required by the application.
<p> Plugins must be put into a subdirectory under a directory known to <p> Plugins must be put into a subdirectory under a directory known to
TQt as a plugin directory. The subdirectory must have the name of the TQt as a plugin directory. The subdirectory must have the name of the
plugin category (e.g. <tt>styles</tt>, <tt>sqldrivers</tt>, <tt>designer</tt>, etc.). plugin category (e.g. <tt>styles</tt>, <tt>sqldrivers</tt>, <tt>designer</tt>, etc.).

@ -163,7 +163,7 @@ typically 2-20KB in size; they can be mmap'd direct from disk in order
to save memory). If a TQPF font is found which matches a font request to save memory). If a TQPF font is found which matches a font request
no new TQRenderedFont need be created for it. It's possible to strip out no new TQRenderedFont need be created for it. It's possible to strip out
all TQFontFactory support and simply use TQPFs if your font needs are modest all TQFontFactory support and simply use TQPFs if your font needs are modest
(for instance, if you only retquire a few fixed point sizes). Note that (for instance, if you only require a few fixed point sizes). Note that
no best-match loading is performed with TQPFs, as opposed to those no best-match loading is performed with TQPFs, as opposed to those
loaded via <a href="qfontmanager.html">TQFontManager</a>, so if you don't have the correct TQPF for a point loaded via <a href="qfontmanager.html">TQFontManager</a>, so if you don't have the correct TQPF for a point
size, text in that size will simply not be displayed. size, text in that size will simply not be displayed.

@ -35,7 +35,7 @@ body { background: #ffffff; color: black; }
When building embedded applications on low-powered devices, a number When building embedded applications on low-powered devices, a number
of options are available that would not be considered in a desktop of options are available that would not be considered in a desktop
application environment. These options reduce the memory and/or CPU application environment. These options reduce the memory and/or CPU
retquirements at the cost of other factors. requirements at the cost of other factors.
<p> <ul> <p> <ul>
<li> <a href="emb-features.html"><b>Tuning the functionality of TQt</a> <li> <a href="emb-features.html"><b>Tuning the functionality of TQt</a>
<li> <a href="#general">General programming style</a> <li> <a href="#general">General programming style</a>

@ -32,7 +32,7 @@ body { background: #ffffff; color: black; }
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Porting your applications to TQt/Embedded</h1> <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Porting your applications to TQt/Embedded</h1>
<p> Existing TQt applications should retquire no porting provided there is no <p> Existing TQt applications should require no porting provided there is no
platform dependent code. Platform dependent code includes system calls, platform dependent code. Platform dependent code includes system calls,
calls to the underlying window system (Windows or X11), and TQt platform calls to the underlying window system (Windows or X11), and TQt platform
specific methods such as <a href="qapplication.html#x11EventFilter">TQApplication::x11EventFilter</a>(). specific methods such as <a href="qapplication.html#x11EventFilter">TQApplication::x11EventFilter</a>().
@ -45,7 +45,7 @@ using <tt>#ifdef</tt> directives:
<tr bgcolor="#d0d0d0"> <td valign="top">TQt/Windows <td valign="top">Q_WS_WIN <tr bgcolor="#d0d0d0"> <td valign="top">TQt/Windows <td valign="top">Q_WS_WIN
<tr bgcolor="#f0f0f0"> <td valign="top">TQt/Embedded <td valign="top">Q_WS_QWS <tr bgcolor="#f0f0f0"> <td valign="top">TQt/Embedded <td valign="top">Q_WS_QWS
</table></center> </table></center>
<p> TQt/Embedded also retquires the following flags to be defined when compiling <p> TQt/Embedded also requires the following flags to be defined when compiling
applications: applications:
<pre> <pre>
-DTQWS -fno-exceptions -fno-rtti -DTQWS -fno-exceptions -fno-rtti

@ -32,7 +32,7 @@ body { background: #ffffff; color: black; }
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Running TQt/Embedded applications</h1> <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Running TQt/Embedded applications</h1>
<p> A TQt/Embedded application retquires a master application to be running <p> A TQt/Embedded application requires a master application to be running
or to be a master application itself. The master application is or to be a master application itself. The master application is
primarily responsible for managing top-level window regions, and primarily responsible for managing top-level window regions, and
pointer and keyboard input. pointer and keyboard input.

@ -330,7 +330,7 @@ project. Can we transfer the license to another developer?
</h3> </h3>
<a name="4-1"></a><p> Yes. TQt licences are for the individual use of named developers. If <a name="4-1"></a><p> Yes. TQt licences are for the individual use of named developers. If
the developer associated with a licence leaves the organization, or the developer associated with a licence leaves the organization, or
moves on to another project that does not retquire a TQt license, moves on to another project that does not require a TQt license,
another developer can take over the licence. You can change the name another developer can take over the licence. You can change the name
of the developer using a licence at any time, but after a change you of the developer using a licence at any time, but after a change you
must wait at least six (6) months before changing again. must wait at least six (6) months before changing again.
@ -420,7 +420,7 @@ software pool to do so without paying license fees.
<p> Although it is possible to write free software for internal <p> Although it is possible to write free software for internal
use, it is difficult to ensure that such software is used and use, it is difficult to ensure that such software is used and
distributed legally. For example, if your free software distributed legally. For example, if your free software
retquires any modules that impose conditions on you that requires any modules that impose conditions on you that
contradict the conditions of the GNU GPL, including, but not contradict the conditions of the GNU GPL, including, but not
limited to, software patents, commercial license agreements, limited to, software patents, commercial license agreements,
copyrighted interface definitions or any sort of copyrighted interface definitions or any sort of

@ -151,9 +151,9 @@ above, provided that you also meet all of these conditions:
these conditions, and telling the user how to view a copy of this these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on does not normally print such an announcement, your work based on
the Program is not retquired to print an announcement.) the Program is not required to print an announcement.)
These retquirements apply to the modified work as a whole. If These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program, identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those themselves, then this License, and its terms, do not apply to those
@ -219,7 +219,7 @@ However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such this License will not have their licenses terminated so long as such
parties remain in full compliance. parties remain in full compliance.
5. You are not retquired to accept this License, since you have not 5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by prohibited by law if you do not accept this License. Therefore, by

@ -476,7 +476,7 @@ and use the make tool to build the library.
<hr> <hr>
<ol> <li><a name="footnote1"></a> <ol> <li><a name="footnote1"></a>
Note that <a href="moc.html#moc">moc</a> retquires that <a href="qobject.html">TQObject</a> Note that <a href="moc.html#moc">moc</a> requires that <a href="qobject.html">TQObject</a>
is the first base class. <a href="#footnote-call1">Back...</a> <li><a name="footnote2"></a> is the first base class. <a href="#footnote-call1">Back...</a> <li><a name="footnote2"></a>
Note that we have to explicitly scope the orientation Note that we have to explicitly scope the orientation

@ -73,10 +73,10 @@ the application usable by people in countries other than one's own.
<!-- endtoc --> <!-- endtoc -->
<p> In some cases internationalization is simple, for example, making a US <p> In some cases internationalization is simple, for example, making a US
application accessible to Australian or British users may retquire application accessible to Australian or British users may require
little more than a few spelling corrections. But to make a US little more than a few spelling corrections. But to make a US
application usable by Japanese users, or a Korean application usable application usable by Japanese users, or a Korean application usable
by German users, will retquire that the software operate not only in by German users, will require that the software operate not only in
different languages, but use different input techniques, character different languages, but use different input techniques, character
encodings and presentation conventions. encodings and presentation conventions.
<p> TQt tries to make internationalization as painless as possible for <p> TQt tries to make internationalization as painless as possible for
@ -94,7 +94,7 @@ time.
<li> Greek <li> Greek
<li> Hebrew <li> Hebrew
<li> Thai and Lao <li> Thai and Lao
<li> All scripts in Unicode 3.2 that do not retquire special processing <li> All scripts in Unicode 3.2 that do not require special processing
</ul> </ul>
<p> On Windows NT/2000/XP and Unix/X11 with Xft (client side font support) <p> On Windows NT/2000/XP and Unix/X11 with Xft (client side font support)
the following languages are also supported: the following languages are also supported:
@ -149,7 +149,7 @@ takes a <a href="qrect.html">TQRect</a> since this will align in accordance with
<p> <li> When you write your own text input controls, use <a href="qfontmetrics.html#charWidth">TQFontMetrics::charWidth</a>() to determine the width of a character in a <p> <li> When you write your own text input controls, use <a href="qfontmetrics.html#charWidth">TQFontMetrics::charWidth</a>() to determine the width of a character in a
string. In some languages (e.g. Arabic or languages from the Indian string. In some languages (e.g. Arabic or languages from the Indian
subcontinent), the width and shape of a glyph changes depending on the subcontinent), the width and shape of a glyph changes depending on the
surrounding characters. Writing input controls usually retquires a surrounding characters. Writing input controls usually requires a
certain knowledge of the scripts it is going to be used in. Usually certain knowledge of the scripts it is going to be used in. Usually
the easiest way is to subclass <a href="qlineedit.html">TQLineEdit</a> or <a href="qtextedit.html">TQTextEdit</a>. the easiest way is to subclass <a href="qlineedit.html">TQLineEdit</a> or <a href="qtextedit.html">TQTextEdit</a>.
<p> </ul> <p> </ul>
@ -394,7 +394,7 @@ support many input and output encodings for your users' data. When an
application starts, the locale of the machine will determine the 8-bit application starts, the locale of the machine will determine the 8-bit
encoding used when dealing with 8-bit data: such as for font encoding used when dealing with 8-bit data: such as for font
selection, text display, 8-bit text I/O and character input. selection, text display, 8-bit text I/O and character input.
<p> The application may occasionally retquire encodings other than the <p> The application may occasionally require encodings other than the
default local 8-bit encoding. For example, an application in a default local 8-bit encoding. For example, an application in a
Cyrillic KOI8-R locale (the de-facto standard locale in Russia) might Cyrillic KOI8-R locale (the de-facto standard locale in Russia) might
need to output Cyrillic in the ISO 8859-5 encoding. Code for this need to output Cyrillic in the ISO 8859-5 encoding. Code for this

@ -151,7 +151,7 @@ existing code which uses these classes will continue to work.
<p> <h3> Regular Expressions <p> <h3> Regular Expressions
</h3> </h3>
<a name="1-6"></a><p> TQt has always provided <a href="qregexp.html#regular-expression">regular expression</a> support, but that support <a name="1-6"></a><p> TQt has always provided <a href="qregexp.html#regular-expression">regular expression</a> support, but that support
was pretty much limited to what was retquired in common GUI control was pretty much limited to what was required in common GUI control
elements such as file dialogs. TQt 3.0 introduces a new regular elements such as file dialogs. TQt 3.0 introduces a new regular
expression engine, <a href="qregexp.html">TQRegExp</a>, that supports most of Perl's regex expression engine, <a href="qregexp.html">TQRegExp</a>, that supports most of Perl's regex
features and is Unicode based. The most useful additions are support features and is Unicode based. The most useful additions are support

@ -103,11 +103,11 @@ only get more space if no other widgets want the space. Of these,
space is allocated to widgets with an <tt>Expanding</tt> size policy first. space is allocated to widgets with an <tt>Expanding</tt> size policy first.
<li> Any widgets that are allocated less space than their minimum size <li> Any widgets that are allocated less space than their minimum size
(or minimum size hint if no minimum size is specified) are allocated (or minimum size hint if no minimum size is specified) are allocated
this minimum size they retquire. (Widgets don't have to have a minimum this minimum size they require. (Widgets don't have to have a minimum
size or minimum size hint in which case the strech factor is their size or minimum size hint in which case the strech factor is their
determining factor.) determining factor.)
<li> Any widgets that are allocated more space than their maximum size <li> Any widgets that are allocated more space than their maximum size
are allocated the maximum size space they retquire. (Widgets don't have are allocated the maximum size space they require. (Widgets don't have
to have a maximum size in which case the strech factor is their to have a maximum size in which case the strech factor is their
determining factor.) determining factor.)
</ol> </ol>
@ -201,7 +201,7 @@ layout, you should reimplement the following <a href="qwidget.html">TQWidget</a>
<li> <a href="qwidget.html#sizeHint">TQWidget::sizeHint</a>() returns the preferred size of the widget. <li> <a href="qwidget.html#sizeHint">TQWidget::sizeHint</a>() returns the preferred size of the widget.
<li> <a href="qwidget.html#minimumSizeHint">TQWidget::minimumSizeHint</a>() returns the smallest size the widget can have. <li> <a href="qwidget.html#minimumSizeHint">TQWidget::minimumSizeHint</a>() returns the smallest size the widget can have.
<li> <a href="qwidget.html#sizePolicy">TQWidget::sizePolicy</a>() returns a <a href="qsizepolicy.html">TQSizePolicy</a>; a value describing <li> <a href="qwidget.html#sizePolicy">TQWidget::sizePolicy</a>() returns a <a href="qsizepolicy.html">TQSizePolicy</a>; a value describing
the space retquirements of the widget. the space requirements of the widget.
</ul> </ul>
<p> Call <a href="qwidget.html#updateGeometry">TQWidget::updateGeometry</a>() whenever the size hint, minimum size <p> Call <a href="qwidget.html#updateGeometry">TQWidget::updateGeometry</a>() whenever the size hint, minimum size
hint or size policy changes. This will cause a layout recalculation. hint or size policy changes. This will cause a layout recalculation.
@ -215,12 +215,12 @@ of the widget, and it is used by <a href="qlayout.html">TQLayout</a> subclasses
support heightForWidth() (both <a href="qgridlayout.html">TQGridLayout</a> and <a href="qboxlayout.html">TQBoxLayout</a> support it). support heightForWidth() (both <a href="qgridlayout.html">TQGridLayout</a> and <a href="qboxlayout.html">TQBoxLayout</a> support it).
<p> For further guidance when implementing these functions, see their <p> For further guidance when implementing these functions, see their
implementations in existing TQt classes that have similar layout implementations in existing TQt classes that have similar layout
retquirements to your new widget. requirements to your new widget.
<p> <h2> Manual Layout <p> <h2> Manual Layout
</h2> </h2>
<a name="6"></a><p> If you are making a one-of-a-kind special layout, you can also make a <a name="6"></a><p> If you are making a one-of-a-kind special layout, you can also make a
custom widget as described above. Reimplement <a href="qwidget.html#resizeEvent">TQWidget::resizeEvent</a>() custom widget as described above. Reimplement <a href="qwidget.html#resizeEvent">TQWidget::resizeEvent</a>()
to calculate the retquired distribution of sizes and call <a href="qwidget.html#setGeometry">setGeometry</a>() on each child. to calculate the required distribution of sizes and call <a href="qwidget.html#setGeometry">setGeometry</a>() on each child.
<p> The widget will get an event with <a href="qevent.html#type">type</a> <p> The widget will get an event with <a href="qevent.html#type">type</a>
<tt>LayoutHint</tt> when the layout needs to be recalculated. Reimplement <tt>LayoutHint</tt> when the layout needs to be recalculated. Reimplement
<a href="qwidget.html#event">TQWidget::event</a>() to be notified of <tt>LayoutHint</tt> events. <a href="qwidget.html#event">TQWidget::event</a>() to be notified of <tt>LayoutHint</tt> events.

@ -107,7 +107,7 @@ or by others.
<p> 6. You may develop application programs, reusable components and other <p> 6. You may develop application programs, reusable components and other
software items that link with the original or modified versions of the software items that link with the original or modified versions of the
Software. These items, when distributed, are subject to the following Software. These items, when distributed, are subject to the following
retquirements: requirements:
<p> <blockquote> <p> <blockquote>
a. You must ensure that all recipients of machine-executable forms of a. You must ensure that all recipients of machine-executable forms of
these items are also able to receive and use the complete these items are also able to receive and use the complete

@ -302,13 +302,13 @@ above.
</ul> </ul>
<hr> <hr>
<p> TQt supports GIF reading if it is configured that way during <p> TQt supports GIF reading if it is configured that way during
installation (see qgif.h). If it is, we are retquired to state that installation (see qgif.h). If it is, we are required to state that
"The Graphics Interchange Format(c) is the Copyright property of "The Graphics Interchange Format(c) is the Copyright property of
CompuServe Incorporated. GIF(sm) is a Service Mark property of CompuServe Incorporated. GIF(sm) is a Service Mark property of
CompuServe Incorporated." CompuServe Incorporated."
<p> <b>Warning:</b> If you are in a country that recognizes software patents <p> <b>Warning:</b> If you are in a country that recognizes software patents
and in which Unisys holds a patent on LZW compression and/or and in which Unisys holds a patent on LZW compression and/or
decompression and you want to use GIF, Unisys may retquire you to decompression and you want to use GIF, Unisys may require you to
license that technology. Such countries include Canada, Japan, license that technology. Such countries include Canada, Japan,
the USA, France, Germany, Italy and the UK. the USA, France, Germany, Italy and the UK.
<p> GIF support may be removed completely in a future version of TQt. <p> GIF support may be removed completely in a future version of TQt.

@ -33,11 +33,11 @@ body { background: #ffffff; color: black; }
<h2 align="center">Introduction</h2> <h2 align="center">Introduction</h2>
<p>TQt provides excellent support for translating applications into local languages. This Guide explains how to use TQt's translation tools for each of the roles involved in translating an application. The Guide begins with a brief overview of the issues that must be considered, followed by chapters devoted to each role and the supporting tools provided.</p> <p>TQt provides excellent support for translating applications into local languages. This Guide explains how to use TQt's translation tools for each of the roles involved in translating an application. The Guide begins with a brief overview of the issues that must be considered, followed by chapters devoted to each role and the supporting tools provided.</p>
<p><a href="linguist-manual-2.html">Chapter 2: Release Manager</a> is aimed at the person with overall responsibility for the release of the application. They will typically coordinate the work of the software engineers and the translator. The chapter describes the use of two tools. The <a href="linguist-manual-2.html#2">lupdate</a> tool is used to synchronize source code and translations. The <a href="linguist-manual-2.html#3">lrelease</a> tool is used to create runtime translation files for use by the released application.</p> <p><a href="linguist-manual-2.html">Chapter 2: Release Manager</a> is aimed at the person with overall responsibility for the release of the application. They will typically coordinate the work of the software engineers and the translator. The chapter describes the use of two tools. The <a href="linguist-manual-2.html#2">lupdate</a> tool is used to synchronize source code and translations. The <a href="linguist-manual-2.html#3">lrelease</a> tool is used to create runtime translation files for use by the released application.</p>
<p><a href="linguist-manual-3.html">Chapter 3: Translators</a> is for translators. It describes the use of the <em>TQt Linguist</em> tool. No computer knowledge beyond the ability to start a program and use a text editor or word processor is retquired.</p> <p><a href="linguist-manual-3.html">Chapter 3: Translators</a> is for translators. It describes the use of the <em>TQt Linguist</em> tool. No computer knowledge beyond the ability to start a program and use a text editor or word processor is required.</p>
<p><a href="linguist-manual-4.html">Chapter 4: Programmers</a> is for TQt programmers. It explains how to create TQt applications that are able to use translated text. It also provides guidance on how to help the translator identify the context in which phrases appear. This chapter's three short tutorials cover everything the programmer needs to do.</p> <p><a href="linguist-manual-4.html">Chapter 4: Programmers</a> is for TQt programmers. It explains how to create TQt applications that are able to use translated text. It also provides guidance on how to help the translator identify the context in which phrases appear. This chapter's three short tutorials cover everything the programmer needs to do.</p>
<h3><a name="1"></a>Overview of the Translation Process</h3> <h3><a name="1"></a>Overview of the Translation Process</h3>
<p>Most of the text that must be translated in an application program consists of either single words or short phrases. These typically appear as window titles, menu items, pop-up help text (balloon help), and labels to buttons, check boxes and radio buttons.</p> <p>Most of the text that must be translated in an application program consists of either single words or short phrases. These typically appear as window titles, menu items, pop-up help text (balloon help), and labels to buttons, check boxes and radio buttons.</p>
<p>The phrases are entered into the source code by the programmer in their native language using a simple but special syntax to identify that the phrases retquire translation. The TQt tools provide context information for each of the phrases to help the translator, and the programmer is able to add additional context information to phrases when necessary. The release manager generates a set of translation files that are produced from the source files and passes these to the translator. The translator opens the translation files using <em>TQt Linguist</em>, enters their translations and saves the results back into the translation files, which they pass back to the release manager. The release manager then generates fast compact versions of these translation files ready for use by the application. The tools are designed to be used in repeated cycles as applications change and evolve, preserving existing translations and making it easy to identify which new translations are retquired. <em>TQt Linguist</em> also provides a phrase book facility to help ensure consistent translations across multiple applications and projects.</p> <p>The phrases are entered into the source code by the programmer in their native language using a simple but special syntax to identify that the phrases require translation. The TQt tools provide context information for each of the phrases to help the translator, and the programmer is able to add additional context information to phrases when necessary. The release manager generates a set of translation files that are produced from the source files and passes these to the translator. The translator opens the translation files using <em>TQt Linguist</em>, enters their translations and saves the results back into the translation files, which they pass back to the release manager. The release manager then generates fast compact versions of these translation files ready for use by the application. The tools are designed to be used in repeated cycles as applications change and evolve, preserving existing translations and making it easy to identify which new translations are required. <em>TQt Linguist</em> also provides a phrase book facility to help ensure consistent translations across multiple applications and projects.</p>
<p>Translators and programmers must address a number of issues because of the subtleties and complexities of human language:</p> <p>Translators and programmers must address a number of issues because of the subtleties and complexities of human language:</p>
<ul><li><p>A single phrase may need to be translated into several different forms depending on context, e.g. <em>open</em> in English might become <em></em><em>&ouml;ffnen</em>, "open file", or <em>aufbauen</em>, "open internet connection", in German.</p> <ul><li><p>A single phrase may need to be translated into several different forms depending on context, e.g. <em>open</em> in English might become <em></em><em>&ouml;ffnen</em>, "open file", or <em>aufbauen</em>, "open internet connection", in German.</p>
<li><p>Keyboard accelerators may need to be changed but without introducing conflicts, e.g. "&amp;Quit" in English becomes "Avslutt" in Norwegian which doesn't contain a "Q". We cannot use a letter that is already in use -- unless we change several accelerators.</p> <li><p>Keyboard accelerators may need to be changed but without introducing conflicts, e.g. "&amp;Quit" in English becomes "Avslutt" in Norwegian which doesn't contain a "Q". We cannot use a letter that is already in use -- unless we change several accelerators.</p>

@ -61,12 +61,12 @@ body { background: #ffffff; color: black; }
<!-- index lupdate --><p>Usage: <tt>lupdate myproject.pro</tt></p> <!-- index lupdate --><p>Usage: <tt>lupdate myproject.pro</tt></p>
<!-- index TQt Designer --><p>This is a simple command line tool. <a href="linguist-manual-2.html#2">lupdate</a> reads a TQt <tt>.pro</tt> project file, finds the translatable strings in the specified source, header and <em>TQt Designer</em> interface files, and produces or updates the <tt>.ts</tt> translation files listed in the project file. The translation files are given to the translator who uses <em>TQt Linguist</em> to read the files and insert the translations.</p> <!-- index TQt Designer --><p>This is a simple command line tool. <a href="linguist-manual-2.html#2">lupdate</a> reads a TQt <tt>.pro</tt> project file, finds the translatable strings in the specified source, header and <em>TQt Designer</em> interface files, and produces or updates the <tt>.ts</tt> translation files listed in the project file. The translation files are given to the translator who uses <em>TQt Linguist</em> to read the files and insert the translations.</p>
<p>Companies that have their own translators in-house may find it useful to run <a href="linguist-manual-2.html#2">lupdate</a> regularly, perhaps monthly, as the application develops. This will lead to a fairly low volume of translation work spread evenly over the life of the project and will allow the translators to support a number of projects simultaneously.</p> <p>Companies that have their own translators in-house may find it useful to run <a href="linguist-manual-2.html#2">lupdate</a> regularly, perhaps monthly, as the application develops. This will lead to a fairly low volume of translation work spread evenly over the life of the project and will allow the translators to support a number of projects simultaneously.</p>
<p>Companies that hire in translators as retquired may prefer to run <a href="linguist-manual-2.html#2">lupdate</a> only a few times in the application's life cycle, the first time might be just before the first test phase. This will provide the translator with a substantial single block of work and any bugs that the translator detects may easily be included with those found during the initial test phase. The second and any subsequent <a href="linguist-manual-2.html#2">lupdate</a> runs would probably take place during the final beta phase.</p> <p>Companies that hire in translators as required may prefer to run <a href="linguist-manual-2.html#2">lupdate</a> only a few times in the application's life cycle, the first time might be just before the first test phase. This will provide the translator with a substantial single block of work and any bugs that the translator detects may easily be included with those found during the initial test phase. The second and any subsequent <a href="linguist-manual-2.html#2">lupdate</a> runs would probably take place during the final beta phase.</p>
<!-- index .ts Files --><!-- index Translation Source Files --><!-- index XML --><p>The <tt>.ts</tt> file format is a simple human-readable XML format that can be used with version control systems if retquired.</p> <!-- index .ts Files --><!-- index Translation Source Files --><!-- index XML --><p>The <tt>.ts</tt> file format is a simple human-readable XML format that can be used with version control systems if required.</p>
<h3><a name="3"></a>lrelease</h3> <h3><a name="3"></a>lrelease</h3>
<!-- index lrelease --><p>Usage: <tt>lrelease myproject.pro</tt></p> <!-- index lrelease --><p>Usage: <tt>lrelease myproject.pro</tt></p>
<!-- index .qm Files --><!-- index TQt Message Files --><p>This is another simple command line tool. It reads a TQt <tt>.pro</tt> project file and produces the <tt>.qm</tt> files used by the application, one for each <tt>.ts</tt> translation source file listed in the project file. The <tt>.qm</tt> file format is a compact binary format that provides extremely fast lookups for translations.</p> <!-- index .qm Files --><!-- index TQt Message Files --><p>This is another simple command line tool. It reads a TQt <tt>.pro</tt> project file and produces the <tt>.qm</tt> files used by the application, one for each <tt>.ts</tt> translation source file listed in the project file. The <tt>.qm</tt> file format is a compact binary format that provides extremely fast lookups for translations.</p>
<p>This tool is run whenever a release of the application is to be made, from initial test version through to final release version. If the <tt>.qm</tt> files are not created, e.g. because an alpha release is retquired before any translation has been undertaken, the application will run perfectly well using the text the programmers placed in the source files. Once the <tt>.qm</tt> files are available the application will detect them and use them automatically.</p> <p>This tool is run whenever a release of the application is to be made, from initial test version through to final release version. If the <tt>.qm</tt> files are not created, e.g. because an alpha release is required before any translation has been undertaken, the application will run perfectly well using the text the programmers placed in the source files. Once the <tt>.qm</tt> files are available the application will detect them and use them automatically.</p>
<p>Note that <a href="linguist-manual-2.html#3">lrelease</a> will only incorporate translations that are marked as "done". If a translation is missing, or has failed validation, the original text will be used instead.</p> <p>Note that <a href="linguist-manual-2.html#3">lrelease</a> will only incorporate translations that are marked as "done". If a translation is missing, or has failed validation, the original text will be used instead.</p>
<h3><a name="4"></a>Missing Translations</h3> <h3><a name="4"></a>Missing Translations</h3>
<p>Both <a href="linguist-manual-2.html#2">lupdate</a> and <a href="linguist-manual-2.html#3">lrelease</a> may be used with <tt>.ts</tt> translation source files which are incomplete. Missing translations will be replaced with the native language phrases at runtime.</p> <p>Both <a href="linguist-manual-2.html#2">lupdate</a> and <a href="linguist-manual-2.html#3">lrelease</a> may be used with <tt>.ts</tt> translation source files which are incomplete. Missing translations will be replaced with the native language phrases at runtime.</p>

@ -38,7 +38,7 @@ body { background: #ffffff; color: black; }
<!-- index Linguist --><!-- index TQt Linguist --><!-- index Contexts!for Translation --><p><em>TQt Linguist</em> is a tool for adding translations to TQt applications. It introduces the concept of a translation "context" which means a group of phrases that appear together on the screen e.g. in the same menu or dialog.</p> <!-- index Linguist --><!-- index TQt Linguist --><!-- index Contexts!for Translation --><p><em>TQt Linguist</em> is a tool for adding translations to TQt applications. It introduces the concept of a translation "context" which means a group of phrases that appear together on the screen e.g. in the same menu or dialog.</p>
<p>To start, run <em>TQt Linguist</em>, either from the taskbar menu, or by double clicking the desktop icon, or type <tt>linguist</tt> (followed by <b>Enter</b>) at the command line. Once <em>TQt Linguist</em> has started choose <b>File|Open</b> from the menu bar and select a <tt>.ts</tt> translation source file to work on.</p> <p>To start, run <em>TQt Linguist</em>, either from the taskbar menu, or by double clicking the desktop icon, or type <tt>linguist</tt> (followed by <b>Enter</b>) at the command line. Once <em>TQt Linguist</em> has started choose <b>File|Open</b> from the menu bar and select a <tt>.ts</tt> translation source file to work on.</p>
<p><em>TQt Linguist</em>'s main window is divided into four main areas. The left hand side contains the Context list, the top right is the Source text area, the middle right is the translation area and the bottom right is the phrases and guesses area. We'll describe them in detail later.</p> <p><em>TQt Linguist</em>'s main window is divided into four main areas. The left hand side contains the Context list, the top right is the Source text area, the middle right is the translation area and the bottom right is the phrases and guesses area. We'll describe them in detail later.</p>
<p>Click on one of the contexts in the context list (left hand side) and then click on one of the phrases that appears in the Source text area (top right). The phrase will be copied into the translation area (middle right). Click under the word 'Translation' and type in the translation. Click <b>Ctrl+Enter</b> (Done &amp; Next) to confirm that you have completed the translation and to move on to the next phrase that retquires translation.</p> <p>Click on one of the contexts in the context list (left hand side) and then click on one of the phrases that appears in the Source text area (top right). The phrase will be copied into the translation area (middle right). Click under the word 'Translation' and type in the translation. Click <b>Ctrl+Enter</b> (Done &amp; Next) to confirm that you have completed the translation and to move on to the next phrase that requires translation.</p>
<p>The cycle of entering a translation then pressing <b>Ctrl+Enter</b> can be repeated until all the translations are done or until you finish the session. Linguist will attempt to fill the "phrases and guesses" area with possible translations from any open phrase books and any previous translations. Each has a keyboard shortcut, e.g. <b>Ctrl+1</b>, <b>Ctrl+2</b>, etc., which you can use to copy the guess into the Translation area. (Mouse users can double click a phrase or guess to move it into the Translation area.) At the end of the session choose <b>File|Save</b> from the menu bar and then <b>File|Exit</b> to quit.</p> <p>The cycle of entering a translation then pressing <b>Ctrl+Enter</b> can be repeated until all the translations are done or until you finish the session. Linguist will attempt to fill the "phrases and guesses" area with possible translations from any open phrase books and any previous translations. Each has a keyboard shortcut, e.g. <b>Ctrl+1</b>, <b>Ctrl+2</b>, etc., which you can use to copy the guess into the Translation area. (Mouse users can double click a phrase or guess to move it into the Translation area.) At the end of the session choose <b>File|Save</b> from the menu bar and then <b>File|Exit</b> to quit.</p>
<h3><a name="2"></a>TQt Linguist's Main Window</h3> <h3><a name="2"></a>TQt Linguist's Main Window</h3>
<h4><a name="2-1"></a>Context List</h4> <h4><a name="2-1"></a>Context List</h4>
@ -80,7 +80,7 @@ body { background: #ffffff; color: black; }
<p>To add a new phrase click the <b>New Phrase</b> button (or press Alt+N) and type in a new source phrase. Press Tab and type in the translation. Optionally press Tab and enter a definition -- this is useful to distinguish different translations of the same source phrase. This process may be repeated as often as necessary.</p> <p>To add a new phrase click the <b>New Phrase</b> button (or press Alt+N) and type in a new source phrase. Press Tab and type in the translation. Optionally press Tab and enter a definition -- this is useful to distinguish different translations of the same source phrase. This process may be repeated as often as necessary.</p>
<p>You can delete a phrase by selecting it in the phrases list and clicking Remove Phrase.</p> <p>You can delete a phrase by selecting it in the phrases list and clicking Remove Phrase.</p>
<p>Click the <em>Save</em> button (press Alt+S) and then click the <em>Close</em> button (press Esc) once you've finished adding (and removing) phrases.</p> <p>Click the <em>Save</em> button (press Alt+S) and then click the <em>Close</em> button (press Esc) once you've finished adding (and removing) phrases.</p>
<p>When a phrase or set of phrases appears in the phrase book double clicking the retquired target phrase will copy it to the translation pane at the text cursor position. If you want to <em>replace</em> the text in the translation pane with the target phrase, click the translation pane, choose <b>Edit|Select All</b> (press <b>Alt+A</b>) and then double click the target phrase.</p> <p>When a phrase or set of phrases appears in the phrase book double clicking the required target phrase will copy it to the translation pane at the text cursor position. If you want to <em>replace</em> the text in the translation pane with the target phrase, click the translation pane, choose <b>Edit|Select All</b> (press <b>Alt+A</b>) and then double click the target phrase.</p>
<h3><a name="5"></a>Validation</h3> <h3><a name="5"></a>Validation</h3>
<!-- index Validation of Translations --><!-- index Accelerators!Validation --><!-- index Punctuation!Validation --><!-- index Phrases!Validation --><p><em>TQt Linguist</em> provides three kinds of validation on translated phrases.</p> <!-- index Validation of Translations --><!-- index Accelerators!Validation --><!-- index Punctuation!Validation --><!-- index Phrases!Validation --><p><em>TQt Linguist</em> provides three kinds of validation on translated phrases.</p>
<ol type=1><li><p><em>Accelerator validation</em> detects translated phrases that do not have an ampersand when the source phrase does and vice versa.</p> <ol type=1><li><p><em>Accelerator validation</em> detects translated phrases that do not have an ampersand when the source phrase does and vice versa.</p>

@ -32,11 +32,11 @@ body { background: #ffffff; color: black; }
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><p align="right">[<a href="linguist-manual-3.html">Prev: Translators</a>] [<a href="linguist-manual.html">Home</a>]</p> <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><p align="right">[<a href="linguist-manual-3.html">Prev: Translators</a>] [<a href="linguist-manual.html">Home</a>]</p>
<h2 align="center">Programmers</h2> <h2 align="center">Programmers</h2>
<p>Support for multiple languages is extremely simple in TQt applications, and adds little overhead to the programmer's workload.</p> <p>Support for multiple languages is extremely simple in TQt applications, and adds little overhead to the programmer's workload.</p>
<p>TQt minimizes the performance cost of using translations by translating the phrases for each window as they are created. In most applications the main window is created just once. Dialogs are often created once and then shown and hidden as retquired. Once the initial translation has taken place there is no further runtime overhead for the translated windows. Only those windows that are created, destroyed and subsequently created will have a translation performance cost.</p> <p>TQt minimizes the performance cost of using translations by translating the phrases for each window as they are created. In most applications the main window is created just once. Dialogs are often created once and then shown and hidden as required. Once the initial translation has taken place there is no further runtime overhead for the translated windows. Only those windows that are created, destroyed and subsequently created will have a translation performance cost.</p>
<p>Creating applications that can switch language at runtime is possible with TQt, but retquires a certain amount of programmer intervention and will of course incur some runtime performance cost.</p> <p>Creating applications that can switch language at runtime is possible with TQt, but requires a certain amount of programmer intervention and will of course incur some runtime performance cost.</p>
<h3><a name="1"></a>Making the Application Translation Aware</h3> <h3><a name="1"></a>Making the Application Translation Aware</h3>
<p>Programmers should make their application look for and load the appropriate translation file and mark user-visible text and Ctrl keyboard accelerators as targets for translation.</p> <p>Programmers should make their application look for and load the appropriate translation file and mark user-visible text and Ctrl keyboard accelerators as targets for translation.</p>
<p>Each piece of text that retquires translating retquires context to help the translator identify where in the program the text occurs. In the case of multiple identical texts that retquire different translations, the translator also retquires some information to disambiguate the source texts. Marking text for translation will automatically cause the class name to be used as basic context information. In some cases the programmer may be retquired to add additional information to help the translator.</p> <p>Each piece of text that requires translating requires context to help the translator identify where in the program the text occurs. In the case of multiple identical texts that require different translations, the translator also requires some information to disambiguate the source texts. Marking text for translation will automatically cause the class name to be used as basic context information. In some cases the programmer may be required to add additional information to help the translator.</p>
<h4><a name="1-1"></a>Creating Translation Files</h4> <h4><a name="1-1"></a>Creating Translation Files</h4>
<!-- index .ts Files --><!-- index Translation Source Files --><p>Translation files consist of all the user-visible text and Ctrl key accelerators in an application and translations of that text. Translation files are created as follows:</p> <!-- index .ts Files --><!-- index Translation Source Files --><p>Translation files consist of all the user-visible text and Ctrl key accelerators in an application and translations of that text. Translation files are created as follows:</p>
<!-- index lupdate --><!-- index lrelease --><ol type=1><li><p>Run <a href="linguist-manual-2.html#2">lupdate</a> initially to generate the first set of <tt>.ts</tt> translation source files with all the user-visible text but no translations.</p> <!-- index lupdate --><!-- index lrelease --><ol type=1><li><p>Run <a href="linguist-manual-2.html#2">lupdate</a> initially to generate the first set of <tt>.ts</tt> translation source files with all the user-visible text but no translations.</p>
@ -447,7 +447,7 @@ TRANSLATIONS = tt3_pt.ts
but = new <a href="qradiobutton.html">TQRadioButton</a>( <a href="qobject.html#tr">tr</a>("Disabled"), colors ); but = new <a href="qradiobutton.html">TQRadioButton</a>( <a href="qobject.html#tr">tr</a>("Disabled"), colors );
but-&gt;<a href="qbutton.html#toggle">toggle</a>(); but-&gt;<a href="qbutton.html#toggle">toggle</a>();
</pre> </pre>
<p>Notice the two occurrences of <tt>tr("Enabled")</tt> and of <tt>tr("Disabled")</tt> in PrintPanel. Since both "Enabled"s and "Disabled"s appear in the same context <em>TQt Linguist</em> will only display one occurrence of each and will use the same translations for the duplicates that it doesn't display. Whilst this is a useful timesaver, in some languages, such as Portuguese, the second occurrence retquires a separate translation. We will see how <em>TQt Linguist</em> can be made to display all the occurrences for separate translation shortly.</p> <p>Notice the two occurrences of <tt>tr("Enabled")</tt> and of <tt>tr("Disabled")</tt> in PrintPanel. Since both "Enabled"s and "Disabled"s appear in the same context <em>TQt Linguist</em> will only display one occurrence of each and will use the same translations for the duplicates that it doesn't display. Whilst this is a useful timesaver, in some languages, such as Portuguese, the second occurrence requires a separate translation. We will see how <em>TQt Linguist</em> can be made to display all the occurrences for separate translation shortly.</p>
<!-- index MainWindow!in Translation Tutorial --><p>The header file for <tt>MainWindow</tt>, <tt>mainwindow.h</tt>, contains no surprises. In the implementation, <tt>mainwindow.cpp</tt>, we have some user-visible source texts that must be marked for translation.</p> <!-- index MainWindow!in Translation Tutorial --><p>The header file for <tt>MainWindow</tt>, <tt>mainwindow.h</tt>, contains no surprises. In the implementation, <tt>mainwindow.cpp</tt>, we have some user-visible source texts that must be marked for translation.</p>
<pre> <a href="qwidget.html#setCaption">setCaption</a>( <a href="qobject.html#tr">tr</a>("Troll Print 1.0") ); <pre> <a href="qwidget.html#setCaption">setCaption</a>( <a href="qobject.html#tr">tr</a>("Troll Print 1.0") );
</pre> </pre>

@ -139,7 +139,7 @@ settings, same with any other default paths such as a lookup of dynamic
libraries inside /usr/lib and similar default locations. libraries inside /usr/lib and similar default locations.
<p> We still strongly recommend to build static applications where the library <p> We still strongly recommend to build static applications where the library
code is incorporated into the Mac OS X binary. However, in case you ship code is incorporated into the Mac OS X binary. However, in case you ship
applications that retquire plugin support,then you need to use dynamic applications that require plugin support,then you need to use dynamic
libraries as part of your application. libraries as part of your application.
<p> <h3> Combining Libraries <p> <h3> Combining Libraries
</h3> </h3>
@ -213,7 +213,7 @@ do this:
<p> <h3> Translating the Application Menu and native dialogs <p> <h3> Translating the Application Menu and native dialogs
</h3> </h3>
<a name="7-2"></a><p> You need to do a little extra to get the Application Menu and native dialogs <a name="7-2"></a><p> You need to do a little extra to get the Application Menu and native dialogs
localized. This is a retquirement of Mac OS X and not of TQt. localized. This is a requirement of Mac OS X and not of TQt.
<p> First, you must add a localized resource folder inside the Bundle see: <p> First, you must add a localized resource folder inside the Bundle see:
<p> http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFBundles/index.html <p> http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFBundles/index.html
<p> And look for the heading: Adding Localized Resources <p> And look for the heading: Adding Localized Resources

@ -40,14 +40,14 @@ handles TQt's <a href="metaobjects.html">C++ extensions.</a>
declarations that contain the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro, it produces another declarations that contain the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro, it produces another
C++ source file which contains the <a href="metaobjects.html#meta-object">meta object</a> code for the classes C++ source file which contains the <a href="metaobjects.html#meta-object">meta object</a> code for the classes
that use the Q_OBJECT macro. Among other things, meta object code is that use the Q_OBJECT macro. Among other things, meta object code is
retquired for the signal/slot mechanism, runtime type information and required for the signal/slot mechanism, runtime type information and
the dynamic property system. the dynamic property system.
<p> The C++ source file generated by the moc must be compiled and linked <p> The C++ source file generated by the moc must be compiled and linked
with the implementation of the class (or it can be #included into the with the implementation of the class (or it can be #included into the
class's source file). class's source file).
<p> If you use <a href="qmake-manual.html">qmake</a> to create your <p> If you use <a href="qmake-manual.html">qmake</a> to create your
Makefiles, build rules will be included that call the moc when Makefiles, build rules will be included that call the moc when
retquired, so you will not need to use the moc directly. For more required, so you will not need to use the moc directly. For more
background information on moc, see <a href="templates.html">Why doesn't TQt background information on moc, see <a href="templates.html">Why doesn't TQt
use templates for signals and slots?</a>. use templates for signals and slots?</a>.
<p> <h2> Usage <p> <h2> Usage
@ -265,7 +265,7 @@ templates cannot have signals or slots. Here is an example:
<p> Less importantly, the following constructs are illegal. All of them <p> Less importantly, the following constructs are illegal. All of them
have alternatives which we think are usually better, so removing these have alternatives which we think are usually better, so removing these
limitations is not a high priority for us. limitations is not a high priority for us.
<p> <h3> Multiple inheritance retquires <a href="qobject.html">TQObject</a> to be first <p> <h3> Multiple inheritance requires <a href="qobject.html">TQObject</a> to be first
</h3> </h3>
<a name="5-1"></a><p> If you are using multiple inheritance, moc assumes that the <em>first</em> <a name="5-1"></a><p> If you are using multiple inheritance, moc assumes that the <em>first</em>
inherited class is a subclass of TQObject. Also, be sure that <em>only</em> inherited class is a subclass of TQObject. Also, be sure that <em>only</em>

@ -68,7 +68,7 @@ uses <em>delete</em> or <a href="qcstring.html#qstrdup">qstrdup</a>() when stori
<p> Almost all of the functions in our application are affected by this <p> Almost all of the functions in our application are affected by this
change. In most cases, we end up removing more code than we are change. In most cases, we end up removing more code than we are
adding. To keep the size of this walkthrough reasonable, we've only adding. To keep the size of this walkthrough reasonable, we've only
shown a small portion of the retquired changes, since the changes are shown a small portion of the required changes, since the changes are
very similar to those shown above. very similar to those shown above.
<p> <h2> Writing Platform-Independent Code <p> <h2> Writing Platform-Independent Code
</h2> </h2>

@ -100,7 +100,7 @@ now use <a href="qfiledialog.html">TQFileDialog</a>.
<a name="2"></a><p> The <em>Page Delete</em> dialog is created and used in <tt>actions.c</tt>. We <a name="2"></a><p> The <em>Page Delete</em> dialog is created and used in <tt>actions.c</tt>. We
need to migrate this file to C++. We rename it to <tt>actions.cpp</tt>, need to migrate this file to C++. We rename it to <tt>actions.cpp</tt>,
modify the project file and regenerate the <tt>Makefile</tt>. modify the project file and regenerate the <tt>Makefile</tt>.
<p> The changes retquired to make <tt>actions.cpp</tt> compile are minimal. We <p> The changes required to make <tt>actions.cpp</tt> compile are minimal. We
need to wrap more C header files and global variables in an <tt>extern "C"</tt> block. need to wrap more C header files and global variables in an <tt>extern "C"</tt> block.
<p> <p>
@ -131,7 +131,7 @@ completely.
<p> The <em>IO Error</em> dialog is created and used in <tt>io.c</tt>. We need to <p> The <em>IO Error</em> dialog is created and used in <tt>io.c</tt>. We need to
migrate this file to C++. We rename it to <tt>io.cpp</tt>, modify the migrate this file to C++. We rename it to <tt>io.cpp</tt>, modify the
project file and regenerate the <tt>Makefile</tt>. project file and regenerate the <tt>Makefile</tt>.
<p> The changes retquired to make <tt>io.cpp</tt> compile are minimal. We need <p> The changes required to make <tt>io.cpp</tt> compile are minimal. We need
to wrap more C header files and global variables in an <tt>extern "C"</tt> to wrap more C header files and global variables in an <tt>extern "C"</tt>
block. block.
<p> <p>

@ -38,7 +38,7 @@ body { background: #ffffff; color: black; }
to the TQt toolkit using the <em>TQt Motif Extension</em>. to the TQt toolkit using the <em>TQt Motif Extension</em>.
<p> It is rarely practical for a large project with hundreds of thousands <p> It is rarely practical for a large project with hundreds of thousands
or even millions of lines of code to be migrated all at once; such an or even millions of lines of code to be migrated all at once; such an
endeavor would retquire too many development resources and would incur endeavor would require too many development resources and would incur
significant risks. Every line of code would have to be rewritten, significant risks. Every line of code would have to be rewritten,
every user interface redesigned, and quality assurance tests and every user interface redesigned, and quality assurance tests and
procedures all rewritten. The <em>TQt Motif Extension</em> provides a procedures all rewritten. The <em>TQt Motif Extension</em> provides a
@ -79,7 +79,7 @@ references to the source code, which is included in the <tt>extensions/motif/exa
<p> <h2> Preretquisites <p> <h2> Preretquisites
</h2> </h2>
<a name="2"></a><p> Before we can start using the <em>TQt Motif Extension</em>, we must satisfy <a name="2"></a><p> Before we can start using the <em>TQt Motif Extension</em>, we must satisfy
these retquirements: these requirements:
<p> <ol type=1> <p> <ol type=1>
<li> We are using the X11R6.x and Motif 2.x libraries. <li> We are using the X11R6.x and Motif 2.x libraries.
<li> The project is compilable by a C++ compiler. <li> The project is compilable by a C++ compiler.
@ -88,7 +88,7 @@ these retquirements:
</ol> </ol>
<p> <h3> X11R6.x and Motif 2.x Libraries <p> <h3> X11R6.x and Motif 2.x Libraries
</h3> </h3>
<a name="2-1"></a><p> The mechanisms used by the <em>TQt Motif Extension</em> retquire development <a name="2-1"></a><p> The mechanisms used by the <em>TQt Motif Extension</em> require development
headers and libraries from the X11R6 release and the Motif 2.0 headers and libraries from the X11R6 release and the Motif 2.0
release. Newer versions of these can also be used. release. Newer versions of these can also be used.
<p> <h3> C++ Compiler <p> <h3> C++ Compiler

@ -315,7 +315,7 @@ some special signals and at the end you must <em>always</em> emit a <tt>finished
change the state of the <a href="qnetworkoperation.html">TQNetworkOperation</a> during processing. You change the state of the <a href="qnetworkoperation.html">TQNetworkOperation</a> during processing. You
can also get and set <a href="qnetworkoperation.html">TQNetworkOperation</a> arguments as the operation can also get and set <a href="qnetworkoperation.html">TQNetworkOperation</a> arguments as the operation
progresses. progresses.
<p> It may occur that the network protocol you implement only retquires a <p> It may occur that the network protocol you implement only requires a
subset of these operations. In such cases, simply reimplement the subset of these operations. In such cases, simply reimplement the
operations which are supported by the protocol. Additionally you must operations which are supported by the protocol. Additionally you must
specify which operations you support. This is achieved by specify which operations you support. This is achieved by

@ -36,7 +36,7 @@ body { background: #ffffff; color: black; }
<p> The standard C++ Object Model provides very efficient runtime support <p> The standard C++ Object Model provides very efficient runtime support
for the object paradigm. But the C++ Object Model's static nature is for the object paradigm. But the C++ Object Model's static nature is
inflexibile in certain problem domains. Graphical User Interface inflexibile in certain problem domains. Graphical User Interface
programming is a domain that retquires both runtime efficiency and a programming is a domain that requires both runtime efficiency and a
high level of flexibility. TQt provides this, by combining the speed of high level of flexibility. TQt provides this, by combining the speed of
C++ with the flexibility of the TQt Object Model. C++ with the flexibility of the TQt Object Model.
<p> TQt adds these features to C++: <p> TQt adds these features to C++:
@ -60,7 +60,7 @@ pointers which become "dangling pointers" when their objects are destroyed.
<p> Many of these TQt features are implemented with standard C++ <p> Many of these TQt features are implemented with standard C++
techniques, based on inheritance from <a href="qobject.html">TQObject</a>. Others, like the techniques, based on inheritance from <a href="qobject.html">TQObject</a>. Others, like the
object communication mechanism and the dynamic property system, object communication mechanism and the dynamic property system,
retquire the <a href="metaobjects.html">Meta Object System</a> provided require the <a href="metaobjects.html">Meta Object System</a> provided
by TQt's own <a href="moc.html">Meta Object Compiler (moc)</a>. by TQt's own <a href="moc.html">Meta Object Compiler (moc)</a>.
<p> The Meta Object System is a C++ extension that makes the language <p> The Meta Object System is a C++ extension that makes the language
better suited to true component GUI programming. Although templates can better suited to true component GUI programming. Although templates can

@ -46,7 +46,7 @@ following is a discussion on how to use non-TQGL widgets in overlay
planes. planes.
<p> In the typical case, X11 overlays can easily be used together with the <p> In the typical case, X11 overlays can easily be used together with the
current version of TQt and the TQt OpenGL Extension. The following current version of TQt and the TQt OpenGL Extension. The following
retquirements apply: requirements apply:
<p> <ol type=1> <p> <ol type=1>
<li> Your X server and graphics card/hardware must support overlays. <li> Your X server and graphics card/hardware must support overlays.
For many X servers, overlay support can be turned on with For many X servers, overlay support can be turned on with

@ -59,13 +59,13 @@ it will include the TQt OpenGL module in the TQt library. (If your
OpenGL headers or libraries are placed in a non-standard directory, OpenGL headers or libraries are placed in a non-standard directory,
you may need to change the QMAKE_INCDIR_OPENGL and/or you may need to change the QMAKE_INCDIR_OPENGL and/or
QMAKE_LIBDIR_OPENGL in the config file for your system). Some QMAKE_LIBDIR_OPENGL in the config file for your system). Some
configurations retquire threading to be enabled for OpenGL, so if configurations require threading to be enabled for OpenGL, so if
OpenGL is not detected, try <tt>configure -thread</tt>. OpenGL is not detected, try <tt>configure -thread</tt>.
<p> When you install TQt for Windows, the TQt OpenGL module is always <p> When you install TQt for Windows, the TQt OpenGL module is always
included. included.
<p> The TQt OpenGL module is not licensed for use with the TQt Professional <p> The TQt OpenGL module is not licensed for use with the TQt Professional
Edition. Consider upgrading to the TQt Enterprise Edition if you Edition. Consider upgrading to the TQt Enterprise Edition if you
retquire OpenGL support. require OpenGL support.
<p> Note about using Mesa on X11: Mesa versions earlier than 3.1 would use <p> Note about using Mesa on X11: Mesa versions earlier than 3.1 would use
the name "MesaGL" and "MesaGLU" for the libraries, instead of "GL" and the name "MesaGL" and "MesaGLU" for the libraries, instead of "GL" and
"GLU". If you want to use a pre-3.1 version of Mesa, you must change "GLU". If you want to use a pre-3.1 version of Mesa, you must change

@ -141,7 +141,7 @@ void PictureDisplay::<a href="qwidget.html#paintEvent">paintEvent</a>( <a href="
int main( int argc, char **argv ) int main( int argc, char **argv )
{ {
<a href="qapplication.html">TQApplication</a> a( argc, argv ); // TQApplication retquired! <a href="qapplication.html">TQApplication</a> a( argc, argv ); // TQApplication required!
const char *fileName = "car.pic"; // default picture file name const char *fileName = "car.pic"; // default picture file name

@ -71,7 +71,7 @@ with calls to <a href="qapplication.html#addLibraryPath">TQApplication::addLibra
set your own path or paths you can use set your own path or paths you can use
<a href="qapplication.html#setLibraryPaths">TQApplication::setLibraryPaths</a>(). <a href="qapplication.html#setLibraryPaths">TQApplication::setLibraryPaths</a>().
<p> Suppose that you have a new style class called 'MyStyle' that you want <p> Suppose that you have a new style class called 'MyStyle' that you want
to make available as a plugin. The retquired code is straightforward: to make available as a plugin. The required code is straightforward:
<pre> <pre>
class MyStylePlugin : public <a href="qstyleplugin.html">TQStylePlugin</a> class MyStylePlugin : public <a href="qstyleplugin.html">TQStylePlugin</a>
{ {
@ -101,21 +101,21 @@ empty. There are only two virtual functions that must be implemented.
The first is keys() which returns a string list of the classes The first is keys() which returns a string list of the classes
implemented in the plugin. (We've just implemented one class in the implemented in the plugin. (We've just implemented one class in the
example above.) The second is a function that returns an object of the example above.) The second is a function that returns an object of the
retquired class (or 0 if the plugin is asked to create an object of a required class (or 0 if the plugin is asked to create an object of a
class that it doesn't implement). For <a href="qstyleplugin.html">TQStylePlugin</a>, this second class that it doesn't implement). For <a href="qstyleplugin.html">TQStylePlugin</a>, this second
function is called create(). function is called create().
<p> It is possible to implement any number of plugin subclasses in a <p> It is possible to implement any number of plugin subclasses in a
single plugin, providing they are all derived from the same base single plugin, providing they are all derived from the same base
class, e.g. TQStylePlugin. class, e.g. TQStylePlugin.
<p> For database drivers, image formats, custom widgets and text codecs, <p> For database drivers, image formats, custom widgets and text codecs,
no explicit object creation is retquired. TQt will find and create them no explicit object creation is required. TQt will find and create them
as retquired. Styles are an exception, since you might want to set a as required. Styles are an exception, since you might want to set a
style explicitly in code. To apply a style, use code like this: style explicitly in code. To apply a style, use code like this:
<pre> <pre>
TQApplication::<a href="qapplication.html#setStyle">setStyle</a>( TQStyleFactory::<a href="qstylefactory.html#create">create</a>( "MyStyle" ) ); TQApplication::<a href="qapplication.html#setStyle">setStyle</a>( TQStyleFactory::<a href="qstylefactory.html#create">create</a>( "MyStyle" ) );
</pre> </pre>
<p> Some plugin classes retquire additional functions to be implemented. <p> Some plugin classes require additional functions to be implemented.
See the <a href="designer-manual.html">TQt Designer manual's</a>, See the <a href="designer-manual.html">TQt Designer manual's</a>,
'Creating Custom Widgets' section in the 'Creating Custom Widgets' 'Creating Custom Widgets' section in the 'Creating Custom Widgets'
chapter, for a complete example of a <a href="qwidgetplugin.html">TQWidgetPlugin</a>, which implements chapter, for a complete example of a <a href="qwidgetplugin.html">TQWidgetPlugin</a>, which implements
@ -126,7 +126,7 @@ TQWidgetPlugins.
must be reimplemented for each type of plugin. must be reimplemented for each type of plugin.
<p> TQt applications automatically know which plugins are available, <p> TQt applications automatically know which plugins are available,
because plugins are stored in the standard plugin subdirectories. because plugins are stored in the standard plugin subdirectories.
Because of this applications don't retquire any code to find and load Because of this applications don't require any code to find and load
plugins, since TQt handles them automatically. plugins, since TQt handles them automatically.
<p> The default directory for plugins is <tt>QTDIR/plugins</tt><sup>*</sup>, <p> The default directory for plugins is <tt>QTDIR/plugins</tt><sup>*</sup>,
with each type of plugin in a subdirectory for that type, e.g. <tt>styles</tt>. If you want your applications to use plugins and you don't with each type of plugin in a subdirectory for that type, e.g. <tt>styles</tt>. If you want your applications to use plugins and you don't
@ -210,7 +210,7 @@ determine if the plugin is binary compatible.
available in two different configurations. However, the available in two different configurations. However, the
developer writing plugins would need to know which features are developer writing plugins would need to know which features are
in use, both in their plugin and internally by the utility in use, both in their plugin and internally by the utility
classes in TQt. The TQt library would retquire complex feature classes in TQt. The TQt library would require complex feature
and dependency queries and verification when loading plugins. and dependency queries and verification when loading plugins.
Retquiring this would place an unnecessary burden on the developer, and Retquiring this would place an unnecessary burden on the developer, and
increase the overhead of loading a plugin. To reduce both increase the overhead of loading a plugin. To reduce both

@ -458,7 +458,7 @@ parameter list.
The <tt>echo</tt> parameter is the third parameter and defaults to The <tt>echo</tt> parameter is the third parameter and defaults to
TQLineEdit::Normal. TQLineEdit::Normal.
<p> If you used calls to <a href="qinputdialog.html#getText">TQInputDialog::getText</a>(...) that provided more <p> If you used calls to <a href="qinputdialog.html#getText">TQInputDialog::getText</a>(...) that provided more
than the first two retquired parameters you will must add a value than the first two required parameters you will must add a value
for the <tt>echo</tt> parameter. for the <tt>echo</tt> parameter.
<p> <h2> <a href="qlayout.html">TQLayout</a> and Other Abstract Layout Classes <p> <h2> <a href="qlayout.html">TQLayout</a> and Other Abstract Layout Classes
</h2> </h2>
@ -497,7 +497,7 @@ now work on paragraphs.
published the internal data structure. published the internal data structure.
<p> In most cases, applications that used TQMultiLineEdit will continue to <p> In most cases, applications that used TQMultiLineEdit will continue to
work without problems. Applications that worked in terms of lines may work without problems. Applications that worked in terms of lines may
retquire some porting. require some porting.
<p> The source code for the old 2.x version of TQMultiLineEdit can be found <p> The source code for the old 2.x version of TQMultiLineEdit can be found
in <tt>$QTDIR/src/attic/qtmultilineedit.h/cpp</tt>. Note that the class has in <tt>$QTDIR/src/attic/qtmultilineedit.h/cpp</tt>. Note that the class has
been renamed to TQtMultiLineEdit to avoid name clashes. If you really been renamed to TQtMultiLineEdit to avoid name clashes. If you really

@ -64,7 +64,7 @@ compiler errors (rather than mysterious results), or produce run-time
messages. The result is that TQt 2.x includes many additional features, messages. The result is that TQt 2.x includes many additional features,
discards obsolete functionality that is easily converted to use the new discards obsolete functionality that is easily converted to use the new
features, and that porting an application from TQt 1.x to TQt 2.x is features, and that porting an application from TQt 1.x to TQt 2.x is
a simple task well worth the amount of effort retquired. a simple task well worth the amount of effort required.
<p> To port code using TQt 1.x to use TQt 2.x: <p> To port code using TQt 1.x to use TQt 2.x:
<p> <ul> <p> <ul>
<li> Briefly read the porting notes below to get an idea of what to expect. <li> Briefly read the porting notes below to get an idea of what to expect.
@ -224,7 +224,7 @@ you use that you will incur a performance penalty since all TQt functions
that took const char* now take const TQString&. that took const char* now take const TQString&.
<p> <p> <p> <p>
To take full advantage of the new <a href="i18n.html#internationalization">Internationalization</a> To take full advantage of the new <a href="i18n.html#internationalization">Internationalization</a>
functionality in TQt 2.x, the following steps are retquired: functionality in TQt 2.x, the following steps are required:
<p> <ul> <p> <ul>
<li> Start converting all uses of "const char*" in parameters to <li> Start converting all uses of "const char*" in parameters to
"const TQString&" - this can often be done mechanically, eg. "const TQString&" - this can often be done mechanically, eg.
@ -784,7 +784,7 @@ use it outside a member function, you'll need to prefix with TQt::.
<p> <h3><a name="TQPicture">TQPicture</a></h3> <p> <h3><a name="TQPicture">TQPicture</a></h3>
<p> <p>The binary storage format of <a href="qpicture.html">TQPicture</a> is changed, but the TQt 2.x <p> <p>The binary storage format of <a href="qpicture.html">TQPicture</a> is changed, but the TQt 2.x
TQPicture class can both read and write TQt 1.x format TQPictures. No TQPicture class can both read and write TQt 1.x format TQPictures. No
special handling is retquired for reading; TQPicture will automatically special handling is required for reading; TQPicture will automatically
detect the version number. In order to write a TQt 1.x format TQPicture, detect the version number. In order to write a TQt 1.x format TQPicture,
set the formatVersion parameter to 1 in the TQPicture constructor. set the formatVersion parameter to 1 in the TQPicture constructor.
<p> <p>For writing TQt 1.x format TQPictures, the compatibility issues of <a <p> <p>For writing TQt 1.x format TQPictures, the compatibility issues of <a

@ -1115,7 +1115,7 @@ proper behavior and even then QDockWindow does not limit stretchablilty.
<name>QDockWindow::newLine</name> <name>QDockWindow::newLine</name>
<doc href="qdockwindow.html#newLine-prop"> <doc href="qdockwindow.html#newLine-prop">
&lt;p&gt;This property holds whether the dock window prefers to start a new line in the dock area. &lt;p&gt;This property holds whether the dock window prefers to start a new line in the dock area.
&lt;p&gt;The default is FALSE, i.e. the dock window doesn't retquire a new &lt;p&gt;The default is FALSE, i.e. the dock window doesn't require a new
line in the dock area. line in the dock area.
&lt;p&gt;Set this property's value with &lt;a href="qdockwindow.html#setNewLine"&gt;setNewLine&lt;/a&gt;() and get this property's value with &lt;a href="qdockwindow.html#newLine"&gt;newLine&lt;/a&gt;(). &lt;p&gt;Set this property's value with &lt;a href="qdockwindow.html#setNewLine"&gt;setNewLine&lt;/a&gt;() and get this property's value with &lt;a href="qdockwindow.html#newLine"&gt;newLine&lt;/a&gt;().
@ -2145,17 +2145,17 @@ arguments.
&lt;p&gt; The mask format understands these mask characters: &lt;p&gt; The mask format understands these mask characters:
&lt;center&gt;&lt;table cellpadding="4" cellspacing="2" border="0"&gt; &lt;center&gt;&lt;table cellpadding="4" cellspacing="2" border="0"&gt;
&lt;tr bgcolor="#a2c511"&gt; &lt;th valign="top"&gt;Character &lt;th valign="top"&gt;Meaning &lt;tr bgcolor="#a2c511"&gt; &lt;th valign="top"&gt;Character &lt;th valign="top"&gt;Meaning
&lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;A&lt;/tt&gt; &lt;td valign="top"&gt;ASCII alphabetic character retquired. A-Z, a-z. &lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;A&lt;/tt&gt; &lt;td valign="top"&gt;ASCII alphabetic character required. A-Z, a-z.
&lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;a&lt;/tt&gt; &lt;td valign="top"&gt;ASCII alphabetic character permitted but not retquired. &lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;a&lt;/tt&gt; &lt;td valign="top"&gt;ASCII alphabetic character permitted but not required.
&lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;N&lt;/tt&gt; &lt;td valign="top"&gt;ASCII alphanumeric character retquired. A-Z, a-z, 0-9. &lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;N&lt;/tt&gt; &lt;td valign="top"&gt;ASCII alphanumeric character required. A-Z, a-z, 0-9.
&lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;n&lt;/tt&gt; &lt;td valign="top"&gt;ASCII alphanumeric character permitted but not retquired. &lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;n&lt;/tt&gt; &lt;td valign="top"&gt;ASCII alphanumeric character permitted but not required.
&lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;X&lt;/tt&gt; &lt;td valign="top"&gt;Any character retquired. &lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;X&lt;/tt&gt; &lt;td valign="top"&gt;Any character required.
&lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;a href="qwidget.html#x-prop"&gt;x&lt;/a&gt; &lt;td valign="top"&gt;Any character permitted but not retquired. &lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;a href="qwidget.html#x-prop"&gt;x&lt;/a&gt; &lt;td valign="top"&gt;Any character permitted but not required.
&lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;9&lt;/tt&gt; &lt;td valign="top"&gt;ASCII digit retquired. 0-9. &lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;9&lt;/tt&gt; &lt;td valign="top"&gt;ASCII digit required. 0-9.
&lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;0&lt;/tt&gt; &lt;td valign="top"&gt;ASCII digit permitted but not retquired. &lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;0&lt;/tt&gt; &lt;td valign="top"&gt;ASCII digit permitted but not required.
&lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;D&lt;/tt&gt; &lt;td valign="top"&gt;ASCII digit retquired. 1-9. &lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;D&lt;/tt&gt; &lt;td valign="top"&gt;ASCII digit required. 1-9.
&lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;d&lt;/tt&gt; &lt;td valign="top"&gt;ASCII digit permitted but not retquired (1-9). &lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;d&lt;/tt&gt; &lt;td valign="top"&gt;ASCII digit permitted but not required (1-9).
&lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;#&lt;/tt&gt; &lt;td valign="top"&gt;ASCII digit or plus/minus sign permitted but not retquired. &lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;#&lt;/tt&gt; &lt;td valign="top"&gt;ASCII digit or plus/minus sign permitted but not required.
&lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;&amp;gt;&lt;/tt&gt; &lt;td valign="top"&gt;All following alphabetic characters are uppercased. &lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;&amp;gt;&lt;/tt&gt; &lt;td valign="top"&gt;All following alphabetic characters are uppercased.
&lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;&amp;lt;&lt;/tt&gt; &lt;td valign="top"&gt;All following alphabetic characters are lowercased. &lt;tr bgcolor="#f0f0f0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;&amp;lt;&lt;/tt&gt; &lt;td valign="top"&gt;All following alphabetic characters are lowercased.
&lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;!&lt;/tt&gt; &lt;td valign="top"&gt;Switch off case conversion. &lt;tr bgcolor="#d0d0d0"&gt; &lt;td valign="top"&gt;&lt;tt&gt;!&lt;/tt&gt; &lt;td valign="top"&gt;Switch off case conversion.
@ -3561,7 +3561,7 @@ database client used:
&lt;li&gt; connect_timeout &lt;li&gt; connect_timeout
&lt;li&gt; options &lt;li&gt; options
&lt;li&gt; tty &lt;li&gt; tty
&lt;li&gt; retquiressl &lt;li&gt; requiressl
&lt;li&gt; service &lt;li&gt; service
&lt;/ul&gt; &lt;/ul&gt;
&lt;tr bgcolor="#a2c511"&gt; &lt;th valign="top"&gt;DB2 &lt;th valign="top"&gt;OCI &lt;th valign="top"&gt;TDS &lt;tr bgcolor="#a2c511"&gt; &lt;th valign="top"&gt;DB2 &lt;th valign="top"&gt;OCI &lt;th valign="top"&gt;TDS
@ -3587,7 +3587,7 @@ database client used:
} }
... ...
// PostgreSQL connection // PostgreSQL connection
db-&amp;gt;setConnectOptions( "retquiressl=1" ); // enable PostgreSQL SSL connections db-&amp;gt;setConnectOptions( "requiressl=1" ); // enable PostgreSQL SSL connections
if ( !db-&amp;gt;open() ) { if ( !db-&amp;gt;open() ) {
db-&amp;gt;setConnectOptions(); // clear options db-&amp;gt;setConnectOptions(); // clear options
... ...
@ -3630,7 +3630,7 @@ entry in the ODBC manager:
... ...
&lt;/pre&gt; &lt;/pre&gt;
("FIL" is the retquired spelling in Microsoft's API.) ("FIL" is the required spelling in Microsoft's API.)
&lt;p&gt; There is no default value. &lt;p&gt; There is no default value.
&lt;p&gt;Set this property's value with &lt;a href="qsqldatabase.html#setDatabaseName"&gt;setDatabaseName&lt;/a&gt;() and get this property's value with &lt;a href="qsqldatabase.html#databaseName"&gt;databaseName&lt;/a&gt;(). &lt;p&gt;Set this property's value with &lt;a href="qsqldatabase.html#setDatabaseName"&gt;setDatabaseName&lt;/a&gt;() and get this property's value with &lt;a href="qsqldatabase.html#databaseName"&gt;databaseName&lt;/a&gt;().
@ -4374,7 +4374,7 @@ that the auto mask calculation works, you should add:
&lt;p&gt; at the end of your event handlers. This is true for all member &lt;p&gt; at the end of your event handlers. This is true for all member
functions that change the appearance of the widget in a way that functions that change the appearance of the widget in a way that
retquires a recalculation of the mask. requires a recalculation of the mask.
&lt;p&gt; While being a technically appealing concept, masks have a big &lt;p&gt; While being a technically appealing concept, masks have a big
drawback: when using complex masks that cannot be expressed easily drawback: when using complex masks that cannot be expressed easily
with relatively simple regions, they can be very slow on some with relatively simple regions, they can be very slow on some

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -744,7 +744,7 @@ rejected, the shutdown is canceled.
<h3 class=fn>int <a name="cursorFlashTime"></a>TQApplication::cursorFlashTime ()<tt> [static]</tt> <h3 class=fn>int <a name="cursorFlashTime"></a>TQApplication::cursorFlashTime ()<tt> [static]</tt>
</h3> </h3>
Returns the text cursor's flash (blink) time in milliseconds. The Returns the text cursor's flash (blink) time in milliseconds. The
flash time is the time retquired to display, invert and restore the flash time is the time required to display, invert and restore the
caret display. caret display.
<p> The default value on X11 is 1000 milliseconds. On Windows, the <p> The default value on X11 is 1000 milliseconds. On Windows, the
control panel value is used. control panel value is used.
@ -1303,7 +1303,7 @@ colors. On X11, this option is the same as NormalColor. On Windows, TQt
creates a Windows palette, and allocates colors to it on demand. creates a Windows palette, and allocates colors to it on demand.
<li> TQApplication::ManyColor. <li> TQApplication::ManyColor.
Use this option if your application is very color hungry Use this option if your application is very color hungry
(e.g. it retquires thousands of colors). (e.g. it requires thousands of colors).
Under X11 the effect is: Under X11 the effect is:
<ul> <ul>
<li> For 256-color displays which have at best a 256 color true color <li> For 256-color displays which have at best a 256 color true color
@ -1347,7 +1347,7 @@ green, and blue components always have one of the following values:
<h3 class=fn>void <a name="setCursorFlashTime"></a>TQApplication::setCursorFlashTime ( int&nbsp;msecs )<tt> [static]</tt> <h3 class=fn>void <a name="setCursorFlashTime"></a>TQApplication::setCursorFlashTime ( int&nbsp;msecs )<tt> [static]</tt>
</h3> </h3>
Sets the text cursor's flash (blink) time to <em>msecs</em> Sets the text cursor's flash (blink) time to <em>msecs</em>
milliseconds. The flash time is the time retquired to display, milliseconds. The flash time is the time required to display,
invert and restore the caret display. Usually the text cursor is invert and restore the caret display. Usually the text cursor is
displayed for <em>msecs/2</em> milliseconds, then hidden for <em>msecs/2</em> displayed for <em>msecs/2</em> milliseconds, then hidden for <em>msecs/2</em>
milliseconds, but this may vary. milliseconds, but this may vary.
@ -1522,7 +1522,7 @@ any previously set class specific palettes.
<h3 class=fn>void <a name="setReverseLayout"></a>TQApplication::setReverseLayout ( bool&nbsp;b )<tt> [static]</tt> <h3 class=fn>void <a name="setReverseLayout"></a>TQApplication::setReverseLayout ( bool&nbsp;b )<tt> [static]</tt>
</h3> </h3>
If <em>b</em> is TRUE, all dialogs and widgets will be laid out in a If <em>b</em> is TRUE, all dialogs and widgets will be laid out in a
mirrored fashion, as retquired by right to left languages such as mirrored fashion, as required by right to left languages such as
Arabic and Hebrew. If <em>b</em> is FALSE, dialogs and widgets are laid Arabic and Hebrew. If <em>b</em> is FALSE, dialogs and widgets are laid
out left to right. out left to right.
<p> Changing this flag in runtime does not cause a relayout of already <p> Changing this flag in runtime does not cause a relayout of already

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -48,7 +48,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -70,7 +70,7 @@ then call <a href="#showPage">showPage</a>() as often as necessary to show your
pages. When you call showPage(), TQt Assistant will be launched if pages. When you call showPage(), TQt Assistant will be launched if
it isn't already running. it isn't already running.
<p> The TQAssistantClient instance can open (<a href="#openAssistant">openAssistant</a>()) or close <p> The TQAssistantClient instance can open (<a href="#openAssistant">openAssistant</a>()) or close
(<a href="#closeAssistant">closeAssistant</a>()) TQt Assistant whenever retquired. If TQt Assistant (<a href="#closeAssistant">closeAssistant</a>()) TQt Assistant whenever required. If TQt Assistant
is open, <a href="#isOpen">isOpen</a>() returns TRUE. is open, <a href="#isOpen">isOpen</a>() returns TRUE.
<p> One TQAssistantClient instance interacts with one TQt Assistant <p> One TQAssistantClient instance interacts with one TQt Assistant
instance, so every time you call openAssistant(), showPage() or instance, so every time you call openAssistant(), showPage() or

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -312,7 +312,7 @@ See the <a href="qaxbase.html#control-prop">"control"</a> property for details.
<h3 class=fn>void <a name="disableClassInfo"></a>TQAxBase::disableClassInfo () <h3 class=fn>void <a name="disableClassInfo"></a>TQAxBase::disableClassInfo ()
</h3> </h3>
Disables the class info generation for this ActiveX container. If Disables the class info generation for this ActiveX container. If
you don't retquire any class information about the ActiveX control you don't require any class information about the ActiveX control
use this function to speed up the <a href="metaobjects.html#meta-object">meta object</a> generation. use this function to speed up the <a href="metaobjects.html#meta-object">meta object</a> generation.
<p> Note that this function must be called immediately after <p> Note that this function must be called immediately after
construction of the object (without passing an object identifier), construction of the object (without passing an object identifier),

@ -65,7 +65,7 @@ The TQAxBindable class provides an interface between a
<p> The functions provided by this class allow an ActiveX control to <p> The functions provided by this class allow an ActiveX control to
communicate property changes to a client application. Inherit communicate property changes to a client application. Inherit
your control class from both TQWidget (directly or indirectly) and your control class from both TQWidget (directly or indirectly) and
this class to get access to this class's functions. The <a href="moc.html">meta object compiler</a> retquires you to inherit from this class to get access to this class's functions. The <a href="moc.html">meta object compiler</a> requires you to inherit from
TQWidget <em>first</em>. TQWidget <em>first</em>.
<p> <pre> <p> <pre>
class MyActiveX : public <a href="qwidget.html">TQWidget</a>, public TQAxBindable class MyActiveX : public <a href="qwidget.html">TQWidget</a>, public TQAxBindable

@ -153,7 +153,7 @@ Studio's Debug output).
</h4> </h4>
<a name="5-1-1"></a><p> The control requested in <a href="qaxbase.html#setControl">TQAxBase::setControl</a>() is not installed <a name="5-1-1"></a><p> The control requested in <a href="qaxbase.html#setControl">TQAxBase::setControl</a>() is not installed
on this system, or is not accessible for the current user. on this system, or is not accessible for the current user.
<p> The control might retquire administrator rights, or a license key. <p> The control might require administrator rights, or a license key.
If the control is licensed, reimplement initialize() and use the If the control is licensed, reimplement initialize() and use the
COM APIs to call the IClassFactory2 interface functions. COM APIs to call the IClassFactory2 interface functions.
<p> <h4> TQAxBase::internalInvoke: No such method <p> <h4> TQAxBase::internalInvoke: No such method

@ -190,7 +190,7 @@ interface of <tt>TQParentWidget</tt> objects.
return TQUuid(); return TQUuid();
} }
</pre>COM however retquires the IDs for the interfaces of the sub types as </pre>COM however requires the IDs for the interfaces of the sub types as
well to be able to marshal calls correctly. well to be able to marshal calls correctly.
<p> <pre> <a href="qstring.html">TQString</a> exposeToSuperClass( const <a href="qstring.html">TQString</a> &amp;key ) const <p> <pre> <a href="qstring.html">TQString</a> exposeToSuperClass( const <a href="qstring.html">TQString</a> &amp;key ) const
{ {
@ -208,7 +208,7 @@ macro.
<p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in <p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in
<tt>examples/multiple</tt>. <tt>examples/multiple</tt>.
<p> <hr> <p> <hr>
<p> The <a href="qaxserver-demo-hierarchy.html">demonstration</a> retquires your <p> The <a href="qaxserver-demo-hierarchy.html">demonstration</a> requires your
WebBrowser to support ActiveX controls, and scripting to be enabled. WebBrowser to support ActiveX controls, and scripting to be enabled.
<p> <p>

@ -39,7 +39,7 @@ a <a href="qmainwindow.html">TQMainWindow</a> to implement an in-place active co
<p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in <p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in
<tt>examples/menus</tt>. <tt>examples/menus</tt>.
<p> <hr> <p> <hr>
<p> The <a href="qaxserver-demo-menus.html">demonstration</a> retquires your <p> The <a href="qaxserver-demo-menus.html">demonstration</a> requires your
WebBrowser to support ActiveX controls, and scripting to be enabled. WebBrowser to support ActiveX controls, and scripting to be enabled.
<p> <p>

@ -150,7 +150,7 @@ macro.
<p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in <p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in
<tt>examples/multiple</tt>. <tt>examples/multiple</tt>.
<p> <hr> <p> <hr>
<p> The <a href="qaxserver-demo-multiple.html">demonstration</a> retquires your <p> The <a href="qaxserver-demo-multiple.html">demonstration</a> requires your
WebBrowser to support ActiveX controls, and scripting to be enabled. WebBrowser to support ActiveX controls, and scripting to be enabled.
<p> <p>

@ -163,7 +163,7 @@ with information about supported and enabled safety options, and returns
<p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in <p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in
<tt>examples/wrapper</tt>. <tt>examples/wrapper</tt>.
<p> <hr> <p> <hr>
<p> The <a href="qaxserver-demo-opengl.html">demonstration</a> retquires your <p> The <a href="qaxserver-demo-opengl.html">demonstration</a> requires your
WebBrowser to support ActiveX controls, and scripting to be enabled. WebBrowser to support ActiveX controls, and scripting to be enabled.
<p> In contrast to the other TQAxServer examples Internet Explorer will not <p> In contrast to the other TQAxServer examples Internet Explorer will not
open a dialog box to ask the user whether or not the scripting of the GLBox open a dialog box to ask the user whether or not the scripting of the GLBox

@ -130,7 +130,7 @@ and <a href="qaxbindable.html#propertyChanged">TQAxBindable::propertyChanged</a>
<p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in <p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in
<tt>examples/simple</tt>. <tt>examples/simple</tt>.
<p> <hr> <p> <hr>
<p> The <a href="qaxserver-demo-simple.html">demonstration</a> retquires your <p> The <a href="qaxserver-demo-simple.html">demonstration</a> requires your
WebBrowser to support ActiveX controls, and scripting to be enabled. WebBrowser to support ActiveX controls, and scripting to be enabled.
<p> The simple ActiveX control is embedded using the <tt>&lt;object&gt;</tt> tag. <p> The simple ActiveX control is embedded using the <tt>&lt;object&gt;</tt> tag.

@ -47,7 +47,7 @@ tetrax.cpp file.
The default implementation of the <a href="qaxfactory.html">TQAxFactory</a> is used through the The default implementation of the <a href="qaxfactory.html">TQAxFactory</a> is used through the
TQAXFACTORY_DEFAULT macro, and exports the TQTetrax object specifying TQAXFACTORY_DEFAULT macro, and exports the TQTetrax object specifying
the five unique IDs retquired by COM to instantiate and communicate with the five unique IDs required by COM to instantiate and communicate with
the server. the server.
<pre> #include "qtetrax.h" <pre> #include "qtetrax.h"
#include "qdragapp.h" #include "qdragapp.h"
@ -86,7 +86,7 @@ the program has been started by the user, not by COM).
<p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in <p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in
<tt>examples/tetrix</tt>. <tt>examples/tetrix</tt>.
<p> <hr> <p> <hr>
<p> The <a href="qaxserver-demo-tetrax.html">demonstration</a> retquires your <p> The <a href="qaxserver-demo-tetrax.html">demonstration</a> requires your
Web browser to support ActiveX controls, and scripting to be enabled. Web browser to support ActiveX controls, and scripting to be enabled.
<p> <p>

@ -144,7 +144,7 @@ IDs of the COM classes and interfaces for each control.
<p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in <p> To build the example you must first build the <a href="qaxserver.html">TQAxServer</a> library. Then run qmake and your make tool in
<tt>examples/wrapper</tt>. <tt>examples/wrapper</tt>.
<p> <hr> <p> <hr>
<p> The <a href="qaxserver-demo-wrapper.html">demonstration</a> retquires your <p> The <a href="qaxserver-demo-wrapper.html">demonstration</a> requires your
WebBrowser to support ActiveX controls, and scripting to be enabled. WebBrowser to support ActiveX controls, and scripting to be enabled.
<p> <p>

@ -141,7 +141,7 @@ body { background: #ffffff; color: black; }
<p> <h2> Introduction <p> <h2> Introduction
</h2> </h2>
<a name="1"></a><p> The TQAxServer module provides a static library implementing the <a name="1"></a><p> The TQAxServer module provides a static library implementing the
functions retquired to turn a standard TQt binary into an ActiveX functions required to turn a standard TQt binary into an ActiveX
control server. control server.
<p> This module is part of the <a href="activeqt.html">ActiveTQt <p> This module is part of the <a href="activeqt.html">ActiveTQt
framework</a>. (To incorporate ActiveX controls in a TQt framework</a>. (To incorporate ActiveX controls in a TQt
@ -195,7 +195,7 @@ You can modify these files as long as it includes any file as the
type library entry, ie. you can add version information or use a type library entry, ie. you can add version information or use a
different toolbox icon. different toolbox icon.
<p> The <tt>activeqt</tt> configuration will cause the <tt>qmake</tt> tool to add the <p> The <tt>activeqt</tt> configuration will cause the <tt>qmake</tt> tool to add the
retquired build steps to the build system: required build steps to the build system:
<ul> <ul>
<li> link the binary against <tt>qaxserver.lib</tt> <li> link the binary against <tt>qaxserver.lib</tt>
<li> generate an interface definition and link the type library into <li> generate an interface definition and link the type library into
@ -226,7 +226,7 @@ continue to run.
<p> An in-process server is usually smaller and has faster startup <p> An in-process server is usually smaller and has faster startup
time. The communication between client and server is done directly time. The communication between client and server is done directly
through virtual function calls and does not introduce the overhead through virtual function calls and does not introduce the overhead
retquired for remote procedure calls. But if the server crashes the required for remote procedure calls. But if the server crashes the
client application is likely to crash as well. client application is likely to crash as well.
<p> Both server types can use TQt either as a shared library, or <p> Both server types can use TQt either as a shared library, or
statically linked into the server binary. statically linked into the server binary.
@ -259,7 +259,7 @@ Microsoft Visual C++ 6.0 compiler.
<a name="4-1-1-1"></a><p> When the error occurs in code that uses the <a href="qaxfactory.html#TQAXFACTORY_DEFAULT">TQAXFACTORY_DEFAULT</a> <a name="4-1-1-1"></a><p> When the error occurs in code that uses the <a href="qaxfactory.html#TQAXFACTORY_DEFAULT">TQAXFACTORY_DEFAULT</a>
macro, the widget class had no constructor that can be used by the macro, the widget class had no constructor that can be used by the
default factory. Either add a standard widget constructor or default factory. Either add a standard widget constructor or
implement a custom factory that doesn't retquire one. implement a custom factory that doesn't require one.
<p> When the error occurs in code that uses the <a href="qaxfactory.html#TQAXFACTORY_EXPORT">TQAXFACTORY_EXPORT</a> <p> When the error occurs in code that uses the <a href="qaxfactory.html#TQAXFACTORY_EXPORT">TQAXFACTORY_EXPORT</a>
macro, the <a href="qaxfactory.html">TQAxFactory</a> subclass had no appropriate constructor. macro, the <a href="qaxfactory.html">TQAxFactory</a> subclass had no appropriate constructor.
Provide a public class constructor like Provide a public class constructor like
@ -304,18 +304,18 @@ of the binary to make it into an ActiveX server.
<li> Attach the type library as a binary resource to the server <li> Attach the type library as a binary resource to the server
<li> Register the server <li> Register the server
</ul> </ul>
<p> For this to work the server has to meet some retquirements: <p> For this to work the server has to meet some requirements:
<p> <ul> <p> <ul>
<li> All controls exposed can be created with nothing but a <a href="qapplication.html">TQApplication</a> <li> All controls exposed can be created with nothing but a <a href="qapplication.html">TQApplication</a>
instance being present instance being present
<li> The initial linking of the server includes a temporary type <li> The initial linking of the server includes a temporary type
library resource library resource
<li> All dependencies retquired to run the server are in the system path <li> All dependencies required to run the server are in the system path
(or in the path used by the calling environment; note that Visual (or in the path used by the calling environment; note that Visual
Studio has it's own set of environment variables listed in the Studio has it's own set of environment variables listed in the
Tools|Options|Directories dialog). Tools|Options|Directories dialog).
</ul> </ul>
<p> If those retquirements are not met one ore more of the following <p> If those requirements are not met one ore more of the following
errors are likely to occure: errors are likely to occure:
<p> <h5> The server executable crashes <p> <h5> The server executable crashes
</h5> </h5>
@ -341,7 +341,7 @@ the interface definition, and to register the server. If a dynamic
link library the server links against is not in the path this link library the server links against is not in the path this
might fail (e.g. Visual Studio calls the server using the might fail (e.g. Visual Studio calls the server using the
enivronment settings specified in the "Directories" option). Make enivronment settings specified in the "Directories" option). Make
sure that all DLLs retquired by your server are located in a sure that all DLLs required by your server are located in a
directory that is listed in the path as printed in the error directory that is listed in the path as printed in the error
message box. message box.
<p> <h5> The Server does not respond <p> <h5> The Server does not respond
@ -386,7 +386,7 @@ or any existing TQWidget subclass:
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
</pre> </pre>
<p> The <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro is retquired to provide the <a href="metaobjects.html#meta-object">meta object</a> information <p> The <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro is required to provide the <a href="metaobjects.html#meta-object">meta object</a> information
about the widget to the ActiveTQt framework. about the widget to the ActiveTQt framework.
Use the <tt>Q_PROPERTY</tt> macro to declare properties for the ActiveX control: Use the <tt>Q_PROPERTY</tt> macro to declare properties for the ActiveX control:
<p> <pre> <p> <pre>
@ -640,7 +640,7 @@ server must export an implementation of a <a href="qaxfactory.html">TQAxFactory<
default factory when the server provides only a single ActiveX default factory when the server provides only a single ActiveX
control, and implement a subclass of TQAxFactory to provide control, and implement a subclass of TQAxFactory to provide
multiple ActiveX controls. The default factory is available multiple ActiveX controls. The default factory is available
through a macro that takes the identifiers COM retquires to locate through a macro that takes the identifiers COM requires to locate
the ActiveX control on the target system: the ActiveX control on the target system:
<p> <pre> <p> <pre>
TQAXFACTORY_DEFAULT ( MyActiveX, TQAXFACTORY_DEFAULT ( MyActiveX,
@ -734,7 +734,7 @@ make the server available to the browser used to view your page, and
you need to specify the location of the server package in your page. you need to specify the location of the server package in your page.
<p> To specify the location of a server, use the CODEBASE attribute in <p> To specify the location of a server, use the CODEBASE attribute in
the OBJECT tag of your web-site. The value can point to the server the OBJECT tag of your web-site. The value can point to the server
file itself, to an <tt>INF</tt> file listing other files the server retquires file itself, to an <tt>INF</tt> file listing other files the server requires
(e.g. the TQt DLL), or a compressed <tt>CAB</tt> archive. (e.g. the TQt DLL), or a compressed <tt>CAB</tt> archive.
<p> INF and CAB files are documented in almost every book available about <p> INF and CAB files are documented in almost every book available about
ActiveX and COM programming as well as in the MSDN library and various ActiveX and COM programming as well as in the MSDN library and various
@ -873,8 +873,8 @@ Ie. the default property of a push button would be "text".
Ie. the default signal of a push button would be "clicked". Ie. the default signal of a push button would be "clicked".
<tr bgcolor="#f0f0f0"> <tr bgcolor="#f0f0f0">
<td valign="top">LicenseKey <td valign="top">LicenseKey
<td valign="top">Object creation retquires the specified license key. The key can be <td valign="top">Object creation requires the specified license key. The key can be
empty to retquire a licensed machine. By default classes are not empty to require a licensed machine. By default classes are not
licensed. Also see the following section. licensed. Also see the following section.
<tr bgcolor="#d0d0d0"> <tr bgcolor="#d0d0d0">
<td valign="top">StockEvents <td valign="top">StockEvents
@ -951,14 +951,14 @@ macro.
}; };
</pre> </pre>
The key is retquired to be able to create an instance of <tt>MyLicensedControl</tt> The key is required to be able to create an instance of <tt>MyLicensedControl</tt>
on a machine that is not licensed itself. The licensed developer can now on a machine that is not licensed itself. The licensed developer can now
redistributes the server binary with his application, which creates the control redistributes the server binary with his application, which creates the control
using the value of "LicenseKey", while users of the application cannot create using the value of "LicenseKey", while users of the application cannot create
the control without the license key. the control without the license key.
<p> If a single license key for the control is not sufficient (ie. you want <p> If a single license key for the control is not sufficient (ie. you want
differnet developers to receive different license keys) you can specify an differnet developers to receive different license keys) you can specify an
empty key to indicate that the control retquires a license, and reimplement empty key to indicate that the control requires a license, and reimplement
<a href="qaxfactory.html#validateLicenseKey">TQAxFactory::validateLicenseKey</a>() to verify that a license exists on the <a href="qaxfactory.html#validateLicenseKey">TQAxFactory::validateLicenseKey</a>() to verify that a license exists on the
system (ie. through a license file). system (ie. through a license file).
<p> <h3> More Interfaces <p> <h3> More Interfaces
@ -1056,10 +1056,10 @@ Microsoft
OLE needs to marshal user defined types by reference (ByRef), and cannot OLE needs to marshal user defined types by reference (ByRef), and cannot
marshal them by value (ByVal). This is why const-references and object marshal them by value (ByVal). This is why const-references and object
parameters are not supported for <a href="qrect.html">TQRect</a>, <a href="qsize.html">TQSize</a> and <a href="qpoint.html">TQPoint</a>. Also note that parameters are not supported for <a href="qrect.html">TQRect</a>, <a href="qsize.html">TQSize</a> and <a href="qpoint.html">TQPoint</a>. Also note that
servers with this datatype retquire Windows 98 or DCOM 1.2 to be installed. servers with this datatype require Windows 98 or DCOM 1.2 to be installed.
<a href="#footnote-call3">Back...</a> <li><a name="footnote4"></a> <a href="#footnote-call3">Back...</a> <li><a name="footnote4"></a>
This is not retquired, but gives the client more control over This is not required, but gives the client more control over
the ActiveX control. the ActiveX control.
<a href="#footnote-call4">Back...</a></ol> <a href="#footnote-call4">Back...</a></ol>
</hr> </hr>

@ -235,7 +235,7 @@ VK_CONTROL or VK_MENU
</table></center> </table></center>
<p> This table is the result of experimenting with popular ActiveX controls, <p> This table is the result of experimenting with popular ActiveX controls,
ie. Internet Explorer and Microsoft Office applications, but for some ie. Internet Explorer and Microsoft Office applications, but for some
controls it might retquire modification. controls it might require modification.
<!-- eof --> <!-- eof -->
<hr><p> <hr><p>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -84,7 +84,7 @@ arrays or bits.
<p> Bits can be manipulated by the <a href="#setBit">setBit</a>() and <a href="#clearBit">clearBit</a>() functions, <p> Bits can be manipulated by the <a href="#setBit">setBit</a>() and <a href="#clearBit">clearBit</a>() functions,
but it is also possible to use the indexing [] operator to test but it is also possible to use the indexing [] operator to test
and set individual bits. The [] operator is a little slower than and set individual bits. The [] operator is a little slower than
setBit() and clearBit() because some tricks are retquired to setBit() and clearBit() because some tricks are required to
implement single-bit assignments. implement single-bit assignments.
<p> Example: <p> Example:
<pre> <pre>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -49,7 +49,7 @@ body { background: #ffffff; color: black; }
The TQBitVal class is an internal class, used with <a href="qbitarray.html">TQBitArray</a>. The TQBitVal class is an internal class, used with <a href="qbitarray.html">TQBitArray</a>.
<p> <p>
<p> The TQBitVal is retquired by the indexing [] operator on bit arrays. <p> The TQBitVal is required by the indexing [] operator on bit arrays.
It is not for use in any other context. It is not for use in any other context.
<p>See also <a href="collection.html">Collection Classes</a>. <p>See also <a href="collection.html">Collection Classes</a>.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -266,7 +266,7 @@ item is an item that is in motion; see setVelocity().)
canvas item is called with paramater 0. Then all these canvas canvas item is called with paramater 0. Then all these canvas
items are called again, with parameter 1. In phase 0, the canvas items are called again, with parameter 1. In phase 0, the canvas
items should not change position, merely examine other items on items should not change position, merely examine other items on
the canvas for which special processing is retquired, such as the canvas for which special processing is required, such as
collisions between items. In phase 1, all canvas items should collisions between items. In phase 1, all canvas items should
change positions, ignoring any other items on the canvas. This change positions, ignoring any other items on the canvas. This
two-phase approach allows for considerations of "fairness", two-phase approach allows for considerations of "fairness",
@ -408,10 +408,10 @@ many objects on the canvas.
<p> The canvas is divided into chunks which are rectangular areas <em>chunksze</em> wide by <em>chunksze</em> high. Use a chunk size which is about <p> The canvas is divided into chunks which are rectangular areas <em>chunksze</em> wide by <em>chunksze</em> high. Use a chunk size which is about
the average size of the canvas items. If you choose a chunk size the average size of the canvas items. If you choose a chunk size
which is too small it will increase the amount of calculation which is too small it will increase the amount of calculation
retquired when drawing since each change will affect many chunks. required when drawing since each change will affect many chunks.
If you choose a chunk size which is too large the amount of If you choose a chunk size which is too large the amount of
drawing retquired will increase because for each change, a lot of drawing required will increase because for each change, a lot of
drawing will be retquired since there will be many (unchanged) drawing will be required since there will be many (unchanged)
canvas items which are in the same chunk as the changed canvas canvas items which are in the same chunk as the changed canvas
items. items.
<p> Internally, a canvas uses a low-resolution "chunk matrix" to keep <p> Internally, a canvas uses a low-resolution "chunk matrix" to keep

@ -79,7 +79,7 @@ handling, etc., which is much faster for non-rectangular items.
<p> Derived classes should try to define as small an area as possible <p> Derived classes should try to define as small an area as possible
to maximize efficiency, but the polygon must <em>definitely</em> be to maximize efficiency, but the polygon must <em>definitely</em> be
contained completely within the polygonal area. Calculating the contained completely within the polygonal area. Calculating the
exact retquirements is usually difficult, but if you allow a small exact requirements is usually difficult, but if you allow a small
overestimate it can be easy and tquick, while still getting almost overestimate it can be easy and tquick, while still getting almost
all of TQCanvasPolygonalItem's speed. all of TQCanvasPolygonalItem's speed.
<p> Note that all subclasses <em>must</em> call <a href="qcanvasitem.html#hide">hide</a>() in their destructor <p> Note that all subclasses <em>must</em> call <a href="qcanvasitem.html#hide">hide</a>() in their destructor

@ -101,11 +101,11 @@ Set the spline control points to <em>ctrl</em>.
<p> If <em>close</em> is TRUE, then the first point in <em>ctrl</em> will be <p> If <em>close</em> is TRUE, then the first point in <em>ctrl</em> will be
re-used as the last point, and the number of control points must re-used as the last point, and the number of control points must
be a multiple of 3. If <em>close</em> is FALSE, one additional control be a multiple of 3. If <em>close</em> is FALSE, one additional control
point is retquired, and the number of control points must be one of point is required, and the number of control points must be one of
(4, 7, 10, 13, ...). (4, 7, 10, 13, ...).
<p> If the number of control points doesn't meet the above conditions, <p> If the number of control points doesn't meet the above conditions,
the number of points will be truncated to the largest number of the number of points will be truncated to the largest number of
points that do meet the retquirement. points that do meet the requirement.
<p>Example: <a href="canvas-example.html#x2926">canvas/canvas.cpp</a>. <p>Example: <a href="canvas-example.html#x2926">canvas/canvas.cpp</a>.
<!-- eof --> <!-- eof -->

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -262,7 +262,7 @@ don't need to call this function.
<h3 class=fn>void <a name="cleanup"></a>TQColor::cleanup ()<tt> [static]</tt> <h3 class=fn>void <a name="cleanup"></a>TQColor::cleanup ()<tt> [static]</tt>
</h3> </h3>
Internal clean up retquired for TQColor. Internal clean up required for TQColor.
This function is called from the <a href="qapplication.html">TQApplication</a> destructor. This function is called from the <a href="qapplication.html">TQApplication</a> destructor.
<p> <p>See also <a href="#initialize">initialize</a>(). <p> <p>See also <a href="#initialize">initialize</a>().
@ -390,7 +390,7 @@ Use <a href="#getHsv">getHsv</a>() instead.
<p>Example: <a href="themes-example.html#x272">themes/metal.cpp</a>. <p>Example: <a href="themes-example.html#x272">themes/metal.cpp</a>.
<h3 class=fn>void <a name="initialize"></a>TQColor::initialize ()<tt> [static]</tt> <h3 class=fn>void <a name="initialize"></a>TQColor::initialize ()<tt> [static]</tt>
</h3> </h3>
Internal initialization retquired for TQColor. Internal initialization required for TQColor.
This function is called from the <a href="qapplication.html">TQApplication</a> constructor. This function is called from the <a href="qapplication.html">TQApplication</a> constructor.
<p> <p>See also <a href="#cleanup">cleanup</a>(). <p> <p>See also <a href="#cleanup">cleanup</a>().

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -122,7 +122,7 @@ This example assumes that the <em>msg</em> is a DCOP-style function
signature and the <em>data</em> contains the function's arguments. (See signature and the <em>data</em> contains the function's arguments. (See
<a href="#send">send</a>().) <a href="#send">send</a>().)
<p> Using the DCOP convention is a recommendation, but not a <p> Using the DCOP convention is a recommendation, but not a
retquirement. Whatever convention you use the sender and receiver requirement. Whatever convention you use the sender and receiver
<em>must</em> agree on the argument types. <em>must</em> agree on the argument types.
<p> <p>See also <a href="#send">send</a>(). <p> <p>See also <a href="#send">send</a>().
@ -154,7 +154,7 @@ functionname(types) where types is a list of zero or more
comma-separated type names, with no whitespace, no consts and no comma-separated type names, with no whitespace, no consts and no
pointer or reference marks, i.e. no "*" or "&". pointer or reference marks, i.e. no "*" or "&".
<p> Using the DCOP convention is a recommendation, but not a <p> Using the DCOP convention is a recommendation, but not a
retquirement. Whatever convention you use the sender and receiver requirement. Whatever convention you use the sender and receiver
<em>must</em> agree on the argument types. <em>must</em> agree on the argument types.
<p> <p>See also <a href="#receive">receive</a>(). <p> <p>See also <a href="#receive">receive</a>().

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -55,7 +55,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -201,7 +201,7 @@ number to give yourself room for future expansion. For example:
default setting is big endian (MSB first). Changing it to little default setting is big endian (MSB first). Changing it to little
endian breaks the portability (unless the reader also changes to endian breaks the portability (unless the reader also changes to
little endian). We recommend keeping this setting unless you have little endian). We recommend keeping this setting unless you have
special retquirements. special requirements.
<p> <a name="raw"></a> <p> <a name="raw"></a>
<h3> Reading and writing raw binary data <h3> Reading and writing raw binary data
</h3> </h3>
@ -486,7 +486,7 @@ reference to the stream.
Sets the serialization byte order to <em>bo</em>. Sets the serialization byte order to <em>bo</em>.
<p> The <em>bo</em> parameter can be <a href="#ByteOrder-enum">TQDataStream::BigEndian</a> or <a href="#ByteOrder-enum">TQDataStream::LittleEndian</a>. <p> The <em>bo</em> parameter can be <a href="#ByteOrder-enum">TQDataStream::BigEndian</a> or <a href="#ByteOrder-enum">TQDataStream::LittleEndian</a>.
<p> The default setting is big endian. We recommend leaving this <p> The default setting is big endian. We recommend leaving this
setting unless you have special retquirements. setting unless you have special requirements.
<p> <p>See also <a href="#byteOrder">byteOrder</a>(). <p> <p>See also <a href="#byteOrder">byteOrder</a>().
<h3 class=fn>void <a name="setDevice"></a>TQDataStream::setDevice ( <a href="qiodevice.html">TQIODevice</a>&nbsp;*&nbsp;d ) <h3 class=fn>void <a name="setDevice"></a>TQDataStream::setDevice ( <a href="qiodevice.html">TQIODevice</a>&nbsp;*&nbsp;d )

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -158,7 +158,7 @@ controlled with <a href="#setExtension">setExtension</a>(), <a href="#setOrienta
<h3> Return value (modal dialogs) <h3> Return value (modal dialogs)
</h3> </h3>
<a name="1-5"></a><p> Modal dialogs are often used in situations where a return value is <a name="1-5"></a><p> Modal dialogs are often used in situations where a return value is
retquired, e.g. to indicate whether the user pressed "OK" or required, e.g. to indicate whether the user pressed "OK" or
"Cancel". A dialog can be closed by calling the <a href="#accept">accept</a>() or the "Cancel". A dialog can be closed by calling the <a href="#accept">accept</a>() or the
<a href="#reject">reject</a>() slots, and <a href="#exec">exec</a>() will return <a href="#DialogCode-enum">Accepted</a> or <a href="#DialogCode-enum">Rejected</a> <a href="#reject">reject</a>() slots, and <a href="#exec">exec</a>() will return <a href="#DialogCode-enum">Accepted</a> or <a href="#DialogCode-enum">Rejected</a>
as appropriate. The exec() call returns the result of the dialog. as appropriate. The exec() call returns the result of the dialog.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -443,7 +443,7 @@ proper behavior and even then TQDockWindow does not limit stretchablilty.
<p>Set this property's value with <a href="#setMovingEnabled">setMovingEnabled</a>() and get this property's value with <a href="#isMovingEnabled">isMovingEnabled</a>(). <p>Set this property's value with <a href="#setMovingEnabled">setMovingEnabled</a>() and get this property's value with <a href="#isMovingEnabled">isMovingEnabled</a>().
<h3 class=fn>bool <a name="newLine-prop"></a>newLine</h3> <h3 class=fn>bool <a name="newLine-prop"></a>newLine</h3>
<p>This property holds whether the dock window prefers to start a new line in the dock area. <p>This property holds whether the dock window prefers to start a new line in the dock area.
<p>The default is FALSE, i.e. the dock window doesn't retquire a new <p>The default is FALSE, i.e. the dock window doesn't require a new
line in the dock area. line in the dock area.
<p>Set this property's value with <a href="#setNewLine">setNewLine</a>() and get this property's value with <a href="#newLine">newLine</a>(). <p>Set this property's value with <a href="#setNewLine">setNewLine</a>() and get this property's value with <a href="#newLine">newLine</a>().

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -392,7 +392,7 @@ will also change the other. If you want to make a <a href="shclass.html#deep-cop
<h3 class=fn>bool <a name="setContent"></a>TQDomDocument::setContent ( const&nbsp;<a href="qbytearray.html">TQByteArray</a>&nbsp;&amp;&nbsp;buffer, bool&nbsp;namespaceProcessing, <a href="qstring.html">TQString</a>&nbsp;*&nbsp;errorMsg = 0, int&nbsp;*&nbsp;errorLine = 0, int&nbsp;*&nbsp;errorColumn = 0 ) <h3 class=fn>bool <a name="setContent"></a>TQDomDocument::setContent ( const&nbsp;<a href="qbytearray.html">TQByteArray</a>&nbsp;&amp;&nbsp;buffer, bool&nbsp;namespaceProcessing, <a href="qstring.html">TQString</a>&nbsp;*&nbsp;errorMsg = 0, int&nbsp;*&nbsp;errorLine = 0, int&nbsp;*&nbsp;errorColumn = 0 )
</h3> </h3>
This function parses the XML document from the byte array <em>buffer</em> and sets it as the content of the document. It tries to This function parses the XML document from the byte array <em>buffer</em> and sets it as the content of the document. It tries to
detect the encoding of the document as retquired by the XML detect the encoding of the document as required by the XML
specification. specification.
<p> If <em>namespaceProcessing</em> is TRUE, the parser recognizes <p> If <em>namespaceProcessing</em> is TRUE, the parser recognizes
namespaces in the XML file and sets the prefix name, local name namespaces in the XML file and sets the prefix name, local name

@ -57,7 +57,7 @@ The TQDomNodeList class is a list of <a href="qdomnode.html">TQDomNode</a> objec
<p> <p>
<p> Lists can be obtained by <a href="qdomdocument.html#elementsByTagName">TQDomDocument::elementsByTagName</a>() and <p> Lists can be obtained by <a href="qdomdocument.html#elementsByTagName">TQDomDocument::elementsByTagName</a>() and
<a href="qdomnode.html#childNodes">TQDomNode::childNodes</a>(). The Document Object Model (DOM) retquires <a href="qdomnode.html#childNodes">TQDomNode::childNodes</a>(). The Document Object Model (DOM) requires
these lists to be "live": whenever you change the underlying these lists to be "live": whenever you change the underlying
document, the contents of the list will get updated. document, the contents of the list will get updated.
<p> You can get a particular node from the list with <a href="#item">item</a>(). The <p> You can get a particular node from the list with <a href="#item">item</a>(). The

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -379,7 +379,7 @@ to the bottom of the file dialog.
</h3> </h3>
Returns the current directory shown in the file dialog. Returns the current directory shown in the file dialog.
<p> The ownership of the <a href="qdir.html">TQDir</a> pointer is transferred to the caller, so <p> The ownership of the <a href="qdir.html">TQDir</a> pointer is transferred to the caller, so
it must be deleted by the caller when no longer retquired. it must be deleted by the caller when no longer required.
<p> <p>See also <a href="#setDir">setDir</a>(). <p> <p>See also <a href="#setDir">setDir</a>().
<h3 class=fn>void <a name="dirEntered"></a>TQFileDialog::dirEntered ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp; )<tt> [signal]</tt> <h3 class=fn>void <a name="dirEntered"></a>TQFileDialog::dirEntered ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp; )<tt> [signal]</tt>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -642,7 +642,7 @@ Saves the glyphs in the font that have previously been accessed as
a TQPF file. If <em>all</em> is TRUE (the default), then before saving, a TQPF file. If <em>all</em> is TRUE (the default), then before saving,
all glyphs are marked as used. all glyphs are marked as used.
<p> If the font is large and you are sure that only a subset of <p> If the font is large and you are sure that only a subset of
characters will ever be retquired on the target device, passing characters will ever be required on the target device, passing
FALSE for the <em>all</em> parameter can save a significant amount of FALSE for the <em>all</em> parameter can save a significant amount of
disk space. disk space.
<p> Note that this function is only applicable on TQt/Embedded. <p> Note that this function is only applicable on TQt/Embedded.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -137,7 +137,7 @@ visual that matches the format using the given <em>device</em> handle,
reducing the demands if the original request cannot be met. reducing the demands if the original request cannot be met.
<p> The algorithm for reducing the demands of the format is quite <p> The algorithm for reducing the demands of the format is quite
simple-minded, so override this method in your subclass if your simple-minded, so override this method in your subclass if your
application has specific retquirements on visual selection. application has specific requirements on visual selection.
<p> <p>See also <a href="#chooseContext">chooseContext</a>(). <p> <p>See also <a href="#chooseContext">chooseContext</a>().
<h3 class=fn>int <a name="choosePixelFormat"></a>TQGLContext::choosePixelFormat ( void&nbsp;*&nbsp;dummyPfd, HDC&nbsp;pdc )<tt> [virtual protected]</tt> <h3 class=fn>int <a name="choosePixelFormat"></a>TQGLContext::choosePixelFormat ( void&nbsp;*&nbsp;dummyPfd, HDC&nbsp;pdc )<tt> [virtual protected]</tt>
@ -157,7 +157,7 @@ visual that matches the format, reducing the demands if the original
request cannot be met. request cannot be met.
<p> The algorithm for reducing the demands of the format is quite <p> The algorithm for reducing the demands of the format is quite
simple-minded, so override this method in your subclass if your simple-minded, so override this method in your subclass if your
application has spcific retquirements on visual selection. application has spcific requirements on visual selection.
<p> <p>See also <a href="#chooseContext">chooseContext</a>(). <p> <p>See also <a href="#chooseContext">chooseContext</a>().
<h3 class=fn>bool <a name="create"></a>TQGLContext::create ( const&nbsp;<a href="qglcontext.html">TQGLContext</a>&nbsp;*&nbsp;shareContext = 0 )<tt> [virtual]</tt> <h3 class=fn>bool <a name="create"></a>TQGLContext::create ( const&nbsp;<a href="qglcontext.html">TQGLContext</a>&nbsp;*&nbsp;shareContext = 0 )<tt> [virtual]</tt>

@ -131,7 +131,7 @@ requested features the system was able to provide:
if ( !w-&gt;format().stereo() ) { if ( !w-&gt;format().stereo() ) {
// ok, goggles off // ok, goggles off
if ( !w-&gt;format().hasOverlay() ) { if ( !w-&gt;format().hasOverlay() ) {
<a href="qapplication.html#qFatal">qFatal</a>( "Cool hardware retquired" ); <a href="qapplication.html#qFatal">qFatal</a>( "Cool hardware required" );
} }
} }
</pre> </pre>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -601,7 +601,7 @@ body { background: #ffffff; color: black; }
# define Q_WS_MAC9 # define Q_WS_MAC9
#elif defined(Q_OS_MSDOS) #elif defined(Q_OS_MSDOS)
# define Q_WS_WIN16 # define Q_WS_WIN16
# error "TQt retquires Win32 and does not work with Windows 3.x" # error "TQt requires Win32 and does not work with Windows 3.x"
#elif defined(_WIN32_X11_) #elif defined(_WIN32_X11_)
# define Q_WS_X11 # define Q_WS_X11
#elif defined(Q_OS_WIN32) #elif defined(Q_OS_WIN32)
@ -1116,7 +1116,7 @@ Q_EXPORT const char *qInstallPathSysconf();
/* /*
compilers which follow outdated template instantiation rules compilers which follow outdated template instantiation rules
retquire a class to have a comparison operator to exist when require a class to have a comparison operator to exist when
a TQValueList of this type is instantiated. It's not actually a TQValueList of this type is instantiated. It's not actually
used in the list, though. Hence the dummy implementation. used in the list, though. Hence the dummy implementation.
Just in case other code relies on it we better trigger a warning Just in case other code relies on it we better trigger a warning

@ -356,7 +356,7 @@ function.
This virtual function is called once before the first call to This virtual function is called once before the first call to
<a href="#paintGL">paintGL</a>() or <a href="#resizeGL">resizeGL</a>(), and then once whenever the widget has <a href="#paintGL">paintGL</a>() or <a href="#resizeGL">resizeGL</a>(), and then once whenever the widget has
been assigned a new <a href="qglcontext.html">TQGLContext</a>. Reimplement it in a subclass. been assigned a new <a href="qglcontext.html">TQGLContext</a>. Reimplement it in a subclass.
<p> This function should set up any retquired OpenGL context rendering <p> This function should set up any required OpenGL context rendering
flags, defining display lists, etc. flags, defining display lists, etc.
<p> There is no need to call <a href="#makeCurrent">makeCurrent</a>() because this has already <p> There is no need to call <a href="#makeCurrent">makeCurrent</a>() because this has already
been done when this function is called. been done when this function is called.
@ -368,7 +368,7 @@ except that it operates on the widget's overlay context instead of
the widget's main context. This means that <a href="#initializeOverlayGL">initializeOverlayGL</a>() the widget's main context. This means that <a href="#initializeOverlayGL">initializeOverlayGL</a>()
is called once before the first call to <a href="#paintOverlayGL">paintOverlayGL</a>() or is called once before the first call to <a href="#paintOverlayGL">paintOverlayGL</a>() or
<a href="#resizeOverlayGL">resizeOverlayGL</a>(). Reimplement it in a subclass. <a href="#resizeOverlayGL">resizeOverlayGL</a>(). Reimplement it in a subclass.
<p> This function should set up any retquired OpenGL context rendering <p> This function should set up any required OpenGL context rendering
flags, defining display lists, etc. for the overlay context. flags, defining display lists, etc. for the overlay context.
<p> There is no need to call <a href="#makeOverlayCurrent">makeOverlayCurrent</a>() because this has <p> There is no need to call <a href="#makeOverlayCurrent">makeOverlayCurrent</a>() because this has
already been done when this function is called. already been done when this function is called.

@ -50,7 +50,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -93,7 +93,7 @@ them using either the <tt>*x</tt> or the <tt>x-&gt;member</tt> notation.
<p> A guarded pointer will automatically cast to an X*, so you can <p> A guarded pointer will automatically cast to an X*, so you can
freely mix guarded and unguarded pointers. This means that if you freely mix guarded and unguarded pointers. This means that if you
have a TQGuardedPtr<TQWidget>, you can pass it to a function that have a TQGuardedPtr<TQWidget>, you can pass it to a function that
retquires a <a href="qwidget.html">TQWidget</a>*. For this reason, it is of little value to requires a <a href="qwidget.html">TQWidget</a>*. For this reason, it is of little value to
declare functions to take a TQGuardedPtr as a parameter; just use declare functions to take a TQGuardedPtr as a parameter; just use
normal pointers. Use a TQGuardedPtr when you are storing a pointer normal pointers. Use a TQGuardedPtr when you are storing a pointer
over time. over time.
@ -139,7 +139,7 @@ there is no referenced object; otherwise returns FALSE.
<p> Cast operator; implements pointer semantics. Because of this <p> Cast operator; implements pointer semantics. Because of this
function you can pass a TQGuardedPtr&lt;X&gt; to a function where an X* function you can pass a TQGuardedPtr&lt;X&gt; to a function where an X*
is retquired. is required.
<h3 class=fn>bool <a name="operator!-eq"></a>TQGuardedPtr::operator!= ( const&nbsp;<a href="qguardedptr.html">TQGuardedPtr</a>&lt;T&gt;&nbsp;&amp;&nbsp;p ) const <h3 class=fn>bool <a name="operator!-eq"></a>TQGuardedPtr::operator!= ( const&nbsp;<a href="qguardedptr.html">TQGuardedPtr</a>&lt;T&gt;&nbsp;&amp;&nbsp;p ) const
</h3> </h3>

@ -50,7 +50,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -309,7 +309,7 @@ connection and want to close it.
<p> For the requests issued with <a href="#get">get</a>(), <a href="#post">post</a>() and <a href="#head">head</a>(), TQHttp sets <p> For the requests issued with <a href="#get">get</a>(), <a href="#post">post</a>() and <a href="#head">head</a>(), TQHttp sets
the connection to be keep-alive. You can also do this using the the connection to be keep-alive. You can also do this using the
header you pass to the <a href="#request">request</a>() function. TQHttp only closes the header you pass to the <a href="#request">request</a>() function. TQHttp only closes the
connection to the HTTP server if the response header retquires it connection to the HTTP server if the response header requires it
to do so. to do so.
<p> The function does not block and returns immediately. The request <p> The function does not block and returns immediately. The request
is scheduled, and its execution is performed asynchronously. The is scheduled, and its execution is performed asynchronously. The

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -77,7 +77,7 @@ from the set of icons it is given. Such pixmaps are used by
<a href="qtoolbutton.html">TQToolButton</a>, <a href="qheader.html">TQHeader</a>, <a href="qpopupmenu.html">TQPopupMenu</a>, etc. to show an icon representing a <a href="qtoolbutton.html">TQToolButton</a>, <a href="qheader.html">TQHeader</a>, <a href="qpopupmenu.html">TQPopupMenu</a>, etc. to show an icon representing a
particular action. particular action.
<p> The simplest use of TQIconSet is to create one from a <a href="qpixmap.html">TQPixmap</a> and then <p> The simplest use of TQIconSet is to create one from a <a href="qpixmap.html">TQPixmap</a> and then
use it, allowing TQt to work out all the retquired icon styles and use it, allowing TQt to work out all the required icon styles and
sizes. For example: sizes. For example:
<p> <pre> <p> <pre>
<a href="qtoolbutton.html">TQToolButton</a> *but = new <a href="qtoolbutton.html">TQToolButton</a>( <a href="#TQIconSet">TQIconSet</a>( TQPixmap("open.xpm") ), ... ); <a href="qtoolbutton.html">TQToolButton</a> *but = new <a href="qtoolbutton.html">TQToolButton</a>( <a href="#TQIconSet">TQIconSet</a>( TQPixmap("open.xpm") ), ... );
@ -174,7 +174,7 @@ pixel size. This is a useful default.
<li><tt>TQIconSet::Large</tt> - The pixmap is the larger of two. <li><tt>TQIconSet::Large</tt> - The pixmap is the larger of two.
</ul><p> If a Small pixmap is not set by <a href="#setPixmap">TQIconSet::setPixmap</a>(), the Large </ul><p> If a Small pixmap is not set by <a href="#setPixmap">TQIconSet::setPixmap</a>(), the Large
pixmap will be automatically scaled down to the size of a small pixmap pixmap will be automatically scaled down to the size of a small pixmap
to generate the Small pixmap when retquired. Similarly, a Small pixmap to generate the Small pixmap when required. Similarly, a Small pixmap
will be automatically scaled up to generate a Large pixmap. The will be automatically scaled up to generate a Large pixmap. The
preferred sizes for large/small generated icons can be set using preferred sizes for large/small generated icons can be set using
<a href="#setIconSize">setIconSize</a>(). <a href="#setIconSize">setIconSize</a>().

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -242,7 +242,7 @@ operations that are independent of endianness.
<p> The functions <a href="#scale">scale</a>() and <a href="#smoothScale">smoothScale</a>() use different modes for <p> The functions <a href="#scale">scale</a>() and <a href="#smoothScale">smoothScale</a>() use different modes for
scaling the image. The purpose of these modes is to retain the scaling the image. The purpose of these modes is to retain the
ratio of the image if this is retquired. ratio of the image if this is required.
<p> <center><img src="scaling.png"></center> <p> <center><img src="scaling.png"></center>
<ul> <ul>
<li><tt>TQImage::ScaleFree</tt> - The image is scaled freely: the resulting image <li><tt>TQImage::ScaleFree</tt> - The image is scaled freely: the resulting image

@ -70,13 +70,13 @@ currently-existing TQImageFormatType factory objects.
need to implement support for additional image formats. need to implement support for additional image formats.
<p> <p>
<p> TQt supports GIF reading if it is configured that way during <p> TQt supports GIF reading if it is configured that way during
installation (see qgif.h). If it is, we are retquired to state that installation (see qgif.h). If it is, we are required to state that
"The Graphics Interchange Format(c) is the Copyright property of "The Graphics Interchange Format(c) is the Copyright property of
CompuServe Incorporated. GIF(sm) is a Service Mark property of CompuServe Incorporated. GIF(sm) is a Service Mark property of
CompuServe Incorporated." CompuServe Incorporated."
<p> <b>Warning:</b> If you are in a country that recognizes software patents <p> <b>Warning:</b> If you are in a country that recognizes software patents
and in which Unisys holds a patent on LZW compression and/or and in which Unisys holds a patent on LZW compression and/or
decompression and you want to use GIF, Unisys may retquire you to decompression and you want to use GIF, Unisys may require you to
license that technology. Such countries include Canada, Japan, license that technology. Such countries include Canada, Japan,
the USA, France, Germany, Italy and the UK. the USA, France, Germany, Italy and the UK.
<p> GIF support may be removed completely in a future version of TQt. <p> GIF support may be removed completely in a future version of TQt.

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -95,7 +95,7 @@ raw format. PPM and PGM files with more than 256 levels of
intensity are scaled down when reading. intensity are scaled down when reading.
<p> <b>Warning:</b> If you are in a country which recognizes software patents <p> <b>Warning:</b> If you are in a country which recognizes software patents
and in which Unisys holds a patent on LZW compression and/or and in which Unisys holds a patent on LZW compression and/or
decompression and you want to use GIF, Unisys may retquire you to decompression and you want to use GIF, Unisys may require you to
license the technology. Such countries include Canada, Japan, the license the technology. Such countries include Canada, Japan, the
USA, France, Germany, Italy and the UK. USA, France, Germany, Italy and the UK.
<p> GIF support may be removed completely in a future version of TQt. <p> GIF support may be removed completely in a future version of TQt.
@ -309,7 +309,7 @@ Sets the image to <em>image</em>.
<h3 class=fn>void <a name="setParameters"></a>TQImageIO::setParameters ( const&nbsp;char&nbsp;*&nbsp;parameters ) <h3 class=fn>void <a name="setParameters"></a>TQImageIO::setParameters ( const&nbsp;char&nbsp;*&nbsp;parameters )
</h3> </h3>
Sets the image's parameter string to <em>parameters</em>. This is for Sets the image's parameter string to <em>parameters</em>. This is for
image handlers that retquire special parameters. image handlers that require special parameters.
<p> Although the current image formats supported by TQt ignore the <p> Although the current image formats supported by TQt ignore the
parameters string, it may be used in future extensions or by parameters string, it may be used in future extensions or by
contributions (for example, JPEG). contributions (for example, JPEG).

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -194,7 +194,7 @@ not be resolved or the library could not be loaded.
</pre> </pre>
<p> The symbol must be exported as a C-function from the library. This <p> The symbol must be exported as a C-function from the library. This
retquires the <tt>extern "C"</tt> notation if the library is compiled requires the <tt>extern "C"</tt> notation if the library is compiled
with a C++ compiler. On Windows you also have to explicitly export with a C++ compiler. On Windows you also have to explicitly export
the function from the DLL using the <tt>__declspec(dllexport)</tt> the function from the DLL using the <tt>__declspec(dllexport)</tt>
compiler directive. compiler directive.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -659,17 +659,17 @@ arguments.
<p> The mask format understands these mask characters: <p> The mask format understands these mask characters:
<center><table cellpadding="4" cellspacing="2" border="0"> <center><table cellpadding="4" cellspacing="2" border="0">
<tr bgcolor="#a2c511"> <th valign="top">Character <th valign="top">Meaning <tr bgcolor="#a2c511"> <th valign="top">Character <th valign="top">Meaning
<tr bgcolor="#f0f0f0"> <td valign="top"><tt>A</tt> <td valign="top">ASCII alphabetic character retquired. A-Z, a-z. <tr bgcolor="#f0f0f0"> <td valign="top"><tt>A</tt> <td valign="top">ASCII alphabetic character required. A-Z, a-z.
<tr bgcolor="#d0d0d0"> <td valign="top"><tt>a</tt> <td valign="top">ASCII alphabetic character permitted but not retquired. <tr bgcolor="#d0d0d0"> <td valign="top"><tt>a</tt> <td valign="top">ASCII alphabetic character permitted but not required.
<tr bgcolor="#f0f0f0"> <td valign="top"><tt>N</tt> <td valign="top">ASCII alphanumeric character retquired. A-Z, a-z, 0-9. <tr bgcolor="#f0f0f0"> <td valign="top"><tt>N</tt> <td valign="top">ASCII alphanumeric character required. A-Z, a-z, 0-9.
<tr bgcolor="#d0d0d0"> <td valign="top"><tt>n</tt> <td valign="top">ASCII alphanumeric character permitted but not retquired. <tr bgcolor="#d0d0d0"> <td valign="top"><tt>n</tt> <td valign="top">ASCII alphanumeric character permitted but not required.
<tr bgcolor="#f0f0f0"> <td valign="top"><tt>X</tt> <td valign="top">Any character retquired. <tr bgcolor="#f0f0f0"> <td valign="top"><tt>X</tt> <td valign="top">Any character required.
<tr bgcolor="#d0d0d0"> <td valign="top"><a href="qwidget.html#x-prop">x</a> <td valign="top">Any character permitted but not retquired. <tr bgcolor="#d0d0d0"> <td valign="top"><a href="qwidget.html#x-prop">x</a> <td valign="top">Any character permitted but not required.
<tr bgcolor="#f0f0f0"> <td valign="top"><tt>9</tt> <td valign="top">ASCII digit retquired. 0-9. <tr bgcolor="#f0f0f0"> <td valign="top"><tt>9</tt> <td valign="top">ASCII digit required. 0-9.
<tr bgcolor="#d0d0d0"> <td valign="top"><tt>0</tt> <td valign="top">ASCII digit permitted but not retquired. <tr bgcolor="#d0d0d0"> <td valign="top"><tt>0</tt> <td valign="top">ASCII digit permitted but not required.
<tr bgcolor="#f0f0f0"> <td valign="top"><tt>D</tt> <td valign="top">ASCII digit retquired. 1-9. <tr bgcolor="#f0f0f0"> <td valign="top"><tt>D</tt> <td valign="top">ASCII digit required. 1-9.
<tr bgcolor="#d0d0d0"> <td valign="top"><tt>d</tt> <td valign="top">ASCII digit permitted but not retquired (1-9). <tr bgcolor="#d0d0d0"> <td valign="top"><tt>d</tt> <td valign="top">ASCII digit permitted but not required (1-9).
<tr bgcolor="#f0f0f0"> <td valign="top"><tt>#</tt> <td valign="top">ASCII digit or plus/minus sign permitted but not retquired. <tr bgcolor="#f0f0f0"> <td valign="top"><tt>#</tt> <td valign="top">ASCII digit or plus/minus sign permitted but not required.
<tr bgcolor="#d0d0d0"> <td valign="top"><tt>&gt;</tt> <td valign="top">All following alphabetic characters are uppercased. <tr bgcolor="#d0d0d0"> <td valign="top"><tt>&gt;</tt> <td valign="top">All following alphabetic characters are uppercased.
<tr bgcolor="#f0f0f0"> <td valign="top"><tt>&lt;</tt> <td valign="top">All following alphabetic characters are lowercased. <tr bgcolor="#f0f0f0"> <td valign="top"><tt>&lt;</tt> <td valign="top">All following alphabetic characters are lowercased.
<tr bgcolor="#d0d0d0"> <td valign="top"><tt>!</tt> <td valign="top">Switch off case conversion. <tr bgcolor="#d0d0d0"> <td valign="top"><tt>!</tt> <td valign="top">Switch off case conversion.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -204,7 +204,7 @@ functions both to set the selection state of an item, i.e.
<a href="#setSelected">setSelected</a>(), and to set which item displays keyboard focus, i.e. <a href="#setSelected">setSelected</a>(), and to set which item displays keyboard focus, i.e.
<a href="#setCurrentItem">setCurrentItem</a>(). <a href="#setCurrentItem">setCurrentItem</a>().
<p> The list box normally arranges its items in a single column and <p> The list box normally arranges its items in a single column and
adds a vertical scroll bar if retquired. It is possible to have a adds a vertical scroll bar if required. It is possible to have a
different fixed number of columns (<a href="#setColumnMode">setColumnMode</a>()), or as many different fixed number of columns (<a href="#setColumnMode">setColumnMode</a>()), or as many
columns as will fit in the list box's assigned screen space columns as will fit in the list box's assigned screen space
(setColumnMode(FitToWidth)), or to have a fixed number of rows (setColumnMode(FitToWidth)), or to have a fixed number of rows
@ -275,8 +275,8 @@ and columns.
<li><tt>TQListBox::FitToWidth</tt> - There are as many columns as will fit <li><tt>TQListBox::FitToWidth</tt> - There are as many columns as will fit
on-screen. on-screen.
<li><tt>TQListBox::FitToHeight</tt> - There are as many rows as will fit on-screen. <li><tt>TQListBox::FitToHeight</tt> - There are as many rows as will fit on-screen.
<li><tt>TQListBox::Variable</tt> - There are as many rows as are retquired by the <li><tt>TQListBox::Variable</tt> - There are as many rows as are required by the
column mode. (Or as many columns as retquired by the row mode.) column mode. (Or as many columns as required by the row mode.)
</ul><p> Example: When you call <a href="#setRowMode">setRowMode</a>( FitToHeight ), <a href="#columnMode">columnMode</a>() </ul><p> Example: When you call <a href="#setRowMode">setRowMode</a>( FitToHeight ), <a href="#columnMode">columnMode</a>()
automatically becomes <a href="#LayoutMode-enum">Variable</a> to accommodate the row mode automatically becomes <a href="#LayoutMode-enum">Variable</a> to accommodate the row mode
you've set. you've set.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -601,7 +601,7 @@ create a <a href="qdragobject.html">TQDragObject</a> depending on the selected i
</h3> </h3>
Calls <a href="qlistviewitem.html#paintCell">TQListViewItem::paintCell</a>() and Calls <a href="qlistviewitem.html#paintCell">TQListViewItem::paintCell</a>() and
<a href="qlistviewitem.html#paintBranches">TQListViewItem::paintBranches</a>() as necessary for all list view <a href="qlistviewitem.html#paintBranches">TQListViewItem::paintBranches</a>() as necessary for all list view
items that retquire repainting in the <em>cw</em> pixels wide and <em>ch</em> items that require repainting in the <em>cw</em> pixels wide and <em>ch</em>
pixels high bounding rectangle starting at position <em>cx</em>, <em>cy</em> pixels high bounding rectangle starting at position <em>cx</em>, <em>cy</em>
with offset <em>ox</em>, <em>oy</em>. Uses the painter <em>p</em>. with offset <em>ox</em>, <em>oy</em>. Uses the painter <em>p</em>.
@ -617,7 +617,7 @@ viewport (not onto an item).
</h3> </h3>
Ensures that item <em>i</em> is visible, scrolling the list view Ensures that item <em>i</em> is visible, scrolling the list view
vertically if necessary and opening (expanding) any parent items vertically if necessary and opening (expanding) any parent items
if this is retquired to show the item. if this is required to show the item.
<p> <p>See also <a href="#itemRect">itemRect</a>() and <a href="qscrollview.html#ensureVisible">TQScrollView::ensureVisible</a>(). <p> <p>See also <a href="#itemRect">itemRect</a>() and <a href="qscrollview.html#ensureVisible">TQScrollView::ensureVisible</a>().
<h3 class=fn>bool <a name="eventFilter"></a>TQListView::eventFilter ( <a href="qobject.html">TQObject</a>&nbsp;*&nbsp;o, <a href="qevent.html">TQEvent</a>&nbsp;*&nbsp;e )<tt> [virtual]</tt> <h3 class=fn>bool <a name="eventFilter"></a>TQListView::eventFilter ( <a href="qobject.html">TQObject</a>&nbsp;*&nbsp;o, <a href="qevent.html">TQEvent</a>&nbsp;*&nbsp;e )<tt> [virtual]</tt>

@ -779,7 +779,7 @@ height.
<h3 class=fn>int <a name="width"></a>TQListViewItem::width ( const&nbsp;<a href="qfontmetrics.html">TQFontMetrics</a>&nbsp;&amp;&nbsp;fm, const&nbsp;<a href="qlistview.html">TQListView</a>&nbsp;*&nbsp;lv, int&nbsp;c ) const<tt> [virtual]</tt> <h3 class=fn>int <a name="width"></a>TQListViewItem::width ( const&nbsp;<a href="qfontmetrics.html">TQFontMetrics</a>&nbsp;&amp;&nbsp;fm, const&nbsp;<a href="qlistview.html">TQListView</a>&nbsp;*&nbsp;lv, int&nbsp;c ) const<tt> [virtual]</tt>
</h3> </h3>
Returns the number of pixels of width retquired to draw column <em>c</em> Returns the number of pixels of width required to draw column <em>c</em>
of list view <em>lv</em>, using the metrics <em>fm</em> without cropping. The of list view <em>lv</em>, using the metrics <em>fm</em> without cropping. The
list view containing this item may use this information depending list view containing this item may use this information depending
on the TQListView::WidthMode settings for the column. on the TQListView::WidthMode settings for the column.

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -282,7 +282,7 @@ right clicking a dock area and clicking the name of the relevant
dock window on the pop up dock window menu. This menu lists the dock window on the pop up dock window menu. This menu lists the
names of every dock window; visible dock windows have a tick names of every dock window; visible dock windows have a tick
beside their names. The dock window menu is created automatically beside their names. The dock window menu is created automatically
as retquired by <a href="#createDockWindowMenu">createDockWindowMenu</a>(). Since it may not always be as required by <a href="#createDockWindowMenu">createDockWindowMenu</a>(). Since it may not always be
appropriate for a dock window to appear on this menu the appropriate for a dock window to appear on this menu the
<a href="#setAppropriate">setAppropriate</a>() function is used to inform the main window <a href="#setAppropriate">setAppropriate</a>() function is used to inform the main window
whether or not the dock window menu should include a particular whether or not the dock window menu should include a particular

@ -33,8 +33,8 @@ body { background: #ffffff; color: black; }
<h2 align="center">Introduction to qmake</h2> <h2 align="center">Introduction to qmake</h2>
<h3><a name="1"></a>Introduction to qmake</h3> <h3><a name="1"></a>Introduction to qmake</h3>
<p><em>qmake</em> is a tool created by Trolltech to write makefiles for different compilers and platforms.</p> <p><em>qmake</em> is a tool created by Trolltech to write makefiles for different compilers and platforms.</p>
<p>Writing makefiles by hand can be difficult and error prone, especially if several makefiles are retquired for different compiler and platform combinations. With <em>qmake</em>, developers create a simple single 'project' file and run <em>qmake</em> to generate the appropriate makefiles. <em>qmake</em> takes care of all the compiler and platform dependencies, freeing developers to focus on their code. Trolltech uses <em>qmake</em> as the primary build tool for the TQt library, and for the tools supplied with TQt.</p> <p>Writing makefiles by hand can be difficult and error prone, especially if several makefiles are required for different compiler and platform combinations. With <em>qmake</em>, developers create a simple single 'project' file and run <em>qmake</em> to generate the appropriate makefiles. <em>qmake</em> takes care of all the compiler and platform dependencies, freeing developers to focus on their code. Trolltech uses <em>qmake</em> as the primary build tool for the TQt library, and for the tools supplied with TQt.</p>
<p><em>qmake</em> also takes care of TQt's special retquirements, automatically including build rules for <a href="moc.html">moc</a> and <em>uic</em>.</p> <p><em>qmake</em> also takes care of TQt's special requirements, automatically including build rules for <a href="moc.html">moc</a> and <em>uic</em>.</p>
<!-- eof --> <!-- eof -->
<p align="right">[<a href="qmake-manual.html">Home</a>] [<a href="qmake-manual-2.html">Next: Installing qmake</a>]</p> <p align="right">[<a href="qmake-manual.html">Home</a>] [<a href="qmake-manual-2.html">Next: Installing qmake</a>]</p>
<p><address><hr><div align=center> <p><address><hr><div align=center>

@ -44,7 +44,7 @@ body { background: #ffffff; color: black; }
<pre> <pre>
SOURCES = hello.cpp SOURCES = hello.cpp
</pre> </pre>
<p>This line specifies the source files that implement the application. In this case there is just one file, <em>hello.cpp</em>. Most applications retquire multiple files; this situation is dealt with by listing all the files on the same line space separated, like this:</p> <p>This line specifies the source files that implement the application. In this case there is just one file, <em>hello.cpp</em>. Most applications require multiple files; this situation is dealt with by listing all the files on the same line space separated, like this:</p>
<pre> <pre>
SOURCES = hello.cpp main.cpp SOURCES = hello.cpp main.cpp
</pre> </pre>

@ -135,7 +135,7 @@ body { background: #ffffff; color: black; }
</pre> </pre>
<p>Use <em>qmake</em> as before to generate a makefile. If you rename <em>main.cpp</em> temporarily, you will see the message and <em>qmake</em> will stop processing.</p> <p>Use <em>qmake</em> as before to generate a makefile. If you rename <em>main.cpp</em> temporarily, you will see the message and <em>qmake</em> will stop processing.</p>
<h3><a name="6"></a>Checking for more than one condition</h3> <h3><a name="6"></a>Checking for more than one condition</h3>
<p>Suppose you use Windows and you want to be able to see the qDebug() statements when you run your application on the command line. Unless you build your application with the console setting, you won't see the output. We can easily put <em>console</em> on the CONFIG line so that on Windows the makefile will have this setting. But let's say that we only want to add the CONFIG line if we are running on Windows <em>and</em> when <em>debug</em> is already on the CONFIG line. This retquires using two nested scopes; just create one scope, then create the other inside that one. Put the settings to be processed inside the last scope, like this:</p> <p>Suppose you use Windows and you want to be able to see the qDebug() statements when you run your application on the command line. Unless you build your application with the console setting, you won't see the output. We can easily put <em>console</em> on the CONFIG line so that on Windows the makefile will have this setting. But let's say that we only want to add the CONFIG line if we are running on Windows <em>and</em> when <em>debug</em> is already on the CONFIG line. This requires using two nested scopes; just create one scope, then create the other inside that one. Put the settings to be processed inside the last scope, like this:</p>
<pre> <pre>
win32 { win32 {
debug { debug {

@ -33,7 +33,7 @@ body { background: #ffffff; color: black; }
<h2 align="center">qmake Concepts</h2> <h2 align="center">qmake Concepts</h2>
<h3><a name="1"></a>Introducing qmake</h3> <h3><a name="1"></a>Introducing qmake</h3>
<p><em>qmake</em> is an easy-to-use tool from Trolltech that creates makefiles for development projects across different platforms. <em>qmake</em> simplifies the generation of makefiles so that only a few lines of information are needed to create a makefile. <em>qmake</em> can be used for any software project whether it is written in TQt or not, although it also contains additional features to support TQt development.</p> <p><em>qmake</em> is an easy-to-use tool from Trolltech that creates makefiles for development projects across different platforms. <em>qmake</em> simplifies the generation of makefiles so that only a few lines of information are needed to create a makefile. <em>qmake</em> can be used for any software project whether it is written in TQt or not, although it also contains additional features to support TQt development.</p>
<p><em>qmake</em> generates a makefile based on the information in a project file. Project files are created by the developer. Project files are usually simple, but can be quite sophisticated if retquired. <em>qmake</em> can also generate projects for Microsoft Visual studio without having to change the project file.</p> <p><em>qmake</em> generates a makefile based on the information in a project file. Project files are created by the developer. Project files are usually simple, but can be quite sophisticated if required. <em>qmake</em> can also generate projects for Microsoft Visual studio without having to change the project file.</p>
<h3><a name="2"></a>qmake's Concepts</h3> <h3><a name="2"></a>qmake's Concepts</h3>
<h4><a name="2-1"></a>The QMAKESPEC environment variable</h4> <h4><a name="2-1"></a>The QMAKESPEC environment variable</h4>
<p>Before <em>qmake</em> can be used to build makefiles, the QMAKESPEC environment variable must be set to the platform-compiler combination that is being used on the system. The QMAKESPEC environment variable tells qmake where to look to find platform and compiler specific information. This ensures that the right libraries are used, and that the generated makefile uses the correct syntax. A list of the currently supported platform-compiler combinations can be found in qt/mkspecs. Just set your environment variable to one of the directories listed.</p> <p>Before <em>qmake</em> can be used to build makefiles, the QMAKESPEC environment variable must be set to the platform-compiler combination that is being used on the system. The QMAKESPEC environment variable tells qmake where to look to find platform and compiler specific information. This ensures that the right libraries are used, and that the generated makefile uses the correct syntax. A list of the currently supported platform-compiler combinations can be found in qt/mkspecs. Just set your environment variable to one of the directories listed.</p>

@ -135,17 +135,17 @@ body { background: #ffffff; color: black; }
<pre> <pre>
MY_DEFINES = $${DEFINES} MY_DEFINES = $${DEFINES}
</pre> </pre>
<p>The second notation allows you to adjoin the variable expansion to another value without separating by space. <em>qmake</em> will allow a variable to contain anything (including $(VALUE), which will be placed directly into the Makefile, and allow it to expand as appropriate, usually an environment variable). However, if you retquire an environment variable to be replaced immediately then you may use the $$() notation. For example:</p> <p>The second notation allows you to adjoin the variable expansion to another value without separating by space. <em>qmake</em> will allow a variable to contain anything (including $(VALUE), which will be placed directly into the Makefile, and allow it to expand as appropriate, usually an environment variable). However, if you require an environment variable to be replaced immediately then you may use the $$() notation. For example:</p>
<pre> <pre>
MY_DEFINES = $$(ENV_DEFINES) MY_DEFINES = $$(ENV_DEFINES)
</pre> </pre>
<p>This will set MY_DEFINES to the value of the evironment variable ENV_DEFINES as it parses the .pro file. Additionally you may call built-in functions in variable replacing. These functions (not to be confused with Test Functions as enumerated in the next section) are listed below:</p> <p>This will set MY_DEFINES to the value of the evironment variable ENV_DEFINES as it parses the .pro file. Additionally you may call built-in functions in variable replacing. These functions (not to be confused with Test Functions as enumerated in the next section) are listed below:</p>
<h4><a name="4-1"></a>join( variablename, glue, before, after )</h4> <h4><a name="4-1"></a>join( variablename, glue, before, after )</h4>
<p>This will join the value of <em>variablename</em> with glue. If this value is non-empty it will prefix the value with <em>before</em> and suffix it with <em>after</em>. <em>variablename</em> is the only retquired field, the others will default to empty strings. If you need to encode spaces in <em>glue</em>, <em>before</em>, or <em>after</em> you must quote them.</p> <p>This will join the value of <em>variablename</em> with glue. If this value is non-empty it will prefix the value with <em>before</em> and suffix it with <em>after</em>. <em>variablename</em> is the only required field, the others will default to empty strings. If you need to encode spaces in <em>glue</em>, <em>before</em>, or <em>after</em> you must quote them.</p>
<h4><a name="4-2"></a>prompt( question )</h4> <h4><a name="4-2"></a>prompt( question )</h4>
<p>This will display <em>question</em>, and read from stdin as a return value.</p> <p>This will display <em>question</em>, and read from stdin as a return value.</p>
<h4><a name="4-3"></a>member( variablename, position )</h4> <h4><a name="4-3"></a>member( variablename, position )</h4>
<p>This will place the value in <em>variablename</em> in position <em>position</em> of the list. If the value of <em>variablename</em> is not long this will return an empty string. <em>variablename</em> is the only retquired field, if not specified position will default to the first value in the list (0).</p> <p>This will place the value in <em>variablename</em> in position <em>position</em> of the list. If the value of <em>variablename</em> is not long this will return an empty string. <em>variablename</em> is the only required field, if not specified position will default to the first value in the list (0).</p>
<h4><a name="4-4"></a>find( variablename, substr )</h4> <h4><a name="4-4"></a>find( variablename, substr )</h4>
<p>This will place all the values in <em>variablename</em> that match <em>substr</em>. <em>substr</em> may be a regular expression as well, and will be matched accordingly.</p> <p>This will place all the values in <em>variablename</em> that match <em>substr</em>. <em>substr</em> may be a regular expression as well, and will be matched accordingly.</p>
<pre> <pre>

@ -97,8 +97,8 @@ qmake [options] files
<li><p>warn_on - The compiler should emit more warnings than normally, ignored if "warn_off" is specified</p> <li><p>warn_on - The compiler should emit more warnings than normally, ignored if "warn_off" is specified</p>
<li><p>warn_off - The compiler should only emit severe warnings.</p> <li><p>warn_off - The compiler should only emit severe warnings.</p>
</ul><p>These options define the application/library type:</p> </ul><p>These options define the application/library type:</p>
<ul><li><p>qt - The target is a TQt application/library and retquires the TQt header files/library. The proper include and library paths for the TQt library will automatically be added to the project.</p> <ul><li><p>qt - The target is a TQt application/library and requires the TQt header files/library. The proper include and library paths for the TQt library will automatically be added to the project.</p>
<li><p>opengl - The target retquires the OpenGL (or Mesa) headers/libraries. The proper include and library paths for these libraries will automatically be added to the project.</p> <li><p>opengl - The target requires the OpenGL (or Mesa) headers/libraries. The proper include and library paths for these libraries will automatically be added to the project.</p>
<li><p>thread - The target is a multi-threaded application or library. The proper defines and compiler flags will automatically be added to the project.</p> <li><p>thread - The target is a multi-threaded application or library. The proper defines and compiler flags will automatically be added to the project.</p>
<li><p>x11 - The target is a X11 application or library. The proper include paths and libraries will automatically be added to the project.</p> <li><p>x11 - The target is a X11 application or library. The proper include paths and libraries will automatically be added to the project.</p>
<li><p>windows - The target is a Win32 window application (app only). The proper include paths,compiler flags and libraries will automatically be added to the project.</p> <li><p>windows - The target is a Win32 window application (app only). The proper include paths,compiler flags and libraries will automatically be added to the project.</p>
@ -141,7 +141,7 @@ DEFINES += USE_MY_STUFF QT_DLL
<p>Specifies where to copy the <a href="qmake-manual-8.html#TARGET">target</a> dll.</p> <p>Specifies where to copy the <a href="qmake-manual-8.html#TARGET">target</a> dll.</p>
<a name="HEADERS"></a><h5><a name="4-1-6"></a>HEADERS</h5> <a name="HEADERS"></a><h5><a name="4-1-6"></a>HEADERS</h5>
<p>Defines the header files for the project.</p> <p>Defines the header files for the project.</p>
<p><em>qmake</em> will generate dependency information (unless -nodepend is specified on the <a href="qmake-manual-8.html#Commands">command line</a>) for the specified headers. <em>qmake</em> will also automatically detect if <em>moc</em> is retquired by the classes in these headers, and add the appropriate dependencies and files to the project for generating and linking the moc files.</p> <p><em>qmake</em> will generate dependency information (unless -nodepend is specified on the <a href="qmake-manual-8.html#Commands">command line</a>) for the specified headers. <em>qmake</em> will also automatically detect if <em>moc</em> is required by the classes in these headers, and add the appropriate dependencies and files to the project for generating and linking the moc files.</p>
<p>For example:</p> <p>For example:</p>
<pre> <pre>
HEADERS = myclass.h \ HEADERS = myclass.h \
@ -156,7 +156,7 @@ HEADERS = myclass.h \
INCLUDEPATH = c:\msdev\include d:\stl\include INCLUDEPATH = c:\msdev\include d:\stl\include
</pre> </pre>
<a name="FORMS"></a><h5><a name="4-1-8"></a>FORMS</h5> <a name="FORMS"></a><h5><a name="4-1-8"></a>FORMS</h5>
<p>This variable specifies the .ui files (see <a href="designer-manual.html">TQt Designer</a>) to be processed through <em>uic</em> before compiling. All dependencies, headers and source files retquired to build these .ui files will automatically be added to the project.</p> <p>This variable specifies the .ui files (see <a href="designer-manual.html">TQt Designer</a>) to be processed through <em>uic</em> before compiling. All dependencies, headers and source files required to build these .ui files will automatically be added to the project.</p>
<p>For example:</p> <p>For example:</p>
<pre> <pre>
FORMS = mydialog.ui \ FORMS = mydialog.ui \
@ -303,7 +303,7 @@ message($$join(urlPieces, $$LITERAL_HASH))
<a name="PRECOMPILED_HEADER"></a><h5><a name="4-2-10"></a>PRECOMPILED_HEADER</h5> <a name="PRECOMPILED_HEADER"></a><h5><a name="4-2-10"></a>PRECOMPILED_HEADER</h5>
<p>This variable indicates the header file for creating a precompiled header file, to increase the compilation speed of a project. Precompiled headers are currently only supported on some platforms (Windows - all MSVC project types, Mac OS X - Xcode, Makefile, UNIX - gcc 3.3 and up).</p> <p>This variable indicates the header file for creating a precompiled header file, to increase the compilation speed of a project. Precompiled headers are currently only supported on some platforms (Windows - all MSVC project types, Mac OS X - Xcode, Makefile, UNIX - gcc 3.3 and up).</p>
<p>On other platforms, this variable has different meaning, as noted below.</p> <p>On other platforms, this variable has different meaning, as noted below.</p>
<p>This variable contains a list of header files that retquire some sort of pre-compilation step (such as with moc). The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p> <p>This variable contains a list of header files that require some sort of pre-compilation step (such as with moc). The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p>
<a name="QMAKE"></a><h5><a name="4-2-11"></a>QMAKE</h5> <a name="QMAKE"></a><h5><a name="4-2-11"></a>QMAKE</h5>
<p>This variable contains the name of the <em>qmake</em> program itself and is placed in generated makefiles. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p> <p>This variable contains the name of the <em>qmake</em> program itself and is placed in generated makefiles. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p>
<a name="QMAKESPEC_systemvariable"></a><h5><a name="4-2-12"></a>QMAKESPEC</h5> <a name="QMAKESPEC_systemvariable"></a><h5><a name="4-2-12"></a>QMAKESPEC</h5>
@ -370,7 +370,7 @@ app {
<a name="QMAKE_EXTENSION_SHLIB"></a><h5><a name="4-2-37"></a>QMAKE_EXTENSION_SHLIB</h5> <a name="QMAKE_EXTENSION_SHLIB"></a><h5><a name="4-2-37"></a>QMAKE_EXTENSION_SHLIB</h5>
<p>This variable contains the extention for shared libraries. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p> <p>This variable contains the extention for shared libraries. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p>
<a name="QMAKE_FAILED_RETQUIREMENTS"></a><h5><a name="4-2-38"></a>QMAKE_FAILED_RETQUIREMENTS</h5> <a name="QMAKE_FAILED_RETQUIREMENTS"></a><h5><a name="4-2-38"></a>QMAKE_FAILED_RETQUIREMENTS</h5>
<p>This variable contains the list of retquirements that were failed to be met when <em>qmake</em> was used. For example, the sql module is needed and wasn't compiled into TQt. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p> <p>This variable contains the list of requirements that were failed to be met when <em>qmake</em> was used. For example, the sql module is needed and wasn't compiled into TQt. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p>
<a name="QMAKE_FILETAGS"></a><h5><a name="4-2-39"></a>QMAKE_FILETAGS</h5> <a name="QMAKE_FILETAGS"></a><h5><a name="4-2-39"></a>QMAKE_FILETAGS</h5>
<p>This variable contains the file tags needed to be entered into the makefile, such as SOURCES and HEADERS. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p> <p>This variable contains the file tags needed to be entered into the makefile, such as SOURCES and HEADERS. The value of this variable is typically handled by <em>qmake</em> or <a href="qmake-manual-8.html#QMAKESPEC">qmake.conf</a> and rarely needs to be modified.</p>
<a name="QMAKE_INCDIR"></a><h5><a name="4-2-40"></a>QMAKE_INCDIR</h5> <a name="QMAKE_INCDIR"></a><h5><a name="4-2-40"></a>QMAKE_INCDIR</h5>
@ -642,7 +642,7 @@ QMAKE_VERS = $$[QMAKE_VERSION]
</pre> </pre>
<a name="Environment"></a><h3><a name="7"></a>Environment Variables and Configuration</h3> <a name="Environment"></a><h3><a name="7"></a>Environment Variables and Configuration</h3>
<a name="QMAKESPEC"></a><h4><a name="7-1"></a>QMAKESPEC</h4> <a name="QMAKESPEC"></a><h4><a name="7-1"></a>QMAKESPEC</h4>
<p><em>qmake</em> retquires a platform and compiler description file which contains many default values used to generate appropriate makefiles. The standard TQt distribution comes with many of these files, located in the 'mkspecs' subdirectory of the TQt installation.</p> <p><em>qmake</em> requires a platform and compiler description file which contains many default values used to generate appropriate makefiles. The standard TQt distribution comes with many of these files, located in the 'mkspecs' subdirectory of the TQt installation.</p>
<p>The QMAKESPEC environment variable can contain any of the following:</p> <p>The QMAKESPEC environment variable can contain any of the following:</p>
<ul><li><p>A complete path to a directory containing a qmake.conf file. In this case <em>qmake</em> will open the qmake.conf file from within that directory. If the file does not exist, <em>qmake</em> will exit with an error.</p> <ul><li><p>A complete path to a directory containing a qmake.conf file. In this case <em>qmake</em> will open the qmake.conf file from within that directory. If the file does not exist, <em>qmake</em> will exit with an error.</p>
<li><p>The name of a platform-compiler combination. In this case, <em>qmake</em> will search in the directory specified by the QTDIR environment variable.</p> <li><p>The name of a platform-compiler combination. In this case, <em>qmake</em> will search in the directory specified by the QTDIR environment variable.</p>
@ -657,7 +657,7 @@ QMAKE_VERS = $$[QMAKE_VERSION]
<pre> <pre>
INSTALLS += documentation INSTALLS += documentation
</pre> </pre>
<p>Now <em>qmake</em> will take over making sure the correct things are copied to the specified places. If however you retquire greater control you may use the 'extra' member of the object:</p> <p>Now <em>qmake</em> will take over making sure the correct things are copied to the specified places. If however you require greater control you may use the 'extra' member of the object:</p>
<pre> <pre>
unix:documentation.extra = create_docs; mv master.doc toc.doc unix:documentation.extra = create_docs; mv master.doc toc.doc
</pre> </pre>
@ -670,7 +670,7 @@ QMAKE_VERS = $$[QMAKE_VERSION]
<a name="cache"></a><h4><a name="7-3"></a>Cache File</h4> <a name="cache"></a><h4><a name="7-3"></a>Cache File</h4>
<p>The cache file (mentioned above in the options) is a special file <em>qmake</em> will read to find settings not specified in the <tt>qmake.conf</tt> file, the .pro file, or the command line. If <tt>-nocache</tt> is not specified, <em>qmake</em> will try to find a file called <tt>.qmake.cache</tt> in parent directories. If it fails to find this file, it will silently ignore this step of processing.</p> <p>The cache file (mentioned above in the options) is a special file <em>qmake</em> will read to find settings not specified in the <tt>qmake.conf</tt> file, the .pro file, or the command line. If <tt>-nocache</tt> is not specified, <em>qmake</em> will try to find a file called <tt>.qmake.cache</tt> in parent directories. If it fails to find this file, it will silently ignore this step of processing.</p>
<a name="LibDepend"></a><h4><a name="7-4"></a>Library Dependencies</h4> <a name="LibDepend"></a><h4><a name="7-4"></a>Library Dependencies</h4>
<p>Often when linking against a library <em>qmake</em> relies on the underlying platform to know what other libraries this library links against, and lets the platform pull them in. In many cases, however, this is not sufficent. For example when statically linking a library there are no libraries linked against, and therefore no dependencies to those libraries are created - however an application that later links against this library will need to know where to find the symbols that the linked in library will retquire. To help with this situation <em>qmake</em> will follow a library's dependencies when it feels appropriate, however this behaviour must be enabled in <em>qmake</em>. To enable retquires two steps. First, you must enable it in the library - to do this you must tell <em>qmake</em> to save information about this library:</p> <p>Often when linking against a library <em>qmake</em> relies on the underlying platform to know what other libraries this library links against, and lets the platform pull them in. In many cases, however, this is not sufficent. For example when statically linking a library there are no libraries linked against, and therefore no dependencies to those libraries are created - however an application that later links against this library will need to know where to find the symbols that the linked in library will require. To help with this situation <em>qmake</em> will follow a library's dependencies when it feels appropriate, however this behaviour must be enabled in <em>qmake</em>. To enable requires two steps. First, you must enable it in the library - to do this you must tell <em>qmake</em> to save information about this library:</p>
<pre> <pre>
CONFIG += create_prl CONFIG += create_prl
</pre> </pre>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -128,7 +128,7 @@ any arguments.
<p> Note that C++ defaults to field-by-field assignment operators and <p> Note that C++ defaults to field-by-field assignment operators and
copy constructors if no explicit version is supplied. In many copy constructors if no explicit version is supplied. In many
cases, this is sufficient. cases, this is sufficient.
<p> The class used for the key retquires that the <tt>operator&lt;</tt> is <p> The class used for the key requires that the <tt>operator&lt;</tt> is
implemented to define ordering of the keys. implemented to define ordering of the keys.
<p> TQMap's function naming is consistent with the other TQt classes <p> TQMap's function naming is consistent with the other TQt classes
(e.g., <a href="#count">count</a>(), <a href="#isEmpty">isEmpty</a>()). TQMap also provides extra functions for (e.g., <a href="#count">count</a>(), <a href="#isEmpty">isEmpty</a>()). TQMap also provides extra functions for

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -108,7 +108,7 @@ to the contained items.
reference count. If more than one array shares common data and one reference count. If more than one array shares common data and one
of the arrays is modified, all the arrays are modified. of the arrays is modified, all the arrays are modified.
<p> The benefit of sharing is that a program does not need to duplicate <p> The benefit of sharing is that a program does not need to duplicate
data when it is not retquired, which results in lower memory use data when it is not required, which results in lower memory use
and less copying of data. and less copying of data.
<p> An alternative to TQMemArray is <a href="qvaluevector.html">TQValueVector</a>. The TQValueVector class <p> An alternative to TQMemArray is <a href="qvaluevector.html">TQValueVector</a>. The TQValueVector class
also provides an array of objects, but can deal with objects that also provides an array of objects, but can deal with objects that
@ -193,7 +193,7 @@ be resized with <a href="#resize">resize</a>() and filled using <a href="#fill">
<p> Search for values in the array with <a href="#find">find</a>() and <a href="#contains">contains</a>(). For <p> Search for values in the array with <a href="#find">find</a>() and <a href="#contains">contains</a>(). For
sorted arrays (see <a href="#sort">sort</a>()) you can search using <a href="#bsearch">bsearch</a>(). sorted arrays (see <a href="#sort">sort</a>()) you can search using <a href="#bsearch">bsearch</a>().
<p> You can set the data directly using <a href="#setRawData">setRawData</a>() and <p> You can set the data directly using <a href="#setRawData">setRawData</a>() and
<a href="#resetRawData">resetRawData</a>(), although this retquires care. <a href="#resetRawData">resetRawData</a>(), although this requires care.
<p> <p>See also <a href="shclass.html">Shared Classes</a> and <a href="tools.html">Non-GUI Classes</a>. <p> <p>See also <a href="shclass.html">Shared Classes</a> and <a href="tools.html">Non-GUI Classes</a>.
<hr><h2>Member Type Documentation</h2> <hr><h2>Member Type Documentation</h2>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -248,7 +248,7 @@ private: // Disabled copy constructor and operator=
TQString sq=TQString::fromLatin1(qVersion()); if ( (sq.section('.',0,0).toInt()&lt;&lt;16)+\ TQString sq=TQString::fromLatin1(qVersion()); if ( (sq.section('.',0,0).toInt()&lt;&lt;16)+\
(sq.section('.',1,1).toInt()&lt;&lt;8)+sq.section('.',2,2).toInt()&lt;(s.section('.',0,0).toInt()&lt;&lt;16)+\ (sq.section('.',1,1).toInt()&lt;&lt;8)+sq.section('.',2,2).toInt()&lt;(s.section('.',0,0).toInt()&lt;&lt;16)+\
(s.section('.',1,1).toInt()&lt;&lt;8)+s.section('.',2,2).toInt() ){if ( !qApp){ int c=0; new \ (s.section('.',1,1).toInt()&lt;&lt;8)+s.section('.',2,2).toInt() ){if ( !qApp){ int c=0; new \
TQApplication(argc,argv);} TQString s = TQApplication::tr("Executable '%1' retquires TQt "\ TQApplication(argc,argv);} TQString s = TQApplication::tr("Executable '%1' requires TQt "\
"%2, found TQt %3.").arg(TQString::fromLatin1(qAppName())).arg(TQString::fromLatin1(\ "%2, found TQt %3.").arg(TQString::fromLatin1(qAppName())).arg(TQString::fromLatin1(\
str)).arg(TQString::fromLatin1(qVersion()) ); TQMessageBox::critical( 0, TQApplication::tr(\ str)).arg(TQString::fromLatin1(qVersion()) ); TQMessageBox::critical( 0, TQApplication::tr(\
"Incompatible TQt Library Error" ), s, TQMessageBox::Abort,0 ); qFatal(s.ascii()); }} "Incompatible TQt Library Error" ), s, TQMessageBox::Abort,0 ); qFatal(s.ascii()); }}

@ -622,7 +622,7 @@ See the <a href="qmessagebox.html#textFormat-prop">"textFormat"</a> property for
</h3> </h3>
Returns the pixmap used for a standard icon. This allows the Returns the pixmap used for a standard icon. This allows the
pixmaps to be used in more complex message boxes. <em>icon</em> pixmaps to be used in more complex message boxes. <em>icon</em>
specifies the retquired icon, e.g. TQMessageBox::Question, specifies the required icon, e.g. TQMessageBox::Question,
TQMessageBox::Information, TQMessageBox::Warning or TQMessageBox::Information, TQMessageBox::Warning or
TQMessageBox::Critical. TQMessageBox::Critical.
@ -631,7 +631,7 @@ TQMessageBox::Critical.
<b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> Returns the pixmap used for a standard icon. This <p> Returns the pixmap used for a standard icon. This
allows the pixmaps to be used in more complex message boxes. allows the pixmaps to be used in more complex message boxes.
<em>icon</em> specifies the retquired icon, e.g. TQMessageBox::Information, <em>icon</em> specifies the required icon, e.g. TQMessageBox::Information,
TQMessageBox::Warning or TQMessageBox::Critical. TQMessageBox::Warning or TQMessageBox::Critical.
<p> <em>style</em> is unused. <p> <em>style</em> is unused.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -62,7 +62,7 @@ The TQMetaObject class contains meta information about TQt objects.
slots inter-object communication mechanism, runtime type slots inter-object communication mechanism, runtime type
information and the property system. All meta information in TQt is information and the property system. All meta information in TQt is
kept in a single instance of TQMetaObject per class. kept in a single instance of TQMetaObject per class.
<p> This class is not normally retquired for application programming. <p> This class is not normally required for application programming.
But if you write meta applications, such as scripting engines or But if you write meta applications, such as scripting engines or
GUI builders, you might find these functions useful: GUI builders, you might find these functions useful:
<ul> <ul>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -66,7 +66,7 @@ Motif-based dialog and a <a href="qwidget.html">TQWidget</a> parent, or the appl
programmer can use TQMotifDialog with a custom TQt-based dialog and programmer can use TQMotifDialog with a custom TQt-based dialog and
a Motif-based parent. Modality continues to work as expected. a Motif-based parent. Modality continues to work as expected.
<p> Motif-based dialogs must have a <tt>Shell</tt> widget parent with a <p> Motif-based dialogs must have a <tt>Shell</tt> widget parent with a
single child, due to retquirements of the Motif toolkit. The <tt>Shell</tt> widget, which is a special subclass of <tt>XmDialogShell</tt>, is single child, due to requirements of the Motif toolkit. The <tt>Shell</tt> widget, which is a special subclass of <tt>XmDialogShell</tt>, is
created during construction. It can be accessed using the <a href="#shell">shell</a>() created during construction. It can be accessed using the <a href="#shell">shell</a>()
member function. member function.
<p> The single child of the <tt>Shell</tt> can be accessed using the <p> The single child of the <tt>Shell</tt> can be accessed using the

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -100,13 +100,13 @@ input is determined as the input is decoded.
<p> The supported formats are MNG (if TQt is configured with MNG <p> The supported formats are MNG (if TQt is configured with MNG
support enabled) and GIF (if TQt is configured with GIF support support enabled) and GIF (if TQt is configured with GIF support
enabled, see qgif.h). enabled, see qgif.h).
<p> If TQt is configured to support GIF reading, we are retquired to <p> If TQt is configured to support GIF reading, we are required to
state that "The Graphics Interchange Format(c) is the Copyright state that "The Graphics Interchange Format(c) is the Copyright
property of CompuServe Incorporated. GIF(sm) is a Service Mark property of CompuServe Incorporated. GIF(sm) is a Service Mark
property of CompuServe Incorporated. property of CompuServe Incorporated.
<p> <b>Warning:</b> If you are in a country that recognizes software patents <p> <b>Warning:</b> If you are in a country that recognizes software patents
and in which Unisys holds a patent on LZW compression and/or and in which Unisys holds a patent on LZW compression and/or
decompression and you want to use GIF, Unisys may retquire you to decompression and you want to use GIF, Unisys may require you to
license that technology. Such countries include Canada, Japan, license that technology. Such countries include Canada, Japan,
the USA, France, Germany, Italy and the UK. the USA, France, Germany, Italy and the UK.
<p> GIF support may be removed completely in a future version of TQt. <p> GIF support may be removed completely in a future version of TQt.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -113,7 +113,7 @@ All functions (<a href="#numLines">numLines</a>(), <a href="#textLine">textLine<
operate on paragraphs. Further, getString() has been removed completely. operate on paragraphs. Further, getString() has been removed completely.
It revealed too much of the internal data structure. It revealed too much of the internal data structure.
<p> Applications which made normal and reasonable use of TQMultiLineEdit <p> Applications which made normal and reasonable use of TQMultiLineEdit
should still work without problems. Some odd usage will retquire some should still work without problems. Some odd usage will require some
porting. In these cases, it may be better to use <a href="qtextedit.html">TQTextEdit</a> now. porting. In these cases, it may be better to use <a href="qtextedit.html">TQTextEdit</a> now.
<p> <img src=qmlined-m.png> <img src=qmlined-w.png> <p> <img src=qmlined-m.png> <img src=qmlined-w.png>
<p> <p>See also <a href="qtextedit.html">TQTextEdit</a> and <a href="advanced.html">Advanced Widgets</a>. <p> <p>See also <a href="qtextedit.html">TQTextEdit</a> and <a href="advanced.html">Advanced Widgets</a>.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -283,7 +283,7 @@ public:
// Image conversion flags. The unusual ordering is caused by // Image conversion flags. The unusual ordering is caused by
// compatibility and default retquirements. // compatibility and default requirements.
// Documented in qimage.cpp // Documented in qimage.cpp
enum ImageConversionFlags { enum ImageConversionFlags {

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -79,7 +79,7 @@ The TQNPInstance class provides a <a href="qobject.html">TQObject</a> that is a
<p> Deriving from TQNPInstance creates an object that represents a <p> Deriving from TQNPInstance creates an object that represents a
single <tt>&lt;EMBED&gt;</tt> tag in an HTML document. single <tt>&lt;EMBED&gt;</tt> tag in an HTML document.
<p> The TQNPInstance is responsible for creating an appropriate <p> The TQNPInstance is responsible for creating an appropriate
<a href="qnpwidget.html">TQNPWidget</a> window if retquired (not all plugins have windows), and <a href="qnpwidget.html">TQNPWidget</a> window if required (not all plugins have windows), and
for interacting with the input/output facilities intrinsic to for interacting with the input/output facilities intrinsic to
plugins. plugins.
<p> Note that there is <em>absolutely no guarantee</em> regarding the order <p> Note that there is <em>absolutely no guarantee</em> regarding the order
@ -172,7 +172,7 @@ object of the <a href="qnplugin.html#getJavaClass">plugin's Java
class</a>, or 0 if the plug-in does not have a Java class, class</a>, or 0 if the plug-in does not have a Java class,
Java is disabled, or an error occurred. Java is disabled, or an error occurred.
<p> The return value is actually a <tt>jref</tt> we use <tt>void*</tt> so as to <p> The return value is actually a <tt>jref</tt> we use <tt>void*</tt> so as to
avoid burdening plugins which do not retquire Java. avoid burdening plugins which do not require Java.
<p> <p>See also <a href="qnplugin.html#getJavaClass">TQNPlugin::getJavaClass</a>() and <a href="qnplugin.html#getJavaEnv">TQNPlugin::getJavaEnv</a>(). <p> <p>See also <a href="qnplugin.html#getJavaClass">TQNPlugin::getJavaClass</a>() and <a href="qnplugin.html#getJavaEnv">TQNPlugin::getJavaEnv</a>().
<h3 class=fn>void <a name="getURL"></a>TQNPInstance::getURL ( const&nbsp;char&nbsp;*&nbsp;url, const&nbsp;char&nbsp;*&nbsp;window = 0 ) <h3 class=fn>void <a name="getURL"></a>TQNPInstance::getURL ( const&nbsp;char&nbsp;*&nbsp;url, const&nbsp;char&nbsp;*&nbsp;window = 0 )
@ -206,7 +206,7 @@ NPN_NewStream function of the <a href="netscape-plugin.html#Netscape">Netscape</
<p> This function is called when a new stream has been created. The <p> This function is called when a new stream has been created. The
instance should return TRUE if it accepts the processing of the instance should return TRUE if it accepts the processing of the
stream. If the instance retquires the stream as a file, it should stream. If the instance requires the stream as a file, it should
set <em>smode</em> to <a href="#StreamMode-enum">AsFileOnly</a>, in which case the data will be set <em>smode</em> to <a href="#StreamMode-enum">AsFileOnly</a>, in which case the data will be
delivered some time later to the <a href="#streamAsFile">streamAsFile</a>() function. delivered some time later to the <a href="#streamAsFile">streamAsFile</a>() function.
Otherwise, the data will be delivered in chunks to the <a href="#write">write</a>() Otherwise, the data will be delivered in chunks to the <a href="#write">write</a>()
@ -219,8 +219,8 @@ by the most recent call to <a href="#writeReady">writeReady</a>().
<h3 class=fn><a href="qnpwidget.html">TQNPWidget</a>&nbsp;* <a name="newWindow"></a>TQNPInstance::newWindow ()<tt> [virtual]</tt> <h3 class=fn><a href="qnpwidget.html">TQNPWidget</a>&nbsp;* <a name="newWindow"></a>TQNPInstance::newWindow ()<tt> [virtual]</tt>
</h3> </h3>
Called at most once, at some time after the TQNPInstance is Called at most once, at some time after the TQNPInstance is
created. If the plugin retquires a window, this function should created. If the plugin requires a window, this function should
return a derived class of <a href="qnpwidget.html">TQNPWidget</a> that provides the retquired return a derived class of <a href="qnpwidget.html">TQNPWidget</a> that provides the required
interface. interface.
<p>Example: <a href="grapher-nsplugin-example.html#x2751">grapher/grapher.cpp</a>. <p>Example: <a href="grapher-nsplugin-example.html#x2751">grapher/grapher.cpp</a>.

@ -107,7 +107,7 @@ the plugin. The default returns 0, indicating no class.
<p> If you override this class, you must also override <p> If you override this class, you must also override
<a href="#unuseJavaClass">TQNPlugin::unuseJavaClass</a>(). <a href="#unuseJavaClass">TQNPlugin::unuseJavaClass</a>().
<p> The return value is actually a <tt>jref</tt>; we use <tt>void*</tt> so as to <p> The return value is actually a <tt>jref</tt>; we use <tt>void*</tt> so as to
avoid burdening plugins which do not retquire Java. avoid burdening plugins which do not require Java.
<p> <p>See also <a href="#getJavaEnv">getJavaEnv</a>() and <a href="qnpinstance.html#getJavaPeer">TQNPInstance::getJavaPeer</a>(). <p> <p>See also <a href="#getJavaEnv">getJavaEnv</a>() and <a href="qnpinstance.html#getJavaPeer">TQNPInstance::getJavaPeer</a>().
<h3 class=fn>void * <a name="getJavaEnv"></a>TQNPlugin::getJavaEnv () const <h3 class=fn>void * <a name="getJavaEnv"></a>TQNPlugin::getJavaEnv () const
@ -115,7 +115,7 @@ avoid burdening plugins which do not retquire Java.
Returns a pointer to the Java execution environment, or 0 if Returns a pointer to the Java execution environment, or 0 if
either Java is disabled or an error occurred. either Java is disabled or an error occurred.
<p> The return value is actually a <tt>JRIEnv*</tt>; we use <tt>void*</tt> so as <p> The return value is actually a <tt>JRIEnv*</tt>; we use <tt>void*</tt> so as
to avoid burdening plugins which do not retquire Java. to avoid burdening plugins which do not require Java.
<p> <p>See also <a href="#getJavaClass">getJavaClass</a>() and <a href="qnpinstance.html#getJavaPeer">TQNPInstance::getJavaPeer</a>(). <p> <p>See also <a href="#getJavaClass">getJavaClass</a>() and <a href="qnpinstance.html#getJavaPeer">TQNPInstance::getJavaPeer</a>().
<h3 class=fn>const char * <a name="getMIMEDescription"></a>TQNPlugin::getMIMEDescription () const<tt> [pure virtual]</tt> <h3 class=fn>const char * <a name="getMIMEDescription"></a>TQNPlugin::getMIMEDescription () const<tt> [pure virtual]</tt>

@ -93,7 +93,7 @@ Creates a TQNPWidget.
<h3 class=fn><a name="~TQNPWidget"></a>TQNPWidget::~TQNPWidget () <h3 class=fn><a name="~TQNPWidget"></a>TQNPWidget::~TQNPWidget ()
</h3> </h3>
Destroys the window. This will be called by the plugin binding Destroys the window. This will be called by the plugin binding
code when the window is no longer retquired. The web browser will code when the window is no longer required. The web browser will
delete windows when they leave the page. The bindings will change delete windows when they leave the page. The bindings will change
the <a href="qwidget.html#winId">TQWidget::winId</a>() of the window when the window is resized, but the <a href="qwidget.html#winId">TQWidget::winId</a>() of the window when the window is resized, but
this should not affect normal widget behavior. this should not affect normal widget behavior.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -686,7 +686,7 @@ by you, which is often not what you want. We recommend using a
TQObject, e.g. class name, superclass name, properties, signals and TQObject, e.g. class name, superclass name, properties, signals and
slots. Every class that contains the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro will also have slots. Every class that contains the <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> macro will also have
a meta object. a meta object.
<p> The meta object information is retquired by the signal/slot <p> The meta object information is required by the signal/slot
connection mechanism and the property system. The functions <a href="#isA">isA</a>() connection mechanism and the property system. The functions <a href="#isA">isA</a>()
and <a href="#inherits">inherits</a>() also make use of the meta object. and <a href="#inherits">inherits</a>() also make use of the meta object.

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -127,7 +127,7 @@ is implemented as the global function <a href="#bitBlt">bitBlt</a>().
<a href="#bitBlt">bitBlt</a>( myWidget, 10, 0, myWidget ); <a href="#bitBlt">bitBlt</a>( myWidget, 10, 0, myWidget );
</pre> </pre>
<p> <b>Warning:</b> TQt retquires that a <a href="qapplication.html">TQApplication</a> object exists before <p> <b>Warning:</b> TQt requires that a <a href="qapplication.html">TQApplication</a> object exists before
any paint devices can be created. Paint devices access window any paint devices can be created. Paint devices access window
system resources, and these resources are not initialized before system resources, and these resources are not initialized before
an application object is created. an application object is created.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -192,7 +192,7 @@ The TQPainter class does low-level painting e.g. on widgets.
<p> The painter provides highly optimized functions to do most of the <p> The painter provides highly optimized functions to do most of the
drawing GUI programs retquire. TQPainter can draw everything from drawing GUI programs require. TQPainter can draw everything from
simple lines to complex shapes like pies and chords. It can also simple lines to complex shapes like pies and chords. It can also
draw aligned text and pixmaps. Normally, it draws in a "natural" draw aligned text and pixmaps. Normally, it draws in a "natural"
coordinate system, but it can also do view and world coordinate system, but it can also do view and world
@ -468,7 +468,7 @@ printed with the corresponding <a href="#drawText">drawText</a>() function using
<em>len</em> characters of the string if <em>len</em> is > -1, or the whole of <em>len</em> characters of the string if <em>len</em> is > -1, or the whole of
the string if <em>len</em> is -1. The drawing, and hence the bounding the string if <em>len</em> is -1. The drawing, and hence the bounding
rectangle, is constrained to the rectangle that begins at point <em>(x, y)</em> with width <em>w</em> and hight <em>h</em>, or to the rectangle, is constrained to the rectangle that begins at point <em>(x, y)</em> with width <em>w</em> and hight <em>h</em>, or to the
rectangle retquired to draw the text, whichever is the larger. rectangle required to draw the text, whichever is the larger.
<p> The <em>flags</em> argument is <p> The <em>flags</em> argument is
the bitwise OR of the following flags: the bitwise OR of the following flags:
<center><table cellpadding="4" cellspacing="2" border="0"> <center><table cellpadding="4" cellspacing="2" border="0">
@ -501,7 +501,7 @@ printed with the corresponding <a href="#drawText">drawText</a>() function using
<em>len</em> characters from <em>str</em> if <em>len</em> is > -1, or the whole of <em>len</em> characters from <em>str</em> if <em>len</em> is > -1, or the whole of
<em>str</em> if <em>len</em> is -1. The drawing, and hence the bounding <em>str</em> if <em>len</em> is -1. The drawing, and hence the bounding
rectangle, is constrained to the rectangle <em>r</em>, or to the rectangle, is constrained to the rectangle <em>r</em>, or to the
rectangle retquired to draw the text, whichever is the larger. rectangle required to draw the text, whichever is the larger.
<p> The <em>internal</em> parameter should not be used. <p> The <em>internal</em> parameter should not be used.
<p> <p>See also <a href="#drawText">drawText</a>(), <a href="#fontMetrics">fontMetrics</a>(), <a href="qfontmetrics.html#boundingRect">TQFontMetrics::boundingRect</a>(), and <a href="qt.html#TextFlags-enum">TQt::TextFlags</a>. <p> <p>See also <a href="#drawText">drawText</a>(), <a href="#fontMetrics">fontMetrics</a>(), <a href="qfontmetrics.html#boundingRect">TQFontMetrics::boundingRect</a>(), and <a href="qt.html#TextFlags-enum">TQt::TextFlags</a>.

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -177,7 +177,7 @@ TQPicture format. Specifying the <em>format</em> string is optional and
is only needed for importing picture data stored in a different is only needed for importing picture data stored in a different
format. format.
<p> Currently, the only external format supported is the <a href="http://www.w3.org/Graphics/SVG/">W3C SVG</a> format which <p> Currently, the only external format supported is the <a href="http://www.w3.org/Graphics/SVG/">W3C SVG</a> format which
retquires the <a href="xml.html">TQt XML module</a>. The requires the <a href="xml.html">TQt XML module</a>. The
corresponding <em>format</em> string is "svg". corresponding <em>format</em> string is "svg".
<p> <p>See also <a href="#save">save</a>(). <p> <p>See also <a href="#save">save</a>().
@ -217,7 +217,7 @@ recommended unless you intend to export the picture data for
use by a third party reader. By default the data will be saved in use by a third party reader. By default the data will be saved in
the native TQPicture file format. the native TQPicture file format.
<p> Currently, the only external format supported is the <a href="http://www.w3.org/Graphics/SVG/">W3C SVG</a> format which <p> Currently, the only external format supported is the <a href="http://www.w3.org/Graphics/SVG/">W3C SVG</a> format which
retquires the <a href="xml.html">TQt XML module</a>. The requires the <a href="xml.html">TQt XML module</a>. The
corresponding <em>format</em> string is "svg". corresponding <em>format</em> string is "svg".
<p> <p>See also <a href="#load">load</a>(). <p> <p>See also <a href="#load">load</a>().

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -57,7 +57,7 @@ image from a sequence of TQImages.
</h3> </h3>
Creates an image packer that writes PNG data to IO device <em>iod</em> Creates an image packer that writes PNG data to IO device <em>iod</em>
using a <em>storage_depth</em> bit encoding (use 8 or 32, depending on using a <em>storage_depth</em> bit encoding (use 8 or 32, depending on
the desired quality and compression retquirements). the desired quality and compression requirements).
<p> If the image needs to be modified to fit in a lower-resolution <p> If the image needs to be modified to fit in a lower-resolution
result (e.g. converting from 32-bit to 8-bit), use the <em>conversionflags</em> to specify how you'd prefer this to happen. result (e.g. converting from 32-bit to 8-bit), use the <em>conversionflags</em> to specify how you'd prefer this to happen.
<p> <p>See also <a href="qt.html#ImageConversionFlags-enum">TQt::ImageConversionFlags</a>. <p> <p>See also <a href="qt.html#ImageConversionFlags-enum">TQt::ImageConversionFlags</a>.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -448,7 +448,7 @@ otherwise returns FALSE.
<p> Returns the number of copies to be printed. The default value is 1. <p> Returns the number of copies to be printed. The default value is 1.
<p> This value will return the number of times the application is <p> This value will return the number of times the application is
retquired to print in order to match the number specified in the required to print in order to match the number specified in the
printer setup dialog. This has been done since some printer printer setup dialog. This has been done since some printer
drivers are not capable of buffering up the copies and the drivers are not capable of buffering up the copies and the
application in those cases have to make an explicit call to the application in those cases have to make an explicit call to the

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -192,7 +192,7 @@ shell.
<p> Also note that TQProcess does not emulate a terminal. This means that <p> Also note that TQProcess does not emulate a terminal. This means that
certain programs which need direct terminal control, do not work as certain programs which need direct terminal control, do not work as
expected with TQProcess. Such programs include console email programs (like expected with TQProcess. Such programs include console email programs (like
pine and mutt) but also programs which retquire the user to enter a password pine and mutt) but also programs which require the user to enter a password
(like su and ssh). (like su and ssh).
<p> <h3> Notes for Windows users <p> <h3> Notes for Windows users
</h3> </h3>
@ -221,7 +221,7 @@ output.
its standard output are written to its standard output. (Like its standard output are written to its standard output. (Like
Unix's dup2().) This means that nothing is sent to the standard Unix's dup2().) This means that nothing is sent to the standard
error output. This is especially useful if your application error output. This is especially useful if your application
retquires that the output on standard output and on standard error requires that the output on standard output and on standard error
must be read in the same order that they are produced. This is a must be read in the same order that they are produced. This is a
flag, so to activate it you must pass <tt>Stdout|Stderr|DupStderr</tt>, flag, so to activate it you must pass <tt>Stdout|Stderr|DupStderr</tt>,
or <tt>Stdin|Stdout|Stderr|DupStderr</tt> if you want to provide input, or <tt>Stdin|Stdout|Stderr|DupStderr</tt> if you want to provide input,
@ -318,7 +318,7 @@ written to standard input.
<h3 class=fn>int <a name="communication"></a>TQProcess::communication () const <h3 class=fn>int <a name="communication"></a>TQProcess::communication () const
</h3> </h3>
Returns the communication retquired with the process, i.e. some Returns the communication required with the process, i.e. some
combination of the <a href="#Communication-enum">Communication</a> flags. combination of the <a href="#Communication-enum">Communication</a> flags.
<p> <p>See also <a href="#setCommunication">setCommunication</a>(). <p> <p>See also <a href="#setCommunication">setCommunication</a>().
@ -524,7 +524,7 @@ ending up with a list of filenames.
<h3 class=fn>void <a name="setCommunication"></a>TQProcess::setCommunication ( int&nbsp;commFlags ) <h3 class=fn>void <a name="setCommunication"></a>TQProcess::setCommunication ( int&nbsp;commFlags )
</h3> </h3>
Sets <em>commFlags</em> as the communication retquired with the process. Sets <em>commFlags</em> as the communication required with the process.
<p> <em>commFlags</em> is a bitwise OR of the flags defined by the <a href="#Communication-enum">Communication</a> enum. <p> <em>commFlags</em> is a bitwise OR of the flags defined by the <a href="#Communication-enum">Communication</a> enum.
<p> The default is <tt>Stdin|Stdout|Stderr</tt>. <p> The default is <tt>Stdin|Stdout|Stderr</tt>.
<p> <p>See also <a href="#communication">communication</a>(). <p> <p>See also <a href="#communication">communication</a>().

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -324,7 +324,7 @@ See the <a href="qprogressdialog.html#totalSteps-prop">"totalSteps"</a> property
<h3 class=fn><a href="qsize.html">TQSize</a> <a name="sizeHint"></a>TQProgressDialog::sizeHint () const<tt> [virtual]</tt> <h3 class=fn><a href="qsize.html">TQSize</a> <a name="sizeHint"></a>TQProgressDialog::sizeHint () const<tt> [virtual]</tt>
</h3> </h3>
Returns a size that fits the contents of the progress dialog. Returns a size that fits the contents of the progress dialog.
The progress dialog resizes itself as retquired, so you should not The progress dialog resizes itself as required, so you should not
need to call this yourself. need to call this yourself.
<h3 class=fn>int <a name="totalSteps"></a>TQProgressDialog::totalSteps () const <h3 class=fn>int <a name="totalSteps"></a>TQProgressDialog::totalSteps () const

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -68,7 +68,7 @@ etc. TQt also includes value based collections, e.g. <a href="qvaluelist.html">T
collection and the deletion strategy (see <a href="#setAutoDelete">setAutoDelete</a>()). collection and the deletion strategy (see <a href="#setAutoDelete">setAutoDelete</a>()).
<p> A collection is implemented using the <a href="#Item">Item</a> (generic collection <p> A collection is implemented using the <a href="#Item">Item</a> (generic collection
item) type, which is a <tt>void*</tt>. The template classes that create item) type, which is a <tt>void*</tt>. The template classes that create
the real collections cast the <a href="#Item">Item</a> to the retquired type. the real collections cast the <a href="#Item">Item</a> to the required type.
<p>See also <a href="collection.html">Collection Classes</a> and <a href="tools.html">Non-GUI Classes</a>. <p>See also <a href="collection.html">Collection Classes</a> and <a href="tools.html">Non-GUI Classes</a>.
<hr><h2>Member Type Documentation</h2> <hr><h2>Member Type Documentation</h2>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -288,7 +288,7 @@ reimplementations can return three values and use it to sort by:
<li> &gt; 0 (positive integer) if <em>item1</em> &gt; <em>item2</em> <li> &gt; 0 (positive integer) if <em>item1</em> &gt; <em>item2</em>
<li> &lt; 0 (negative integer) if <em>item1</em> &lt; <em>item2</em> <li> &lt; 0 (negative integer) if <em>item1</em> &lt; <em>item2</em>
</ul> </ul>
<p> <a href="#inSort">inSort</a>() retquires that <a href="#compareItems">compareItems</a>() is implemented as described <p> <a href="#inSort">inSort</a>() requires that <a href="#compareItems">compareItems</a>() is implemented as described
here. here.
<p> This function should not modify the list because some const <p> This function should not modify the list because some const
functions call compareItems(). functions call compareItems().

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -184,7 +184,7 @@ sort by:
<li> &gt; 0 (positive integer) if <em>d1</em> &gt; <em>d2</em> <li> &gt; 0 (positive integer) if <em>d1</em> &gt; <em>d2</em>
<li> &lt; 0 (negative integer) if <em>d1</em> &lt; <em>d2</em> <li> &lt; 0 (negative integer) if <em>d1</em> &lt; <em>d2</em>
</ul> </ul>
<p> The <a href="#sort">sort</a>() and <a href="#bsearch">bsearch</a>() functions retquire <a href="#compareItems">compareItems</a>() to be <p> The <a href="#sort">sort</a>() and <a href="#bsearch">bsearch</a>() functions require <a href="#compareItems">compareItems</a>() to be
implemented as described here. implemented as described here.
<p> This function should not modify the vector because some const <p> This function should not modify the vector because some const
functions call compareItems(). functions call compareItems().

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -159,7 +159,7 @@ maximum level of nesting it is possible to create a regexp that
will match correctly, but for an unknown level of nesting, regexps will match correctly, but for an unknown level of nesting, regexps
will fail. will fail.
<p> We'll start by writing a regexp to match integers in the range 0 <p> We'll start by writing a regexp to match integers in the range 0
to 99. We will retquire at least one digit so we will start with to 99. We will require at least one digit so we will start with
<b>[0-9]{1,1}</b> which means match a digit exactly once. This <b>[0-9]{1,1}</b> which means match a digit exactly once. This
regexp alone will match integers in the range 0 to 9. To match one regexp alone will match integers in the range 0 to 9. To match one
or two digits we can increase the maximum number of occurrences so or two digits we can increase the maximum number of occurrences so
@ -486,7 +486,7 @@ TQRegExp always signifies the end of the string.
<p> TQRegExp's quantifiers are the same as Perl's greedy quantifiers. <p> TQRegExp's quantifiers are the same as Perl's greedy quantifiers.
Non-greedy matching cannot be applied to individual quantifiers, Non-greedy matching cannot be applied to individual quantifiers,
but can be applied to all the quantifiers in the pattern. For but can be applied to all the quantifiers in the pattern. For
example, to match the Perl regexp <b>ro+?m</b> retquires: example, to match the Perl regexp <b>ro+?m</b> requires:
<pre> <pre>
TQRegExp rx( "ro+m" ); TQRegExp rx( "ro+m" );
rx.<a href="#setMinimal">setMinimal</a>( TRUE ); rx.<a href="#setMinimal">setMinimal</a>( TRUE );

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -137,7 +137,7 @@ public:
#elif defined(Q_WS_X11) #elif defined(Q_WS_X11)
Region handle() const { if(!data-&gt;rgn) updateX11Region(); return data-&gt;rgn; } Region handle() const { if(!data-&gt;rgn) updateX11Region(); return data-&gt;rgn; }
#elif defined(Q_WS_MAC) #elif defined(Q_WS_MAC)
RgnHandle handle(bool retquire_rgn=FALSE) const; RgnHandle handle(bool require_rgn=FALSE) const;
#elif defined(Q_WS_QWS) #elif defined(Q_WS_QWS)
// TQGfx_QWS needs this for region drawing // TQGfx_QWS needs this for region drawing
void * handle() const { return data-&gt;rgn; } void * handle() const { return data-&gt;rgn; }

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -548,7 +548,7 @@ Writes the boolean entry <em>value</em> into key <em>key</em>. The <em>key</em>
created if it doesn't exist. Any previous value is overwritten by <em>value</em>. created if it doesn't exist. Any previous value is overwritten by <em>value</em>.
<p> If an error occurs the settings are left unchanged and FALSE is <p> If an error occurs the settings are left unchanged and FALSE is
returned; otherwise TRUE is returned. returned; otherwise TRUE is returned.
<p> <b>Warning:</b> On certain platforms, keys are retquired to contain at least <p> <b>Warning:</b> On certain platforms, keys are required to contain at least
two components (e.g., "/foo/bar"). This limitation does not apply to two components (e.g., "/foo/bar"). This limitation does not apply to
TQt 4. TQt 4.
<p> <p>See also <a href="#readListEntry">readListEntry</a>(), <a href="#readNumEntry">readNumEntry</a>(), <a href="#readDoubleEntry">readDoubleEntry</a>(), <a href="#readBoolEntry">readBoolEntry</a>(), and <a href="#removeEntry">removeEntry</a>(). <p> <p>See also <a href="#readListEntry">readListEntry</a>(), <a href="#readNumEntry">readNumEntry</a>(), <a href="#readDoubleEntry">readDoubleEntry</a>(), <a href="#readBoolEntry">readBoolEntry</a>(), and <a href="#removeEntry">removeEntry</a>().

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -269,7 +269,7 @@ into the <a href="#State-enum">Connecting</a> state. Finally, when the connectio
succeeds, it emits <a href="#connected">connected</a>() and goes into the <a href="#State-enum">Connected</a> succeeds, it emits <a href="#connected">connected</a>() and goes into the <a href="#State-enum">Connected</a>
state. If there is an error at any point, it emits <a href="#error">error</a>(). state. If there is an error at any point, it emits <a href="#error">error</a>().
<p> <em>host</em> may be an IP address in string form, or it may be a DNS <p> <em>host</em> may be an IP address in string form, or it may be a DNS
name. TQSocket will do a normal DNS lookup if retquired. Note that name. TQSocket will do a normal DNS lookup if required. Note that
<em>port</em> is in native byte order, unlike some other libraries. <em>port</em> is in native byte order, unlike some other libraries.
<p> <p>See also <a href="#state">state</a>(). <p> <p>See also <a href="#state">state</a>().

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }
The TQSound class provides access to the platform audio facilities. The TQSound class provides access to the platform audio facilities.
<p> <p>
<p> TQt provides the most commonly retquired audio operation in GUI <p> TQt provides the most commonly required audio operation in GUI
applications: asynchronously playing a sound file. This is most applications: asynchronously playing a sound file. This is most
easily accomplished with a single call: easily accomplished with a single call:
<pre> <pre>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -148,7 +148,7 @@ edits. You can get a pointer to the edit buffer using
functions also return a pointer to the edit buffer and prepare it functions also return a pointer to the edit buffer and prepare it
for insert, update and delete respectively. Edit operations only for insert, update and delete respectively. Edit operations only
affect a single row at a time. Note that update() and del() affect a single row at a time. Note that update() and del()
retquire that the table or view contain a <a href="#primaryIndex">primaryIndex</a>() to ensure require that the table or view contain a <a href="#primaryIndex">primaryIndex</a>() to ensure
that edit operations affect a unique record within the database. that edit operations affect a unique record within the database.
<p> For example: <p> For example:
<p> <p>

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -562,7 +562,7 @@ database client used:
<li> connect_timeout <li> connect_timeout
<li> options <li> options
<li> tty <li> tty
<li> retquiressl <li> requiressl
<li> service <li> service
</ul> </ul>
<tr bgcolor="#a2c511"> <th valign="top">DB2 <th valign="top">OCI <th valign="top">TDS <tr bgcolor="#a2c511"> <th valign="top">DB2 <th valign="top">OCI <th valign="top">TDS
@ -588,7 +588,7 @@ database client used:
} }
... ...
// PostgreSQL connection // PostgreSQL connection
db-&gt;setConnectOptions( "retquiressl=1" ); // enable PostgreSQL SSL connections db-&gt;setConnectOptions( "requiressl=1" ); // enable PostgreSQL SSL connections
if ( !db-&gt;open() ) { if ( !db-&gt;open() ) {
db-&gt;setConnectOptions(); // clear options db-&gt;setConnectOptions(); // clear options
... ...
@ -627,7 +627,7 @@ entry in the ODBC manager:
... ...
</pre> </pre>
("FIL" is the retquired spelling in Microsoft's API.) ("FIL" is the required spelling in Microsoft's API.)
<p> There is no default value. <p> There is no default value.
<p>Set this property's value with <a href="#setDatabaseName">setDatabaseName</a>() and get this property's value with <a href="#databaseName">databaseName</a>(). <p>Set this property's value with <a href="#setDatabaseName">setDatabaseName</a>() and get this property's value with <a href="#databaseName">databaseName</a>().

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -76,7 +76,7 @@ automatically when it is no longer used.
</h3> </h3>
<p> Creates and returns a <a href="qsqldriver.html">TQSqlDriver</a> object for the driver key <em>key</em>. <p> Creates and returns a <a href="qsqldriver.html">TQSqlDriver</a> object for the driver key <em>key</em>.
The driver key is usually the class name of the retquired driver. The driver key is usually the class name of the required driver.
<p> <p>See also <a href="#keys">keys</a>(). <p> <p>See also <a href="#keys">keys</a>().
<h3 class=fn><a href="qstringlist.html">TQStringList</a> <a name="keys"></a>TQSqlDriverPlugin::keys () const<tt> [pure virtual]</tt> <h3 class=fn><a href="qstringlist.html">TQStringList</a> <a name="keys"></a>TQSqlDriverPlugin::keys () const<tt> [pure virtual]</tt>

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -150,7 +150,7 @@ class TQM_EXPORT_SQL TQSqlFieldInfo
public: public:
TQSqlFieldInfo( const TQString&amp; name = TQString::null, TQSqlFieldInfo( const TQString&amp; name = TQString::null,
TQVariant::Type typ = TQVariant::Invalid, TQVariant::Type typ = TQVariant::Invalid,
int retquired = -1, int required = -1,
int len = -1, int len = -1,
int prec = -1, int prec = -1,
const TQVariant&amp; defValue = TQVariant(), const TQVariant&amp; defValue = TQVariant(),

@ -37,7 +37,7 @@ body { background: #ffffff; color: black; }
<p><a href="qsqlfieldinfo-members.html">List of all member functions.</a> <p><a href="qsqlfieldinfo-members.html">List of all member functions.</a>
<h2>Public Members</h2> <h2>Public Members</h2>
<ul> <ul>
<li class=fn><a href="#TQSqlFieldInfo"><b>TQSqlFieldInfo</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;name = TQString::null, TQVariant::Type&nbsp;typ = TQVariant::Invalid, int&nbsp;retquired = -1, int&nbsp;len = -1, int&nbsp;prec = -1, const&nbsp;TQVariant&nbsp;&amp;&nbsp;defValue = TQVariant ( ), int&nbsp;typeID = 0, bool&nbsp;generated = TRUE, bool&nbsp;trim = FALSE, bool&nbsp;calculated = FALSE )</li> <li class=fn><a href="#TQSqlFieldInfo"><b>TQSqlFieldInfo</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;name = TQString::null, TQVariant::Type&nbsp;typ = TQVariant::Invalid, int&nbsp;required = -1, int&nbsp;len = -1, int&nbsp;prec = -1, const&nbsp;TQVariant&nbsp;&amp;&nbsp;defValue = TQVariant ( ), int&nbsp;typeID = 0, bool&nbsp;generated = TRUE, bool&nbsp;trim = FALSE, bool&nbsp;calculated = FALSE )</li>
<li class=fn><a href="#TQSqlFieldInfo-2"><b>TQSqlFieldInfo</b></a> ( const&nbsp;TQSqlFieldInfo&nbsp;&amp;&nbsp;other )</li> <li class=fn><a href="#TQSqlFieldInfo-2"><b>TQSqlFieldInfo</b></a> ( const&nbsp;TQSqlFieldInfo&nbsp;&amp;&nbsp;other )</li>
<li class=fn><a href="#TQSqlFieldInfo-3"><b>TQSqlFieldInfo</b></a> ( const&nbsp;TQSqlField&nbsp;&amp;&nbsp;other, bool&nbsp;generated = TRUE )</li> <li class=fn><a href="#TQSqlFieldInfo-3"><b>TQSqlFieldInfo</b></a> ( const&nbsp;TQSqlField&nbsp;&amp;&nbsp;other, bool&nbsp;generated = TRUE )</li>
<li class=fn>virtual <a href="#~TQSqlFieldInfo"><b>~TQSqlFieldInfo</b></a> ()</li> <li class=fn>virtual <a href="#~TQSqlFieldInfo"><b>~TQSqlFieldInfo</b></a> ()</li>
@ -72,15 +72,15 @@ using <a href="#isRequired">isRequired</a>(), <a href="#type">type</a>(), <a hre
<p>See also <a href="database.html">Database Classes</a>. <p>See also <a href="database.html">Database Classes</a>.
<hr><h2>Member Function Documentation</h2> <hr><h2>Member Function Documentation</h2>
<h3 class=fn><a name="TQSqlFieldInfo"></a>TQSqlFieldInfo::TQSqlFieldInfo ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name = TQString::null, <a href="qvariant.html#Type-enum">TQVariant::Type</a>&nbsp;typ = TQVariant::Invalid, int&nbsp;retquired = -1, int&nbsp;len = -1, int&nbsp;prec = -1, const&nbsp;<a href="qvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;defValue = TQVariant ( ), int&nbsp;typeID = 0, bool&nbsp;generated = TRUE, bool&nbsp;trim = FALSE, bool&nbsp;calculated = FALSE ) <h3 class=fn><a name="TQSqlFieldInfo"></a>TQSqlFieldInfo::TQSqlFieldInfo ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;name = TQString::null, <a href="qvariant.html#Type-enum">TQVariant::Type</a>&nbsp;typ = TQVariant::Invalid, int&nbsp;required = -1, int&nbsp;len = -1, int&nbsp;prec = -1, const&nbsp;<a href="qvariant.html">TQVariant</a>&nbsp;&amp;&nbsp;defValue = TQVariant ( ), int&nbsp;typeID = 0, bool&nbsp;generated = TRUE, bool&nbsp;trim = FALSE, bool&nbsp;calculated = FALSE )
</h3> </h3>
Constructs a TQSqlFieldInfo with the following parameters: Constructs a TQSqlFieldInfo with the following parameters:
<center><table cellpadding="4" cellspacing="2" border="0"> <center><table cellpadding="4" cellspacing="2" border="0">
<tr bgcolor="#f0f0f0"> <td valign="top"><em>name</em> <td valign="top">the name of the field. <tr bgcolor="#f0f0f0"> <td valign="top"><em>name</em> <td valign="top">the name of the field.
<tr bgcolor="#d0d0d0"> <td valign="top"><em>typ</em> <td valign="top">the field's type in a <a href="qvariant.html">TQVariant</a>. <tr bgcolor="#d0d0d0"> <td valign="top"><em>typ</em> <td valign="top">the field's type in a <a href="qvariant.html">TQVariant</a>.
<tr bgcolor="#f0f0f0"> <td valign="top"><em>retquired</em> <td valign="top">greater than 0 if the field is retquired, 0 <tr bgcolor="#f0f0f0"> <td valign="top"><em>required</em> <td valign="top">greater than 0 if the field is required, 0
if its value can be NULL and less than 0 if it cannot be if its value can be NULL and less than 0 if it cannot be
determined whether the field is retquired or not. determined whether the field is required or not.
<tr bgcolor="#d0d0d0"> <td valign="top"><em>len</em> <td valign="top">the length of the field. Note that for <tr bgcolor="#d0d0d0"> <td valign="top"><em>len</em> <td valign="top">the length of the field. Note that for
non-character types some databases return either the length in non-character types some databases return either the length in
bytes or the number of digits. -1 signifies that the length cannot bytes or the number of digits. -1 signifies that the length cannot
@ -137,10 +137,10 @@ SQL statments, e.g. in <a href="qsqlcursor.html">TQSqlCursor</a>; otherwise retu
<h3 class=fn>int <a name="isRequired"></a>TQSqlFieldInfo::isRequired () const <h3 class=fn>int <a name="isRequired"></a>TQSqlFieldInfo::isRequired () const
</h3> </h3>
Returns a value greater than 0 if the field is retquired (NULL Returns a value greater than 0 if the field is required (NULL
values are not allowed), 0 if it isn't retquired (NULL values are values are not allowed), 0 if it isn't required (NULL values are
allowed) or less than 0 if it cannot be determined whether the allowed) or less than 0 if it cannot be determined whether the
field is retquired or not. field is required or not.
<h3 class=fn>bool <a name="isTrim"></a>TQSqlFieldInfo::isTrim () const <h3 class=fn>bool <a name="isTrim"></a>TQSqlFieldInfo::isTrim () const
</h3> </h3>

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -138,13 +138,13 @@ by name. (The <a href="qsqlcursor.html">TQSqlCursor</a> class provides a higher-
with field access by name and automatic SQL generation.) with field access by name and automatic SQL generation.)
<p> TQSqlQuery supports prepared query execution and the binding of <p> TQSqlQuery supports prepared query execution and the binding of
parameter values to placeholders. Some databases don't support parameter values to placeholders. Some databases don't support
these features, so for them TQt emulates the retquired these features, so for them TQt emulates the required
functionality. For example, the Oracle and ODBC drivers have functionality. For example, the Oracle and ODBC drivers have
proper prepared query support, and TQt makes use of it; but for proper prepared query support, and TQt makes use of it; but for
databases that don't have this support, TQt implements the feature databases that don't have this support, TQt implements the feature
itself, e.g. by replacing placeholders with actual values when a itself, e.g. by replacing placeholders with actual values when a
query is executed. The exception is positional binding using named query is executed. The exception is positional binding using named
placeholders, which retquires that the database supports prepared placeholders, which requires that the database supports prepared
queries. queries.
<p> Oracle databases identify placeholders by using a colon-name <p> Oracle databases identify placeholders by using a colon-name
syntax, e.g <tt>:name</tt>. ODBC simply uses <tt>?</tt> characters. TQt syntax, e.g <tt>:name</tt>. ODBC simply uses <tt>?</tt> characters. TQt

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -255,7 +255,7 @@ C-style '&#92;0'-terminated ASCII string. It is legal for the <tt>const char *</
classic C strings into a TQString will not copy the terminating classic C strings into a TQString will not copy the terminating
'&#92;0' character. The <a href="qchar.html">TQChar</a> array of the TQString (as returned by '&#92;0' character. The <a href="qchar.html">TQChar</a> array of the TQString (as returned by
<a href="#unicode">unicode</a>()) is generally not terminated by a '&#92;0'. If you need to <a href="#unicode">unicode</a>()) is generally not terminated by a '&#92;0'. If you need to
pass a TQString to a function that retquires a C '&#92;0'-terminated pass a TQString to a function that requires a C '&#92;0'-terminated
string use <a href="#latin1">latin1</a>(). string use <a href="#latin1">latin1</a>().
<p> <!-- index TQString::null --><a name="TQString-null"></a>A TQString that has not been assigned to anything is <em>null</em>, i.e. <p> <!-- index TQString::null --><a name="TQString-null"></a>A TQString that has not been assigned to anything is <em>null</em>, i.e.
both the length and data pointer is 0. A TQString that references both the length and data pointer is 0. A TQString that references
@ -693,7 +693,7 @@ for experimental and illustrative purposes only. It is mainly of
interest to those experimenting with Arabic and other interest to those experimenting with Arabic and other
composition-rich texts. composition-rich texts.
<p> Applies possible ligatures to a TQString. Useful when <p> Applies possible ligatures to a TQString. Useful when
composition-rich text retquires rendering with glyph-poor fonts, composition-rich text requires rendering with glyph-poor fonts,
but it also makes compositions such as <a href="qchar.html">TQChar</a>(0x0041) ('A') and but it also makes compositions such as <a href="qchar.html">TQChar</a>(0x0041) ('A') and
TQChar(0x0308) (Unicode accent diaresis), giving TQChar(0x00c4) TQChar(0x0308) (Unicode accent diaresis), giving TQChar(0x00c4)
(German A Umlaut). (German A Umlaut).

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -149,7 +149,7 @@ acts like a <a href="shclass.html#deep-copy">deep copy</a>, for example, if this
one or some other list referencing the same shared data is one or some other list referencing the same shared data is
modified, the modifying list first makes a copy, i.e. modified, the modifying list first makes a copy, i.e.
copy-on-write. copy-on-write.
In a threaded environment you may retquire a real deep copy In a threaded environment you may require a real deep copy
. .
<h3 class=fn><a name="TQStringList-3"></a>TQStringList::TQStringList ( const&nbsp;<a href="qvaluelist.html">TQValueList</a>&lt;TQString&gt;&nbsp;&amp;&nbsp;l ) <h3 class=fn><a name="TQStringList-3"></a>TQStringList::TQStringList ( const&nbsp;<a href="qvaluelist.html">TQValueList</a>&lt;TQString&gt;&nbsp;&amp;&nbsp;l )

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -231,7 +231,7 @@ button is down.
<li><tt>TQStyle::PM_SpinBoxFrameWidth</tt> - frame width of a spin box. <li><tt>TQStyle::PM_SpinBoxFrameWidth</tt> - frame width of a spin box.
<li><tt>TQStyle::PM_MDIFrameWidth</tt> - frame width of an MDI window. <li><tt>TQStyle::PM_MDIFrameWidth</tt> - frame width of an MDI window.
<li><tt>TQStyle::PM_MDIMinimizedWidth</tt> - width of a minimized MSI window. <li><tt>TQStyle::PM_MDIMinimizedWidth</tt> - width of a minimized MSI window.
<li><tt>TQStyle::PM_MaximumDragDistance</tt> - Some feels retquire the scrollbar or <li><tt>TQStyle::PM_MaximumDragDistance</tt> - Some feels require the scrollbar or
other sliders to jump back to the original position when the other sliders to jump back to the original position when the
mouse pointer is too far away while dragging. A value of -1 mouse pointer is too far away while dragging. A value of -1
disables this behavior. disables this behavior.
@ -669,7 +669,7 @@ ComplexControls.
<p> The <em>widget</em> argument is a pointer to a <a href="qwidget.html">TQWidget</a> or one of its <p> The <em>widget</em> argument is a pointer to a <a href="qwidget.html">TQWidget</a> or one of its
subclasses. The widget can be cast to the appropriate type based subclasses. The widget can be cast to the appropriate type based
on the value of <em>control</em>. The <em>opt</em> argument can be used to on the value of <em>control</em>. The <em>opt</em> argument can be used to
pass extra information retquired when drawing the ComplexControl. pass extra information required when drawing the ComplexControl.
Note that <em>opt</em> may be the default value even for ComplexControls Note that <em>opt</em> may be the default value even for ComplexControls
that can make use of the extra options. See the table below for that can make use of the extra options. See the table below for
the appropriate <em>widget</em> and <em>opt</em> usage: the appropriate <em>widget</em> and <em>opt</em> usage:
@ -754,7 +754,7 @@ ControlElements.
<p> The <em>widget</em> argument is a pointer to a <a href="qwidget.html">TQWidget</a> or one of its <p> The <em>widget</em> argument is a pointer to a <a href="qwidget.html">TQWidget</a> or one of its
subclasses. The widget can be cast to the appropriate type based subclasses. The widget can be cast to the appropriate type based
on the value of <em>element</em>. The <em>opt</em> argument can be used to on the value of <em>element</em>. The <em>opt</em> argument can be used to
pass extra information retquired when drawing the ControlElement. pass extra information required when drawing the ControlElement.
Note that <em>opt</em> may be the default value even for ControlElements Note that <em>opt</em> may be the default value even for ControlElements
that can make use of the extra options. See the table below for that can make use of the extra options. See the table below for
the appropriate <em>widget</em> and <em>opt</em> usage: the appropriate <em>widget</em> and <em>opt</em> usage:
@ -1026,9 +1026,9 @@ This is an overloaded member function, provided for convenience. It behaves esse
<h3 class=fn>void <a name="polish-3"></a>TQStyle::polish ( <a href="qpalette.html">TQPalette</a>&nbsp;&amp; )<tt> [virtual]</tt> <h3 class=fn>void <a name="polish-3"></a>TQStyle::polish ( <a href="qpalette.html">TQPalette</a>&nbsp;&amp; )<tt> [virtual]</tt>
</h3> </h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function. This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> The style may have certain retquirements for color palettes. In <p> The style may have certain requirements for color palettes. In
this function it has the chance to change the palette according to this function it has the chance to change the palette according to
these retquirements. these requirements.
<p> <p>See also <a href="qpalette.html">TQPalette</a> and <a href="qapplication.html#setPalette">TQApplication::setPalette</a>(). <p> <p>See also <a href="qpalette.html">TQPalette</a> and <a href="qapplication.html#setPalette">TQApplication::setPalette</a>().
<h3 class=fn>void <a name="polishPopupMenu"></a>TQStyle::polishPopupMenu ( <a href="qpopupmenu.html">TQPopupMenu</a>&nbsp;* )<tt> [pure virtual]</tt> <h3 class=fn>void <a name="polishPopupMenu"></a>TQStyle::polishPopupMenu ( <a href="qpopupmenu.html">TQPopupMenu</a>&nbsp;* )<tt> [pure virtual]</tt>
@ -1044,7 +1044,7 @@ checkable by default (<a href="qpopupmenu.html#setCheckable">TQPopupMenu::setChe
<p> Returns the SubControl for <em>widget</em> at the point <em>pos</em>. The <em>widget</em> argument is a pointer to a <a href="qwidget.html">TQWidget</a> or one of its <p> Returns the SubControl for <em>widget</em> at the point <em>pos</em>. The <em>widget</em> argument is a pointer to a <a href="qwidget.html">TQWidget</a> or one of its
subclasses. The widget can be cast to the appropriate type based subclasses. The widget can be cast to the appropriate type based
on the value of <em>control</em>. The <em>opt</em> argument can be used to on the value of <em>control</em>. The <em>opt</em> argument can be used to
pass extra information retquired when drawing the ComplexControl. pass extra information required when drawing the ComplexControl.
Note that <em>opt</em> may be the default value even for ComplexControls Note that <em>opt</em> may be the default value even for ComplexControls
that can make use of the extra options. See <a href="#drawComplexControl">drawComplexControl</a>() that can make use of the extra options. See <a href="#drawComplexControl">drawComplexControl</a>()
for an explanation of the <em>widget</em> and <em>opt</em> arguments. for an explanation of the <em>widget</em> and <em>opt</em> arguments.
@ -1062,7 +1062,7 @@ logical coordinates.
<p> The <em>widget</em> argument is a pointer to a <a href="qwidget.html">TQWidget</a> or one of its <p> The <em>widget</em> argument is a pointer to a <a href="qwidget.html">TQWidget</a> or one of its
subclasses. The widget can be cast to the appropriate type based subclasses. The widget can be cast to the appropriate type based
on the value of <em>control</em>. The <em>opt</em> argument can be used to on the value of <em>control</em>. The <em>opt</em> argument can be used to
pass extra information retquired when drawing the ComplexControl. pass extra information required when drawing the ComplexControl.
Note that <em>opt</em> may be the default value even for ComplexControls Note that <em>opt</em> may be the default value even for ComplexControls
that can make use of the extra options. See <a href="#drawComplexControl">drawComplexControl</a>() that can make use of the extra options. See <a href="#drawComplexControl">drawComplexControl</a>()
for an explanation of the <em>widget</em> and <em>opt</em> arguments. for an explanation of the <em>widget</em> and <em>opt</em> arguments.
@ -1080,7 +1080,7 @@ for an explanation of the <em>widget</em> and <em>opt</em> arguments.
<p> The <em>widget</em> argument is a pointer to a <a href="qwidget.html">TQWidget</a> or one of its <p> The <em>widget</em> argument is a pointer to a <a href="qwidget.html">TQWidget</a> or one of its
subclasses. The widget can be cast to the appropriate type based subclasses. The widget can be cast to the appropriate type based
on the value of <em>contents</em>. The <em>opt</em> argument can be used to on the value of <em>contents</em>. The <em>opt</em> argument can be used to
pass extra information retquired when calculating the size. Note pass extra information required when calculating the size. Note
that <em>opt</em> may be the default value even for ContentsTypes that that <em>opt</em> may be the default value even for ContentsTypes that
can make use of the extra options. See the table below for the can make use of the extra options. See the table below for the
appropriate <em>widget</em> and <em>opt</em> usage: appropriate <em>widget</em> and <em>opt</em> usage:
@ -1114,7 +1114,7 @@ allow for future enhancements.
</h3> </h3>
<p> Returns a pixmap for <em>stylepixmap</em>. <p> Returns a pixmap for <em>stylepixmap</em>.
<p> The <em>opt</em> argument can be used to pass extra information retquired <p> The <em>opt</em> argument can be used to pass extra information required
when drawing the ControlElement. Note that <em>opt</em> may be the when drawing the ControlElement. Note that <em>opt</em> may be the
default value even for StylePixmaps that can make use of the extra default value even for StylePixmaps that can make use of the extra
options. Currently, the <em>opt</em> argument is unused. options. Currently, the <em>opt</em> argument is unused.

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -76,7 +76,7 @@ body { background: #ffffff; color: black; }
The TQStyleOption class specifies optional parameters for <a href="qstyle.html">TQStyle</a> functions. The TQStyleOption class specifies optional parameters for <a href="qstyle.html">TQStyle</a> functions.
<p> Some TQStyle functions take an optional argument specifying extra <p> Some TQStyle functions take an optional argument specifying extra
information that is retquired for a paritical primitive or control. information that is required for a paritical primitive or control.
So that the TQStyle class can be extended, TQStyleOption is used to So that the TQStyle class can be extended, TQStyleOption is used to
provide a variable-argument for these options. provide a variable-argument for these options.
<p> The TQStyleOption class has constructors for each type of optional <p> The TQStyleOption class has constructors for each type of optional

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -73,7 +73,7 @@ automatically when it is no longer used.
</h3> </h3>
<p> Creates and returns a <a href="qstyle.html">TQStyle</a> object for the style key <em>key</em>. The <p> Creates and returns a <a href="qstyle.html">TQStyle</a> object for the style key <em>key</em>. The
style key is usually the class name of the retquired style. style key is usually the class name of the required style.
<p> <p>See also <a href="#keys">keys</a>(). <p> <p>See also <a href="#keys">keys</a>().
<h3 class=fn><a href="qstringlist.html">TQStringList</a> <a name="keys"></a>TQStylePlugin::keys () const<tt> [pure virtual]</tt> <h3 class=fn><a href="qstringlist.html">TQStringList</a> <a name="keys"></a>TQStylePlugin::keys () const<tt> [pure virtual]</tt>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -94,7 +94,7 @@ paragraph is currently highlighted.
i.e. on paragraphs which have changed. i.e. on paragraphs which have changed.
<p> In your reimplementation you should parse the paragraph's <em>text</em> <p> In your reimplementation you should parse the paragraph's <em>text</em>
and call <a href="#setFormat">setFormat</a>() as often as necessary to apply any font and and call <a href="#setFormat">setFormat</a>() as often as necessary to apply any font and
color changes that you retquire. Your function must return a value color changes that you require. Your function must return a value
which indicates the paragraph's end state: see below. which indicates the paragraph's end state: see below.
<p> Some syntaxes can have constructs that span paragraphs. For <p> Some syntaxes can have constructs that span paragraphs. For
example, a C++ syntax highlighter should be able to cope with example, a C++ syntax highlighter should be able to cope with

@ -61,7 +61,7 @@ other TQPtrCollection based containers, provides far more sanity
checking than a speed-optimized value based container. checking than a speed-optimized value based container.
<p> If you have objects that implement value semantics, and the STL is not <p> If you have objects that implement value semantics, and the STL is not
available on your target platform, the TQt Template Library can be used available on your target platform, the TQt Template Library can be used
instead. Value semantics retquire at least: instead. Value semantics require at least:
<ul> <ul>
<li> a copy constructor; <li> a copy constructor;
<li> an assignment operator; <li> an assignment operator;
@ -117,7 +117,7 @@ operator (it++, it--), since the former is slightly faster.
<p> There are two kind of iterators, the volatile iterator shown in the <p> There are two kind of iterators, the volatile iterator shown in the
examples above and a version that returns a const reference to its examples above and a version that returns a const reference to its
current object, the ConstIterator. Const iterators are retquired current object, the ConstIterator. Const iterators are required
whenever the container itself is const, such as a member variable whenever the container itself is const, such as a member variable
inside a const function. Assigning a ConstIterator to a normal inside a const function. Assigning a ConstIterator to a normal
Iterator is not allowed as it would violate const semantics. Iterator is not allowed as it would violate const semantics.

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -53,7 +53,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -302,19 +302,19 @@ identifying a particular cell.
<p> There are two approaches to populating the table's cells. The <p> There are two approaches to populating the table's cells. The
first and simplest approach is to use TQTableItems or <a href="qtableitem.html">TQTableItem</a> first and simplest approach is to use TQTableItems or <a href="qtableitem.html">TQTableItem</a>
subclasses. The second approach doesn't use TQTableItems at all subclasses. The second approach doesn't use TQTableItems at all
which is useful for very large sparse tables but retquires you to which is useful for very large sparse tables but requires you to
reimplement a number of functions. We'll look at each approach in reimplement a number of functions. We'll look at each approach in
turn. turn.
<p> To put a string in a cell use <a href="#setText">setText</a>(). This function will create <p> To put a string in a cell use <a href="#setText">setText</a>(). This function will create
a new TQTableItem for the cell if one doesn't already exist, and a new TQTableItem for the cell if one doesn't already exist, and
displays the text in it. By default the table item's widget will displays the text in it. By default the table item's widget will
be a <a href="qlineedit.html">TQLineEdit</a>. A pixmap may be put in a cell with <a href="#setPixmap">setPixmap</a>(), be a <a href="qlineedit.html">TQLineEdit</a>. A pixmap may be put in a cell with <a href="#setPixmap">setPixmap</a>(),
which also creates a table item if retquired. A cell may contain <em>both</em> a pixmap and text; the pixmap is displayed to the left of the which also creates a table item if required. A cell may contain <em>both</em> a pixmap and text; the pixmap is displayed to the left of the
text. Another approach is to construct a TQTableItem or TQTableItem text. Another approach is to construct a TQTableItem or TQTableItem
subclass, set its properties, then insert it into a cell with subclass, set its properties, then insert it into a cell with
<a href="#setItem">setItem</a>(). <a href="#setItem">setItem</a>().
<p> If you want cells which contain comboboxes use the <a href="qcombotableitem.html">TQComboTableItem</a> <p> If you want cells which contain comboboxes use the <a href="qcombotableitem.html">TQComboTableItem</a>
class. Similarly if you retquire cells containing checkboxes use class. Similarly if you require cells containing checkboxes use
the <a href="qchecktableitem.html">TQCheckTableItem</a> class. These table items look and behave just the <a href="qchecktableitem.html">TQCheckTableItem</a> class. These table items look and behave just
like the combobox or checkbox widgets but consume far less memory. like the combobox or checkbox widgets but consume far less memory.
<p> <p>
@ -350,7 +350,7 @@ approach. The cell's widget (if there is one) can be removed with
<a name="1-2-1"></a><p> For large, sparse, tables using TQTableItems or other widgets is <a name="1-2-1"></a><p> For large, sparse, tables using TQTableItems or other widgets is
inefficient. The solution is to <em>draw</em> the cell as it should inefficient. The solution is to <em>draw</em> the cell as it should
appear and to create and destroy cell editors on demand. appear and to create and destroy cell editors on demand.
<p> This approach retquires that you reimplement various functions. <p> This approach requires that you reimplement various functions.
Reimplement <a href="#paintCell">paintCell</a>() to display your data, and <a href="#createEditor">createEditor</a>() Reimplement <a href="#paintCell">paintCell</a>() to display your data, and <a href="#createEditor">createEditor</a>()
and <a href="#setCellContentFromEditor">setCellContentFromEditor</a>() to support in-place editing. It and <a href="#setCellContentFromEditor">setCellContentFromEditor</a>() to support in-place editing. It
is very important to reimplement <a href="#resizeData">resizeData</a>() to have no is very important to reimplement <a href="#resizeData">resizeData</a>() to have no

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -196,7 +196,7 @@ ones.
as a plugin; see the <a href="plugins-howto.html">plugin as a plugin; see the <a href="plugins-howto.html">plugin
documentation</a> for more details. documentation</a> for more details.
<p> The abstract virtual functions describe the encoder to the <p> The abstract virtual functions describe the encoder to the
system and the coder is used as retquired in the different system and the coder is used as required in the different
text file formats supported by <a href="qtextstream.html">TQTextStream</a>, and under X11, for the text file formats supported by <a href="qtextstream.html">TQTextStream</a>, and under X11, for the
locale-specific character input and output. locale-specific character input and output.
<p> To add support for another 8-bit encoding to TQt, make a subclass <p> To add support for another 8-bit encoding to TQt, make a subclass
@ -220,8 +220,8 @@ bytes. For such encodings, you must implement:
</pre> </pre>
Return a <a href="qtextdecoder.html">TQTextDecoder</a> that remembers incomplete multi-byte sequence Return a <a href="qtextdecoder.html">TQTextDecoder</a> that remembers incomplete multi-byte sequence
prefixes or other retquired state. prefixes or other required state.
<p> If the encoding does <em>not</em> retquire state, you should implement: <p> If the encoding does <em>not</em> require state, you should implement:
<p> <pre> <p> <pre>
<a href="qstring.html">TQString</a> toUnicode(const char* chars, int len) const <a href="qstring.html">TQString</a> toUnicode(const char* chars, int len) const
</pre> </pre>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -48,7 +48,7 @@ The TQTextDecoder class provides a state-based decoder.
<p> The decoder converts a text format into Unicode, remembering any <p> The decoder converts a text format into Unicode, remembering any
state that is retquired between calls. state that is required between calls.
<p> <p>See also <a href="qtextcodec.html#makeEncoder">TQTextCodec::makeEncoder</a>() and <a href="i18n.html">Internationalization with TQt</a>. <p> <p>See also <a href="qtextcodec.html#makeEncoder">TQTextCodec::makeEncoder</a>() and <a href="i18n.html">Internationalization with TQt</a>.
<hr><h2>Member Function Documentation</h2> <hr><h2>Member Function Documentation</h2>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -1154,7 +1154,7 @@ the HTML anchor tag, e.g. <tt>&lt;a name="target"&gt;</tt>.
<h3 class=fn>void <a name="scrollToBottom"></a>TQTextEdit::scrollToBottom ()<tt> [virtual slot]</tt> <h3 class=fn>void <a name="scrollToBottom"></a>TQTextEdit::scrollToBottom ()<tt> [virtual slot]</tt>
</h3> </h3>
Scrolls to the bottom of the document and does formatting if Scrolls to the bottom of the document and does formatting if
retquired. required.
<h3 class=fn>void <a name="selectAll"></a>TQTextEdit::selectAll ( bool&nbsp;select = TRUE )<tt> [virtual slot]</tt> <h3 class=fn>void <a name="selectAll"></a>TQTextEdit::selectAll ( bool&nbsp;select = TRUE )<tt> [virtual slot]</tt>
</h3> </h3>

@ -48,7 +48,7 @@ The TQTextEncoder class provides a state-based encoder.
<p> The encoder converts Unicode into another format, remembering any <p> The encoder converts Unicode into another format, remembering any
state that is retquired between calls. state that is required between calls.
<p> <p>See also <a href="qtextcodec.html#makeEncoder">TQTextCodec::makeEncoder</a>() and <a href="i18n.html">Internationalization with TQt</a>. <p> <p>See also <a href="qtextcodec.html#makeEncoder">TQTextCodec::makeEncoder</a>() and <a href="i18n.html">Internationalization with TQt</a>.
<hr><h2>Member Function Documentation</h2> <hr><h2>Member Function Documentation</h2>

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -127,7 +127,7 @@ function <a href="#add">TQToolTip::add</a>() with the widget, rectangle and tip
arguments. (See the <a href="tooltip-example.html">tooltip/tooltip.cpp</a> example.) Again, you arguments. (See the <a href="tooltip-example.html">tooltip/tooltip.cpp</a> example.) Again, you
can supply a <tt>TQToolTipGroup *</tt> and another text if you want. can supply a <tt>TQToolTipGroup *</tt> and another text if you want.
<p> Both of these are one-liners and cover the majority of cases. The <p> Both of these are one-liners and cover the majority of cases. The
third and most general way to use TQToolTip retquires you to third and most general way to use TQToolTip requires you to
reimplement a pure virtual function to decide whether to pop up a reimplement a pure virtual function to decide whether to pop up a
tool tip. The <a href="tooltip-example.html">tooltip/tooltip.cpp</a> example demonstrates this tool tip. The <a href="tooltip-example.html">tooltip/tooltip.cpp</a> example demonstrates this
too. This mode can be used to implement tips for text that can too. This mode can be used to implement tips for text that can

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -137,7 +137,7 @@ name; there would normally be no comment, and the translated text
would be "Anuluj". would be "Anuluj".
<p> But it's not always so simple. The Spanish version of a printer <p> But it's not always so simple. The Spanish version of a printer
dialog with settings for two-sided printing and binding would dialog with settings for two-sided printing and binding would
probably retquire both "Activado" and "Activada" as translations probably require both "Activado" and "Activada" as translations
for "Enabled". In this case the source text would be "Enabled" in for "Enabled". In this case the source text would be "Enabled" in
both cases, and the context would be the dialog's class name, but both cases, and the context would be the dialog's class name, but
the two items would have disambiguating comments such as the two items would have disambiguating comments such as

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -127,7 +127,7 @@ parse, decode, encode, etc.
<p> The individual parts of a URL can be set with <a href="#setProtocol">setProtocol</a>(), <p> The individual parts of a URL can be set with <a href="#setProtocol">setProtocol</a>(),
<a href="#setHost">setHost</a>(), <a href="#setPort">setPort</a>(), <a href="#setPath">setPath</a>(), <a href="#setFileName">setFileName</a>(), <a href="#setRef">setRef</a>() and <a href="#setHost">setHost</a>(), <a href="#setPort">setPort</a>(), <a href="#setPath">setPath</a>(), <a href="#setFileName">setFileName</a>(), <a href="#setRef">setRef</a>() and
<a href="#setQuery">setQuery</a>(). A URL could contain, for example, an ftp address which <a href="#setQuery">setQuery</a>(). A URL could contain, for example, an ftp address which
retquires a user name and password; these can be set with <a href="#setUser">setUser</a>() requires a user name and password; these can be set with <a href="#setUser">setUser</a>()
and <a href="#setPassword">setPassword</a>(). and <a href="#setPassword">setPassword</a>().
<p> Because path is always encoded internally you must not use "%00" <p> Because path is always encoded internally you must not use "%00"
in the path, although this is okay (but not recommended) for the in the path, although this is okay (but not recommended) for the

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -59,7 +59,7 @@ TQValidator. The class has two virtual functions: <a href="#validate">validate</
<p> <a href="#validate">validate</a>() must be implemented by every subclass. It returns <p> <a href="#validate">validate</a>() must be implemented by every subclass. It returns
<a href="#State-enum">Invalid</a>, <a href="#State-enum">Intermediate</a> or <a href="#State-enum">Acceptable</a> depending on whether <a href="#State-enum">Invalid</a>, <a href="#State-enum">Intermediate</a> or <a href="#State-enum">Acceptable</a> depending on whether
its argument is valid (for the subclass's definition of valid). its argument is valid (for the subclass's definition of valid).
<p> These three states retquire some explanation. An <a href="#State-enum">Invalid</a> string <p> These three states require some explanation. An <a href="#State-enum">Invalid</a> string
is <em>clearly</em> invalid. <a href="#State-enum">Intermediate</a> is less obvious: the is <em>clearly</em> invalid. <a href="#State-enum">Intermediate</a> is less obvious: the
concept of validity is slippery when the string is incomplete concept of validity is slippery when the string is incomplete
(still being edited). TQValidator defines <a href="#State-enum">Intermediate</a> as the (still being edited). TQValidator defines <a href="#State-enum">Intermediate</a> as the

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -148,7 +148,7 @@ value the class must provide:
<p> Note that C++ defaults to field-by-field assignment operators and <p> Note that C++ defaults to field-by-field assignment operators and
copy constructors if no explicit version is supplied. In many copy constructors if no explicit version is supplied. In many
cases this is sufficient. cases this is sufficient.
<p> In addition, some compilers (e.g. Sun CC) might retquire that the <p> In addition, some compilers (e.g. Sun CC) might require that the
class provides an equality operator (<a href="#operator-eq-eq">operator==</a>()). class provides an equality operator (<a href="#operator-eq-eq">operator==</a>()).
<p> TQValueList's function naming is consistent with the other TQt <p> TQValueList's function naming is consistent with the other TQt
classes (e.g. <a href="#count">count</a>(), <a href="#isEmpty">isEmpty</a>()). TQValueList also provides extra classes (e.g. <a href="#count">count</a>(), <a href="#isEmpty">isEmpty</a>()). TQValueList also provides extra

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -318,7 +318,7 @@ For example with qHeapSort():
</pre> </pre>
<p> TQValueVector stores its elements in contiguous memory. This means <p> TQValueVector stores its elements in contiguous memory. This means
that you can use a TQValueVector in any situation that retquires an that you can use a TQValueVector in any situation that requires an
array. array.
<p>See also <a href="qtl.html">TQt Template Library Classes</a>, <a href="shared.html">Implicitly and Explicitly Shared Classes</a>, and <a href="tools.html">Non-GUI Classes</a>. <p>See also <a href="qtl.html">TQt Template Library Classes</a>, <a href="shared.html">Implicitly and Explicitly Shared Classes</a>, and <a href="tools.html">Non-GUI Classes</a>.

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -52,7 +52,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -2585,7 +2585,7 @@ that the auto mask calculation works, you should add:
<p> at the end of your event handlers. This is true for all member <p> at the end of your event handlers. This is true for all member
functions that change the appearance of the widget in a way that functions that change the appearance of the widget in a way that
retquires a recalculation of the mask. requires a recalculation of the mask.
<p> While being a technically appealing concept, masks have a big <p> While being a technically appealing concept, masks have a big
drawback: when using complex masks that cannot be expressed easily drawback: when using complex masks that cannot be expressed easily
with relatively simple regions, they can be very slow on some with relatively simple regions, they can be very slow on some

@ -48,7 +48,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -84,7 +84,7 @@ automatically when it is no longer used.
</h3> </h3>
<p> Creates and returns a <a href="qwidget.html">TQWidget</a> object for the widget key <em>key</em>. <p> Creates and returns a <a href="qwidget.html">TQWidget</a> object for the widget key <em>key</em>.
The widget key is the class name of the retquired widget. The <em>name</em> and <em>parent</em> arguments are passed to the custom widget's The widget key is the class name of the required widget. The <em>name</em> and <em>parent</em> arguments are passed to the custom widget's
constructor. constructor.
<p> <p>See also <a href="#keys">keys</a>(). <p> <p>See also <a href="#keys">keys</a>().

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -55,7 +55,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -54,7 +54,7 @@ body { background: #ffffff; color: black; }
** and the KDE Free TQt Foundation. ** and the KDE Free TQt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -57,7 +57,7 @@ DTD content of XML data.
entities, it can implement this interface and register an instance entities, it can implement this interface and register an instance
with <a href="qxmlreader.html#setDTDHandler">TQXmlReader::setDTDHandler</a>(). with <a href="qxmlreader.html#setDTDHandler">TQXmlReader::setDTDHandler</a>().
<p> Note that this interface includes only those DTD events that the <p> Note that this interface includes only those DTD events that the
XML recommendation retquires processors to report, i.e. notation XML recommendation requires processors to report, i.e. notation
and unparsed entity declarations using <a href="#notationDecl">notationDecl</a>() and and unparsed entity declarations using <a href="#notationDecl">notationDecl</a>() and
<a href="#unparsedEntityDecl">unparsedEntityDecl</a>() respectively. <a href="#unparsedEntityDecl">unparsedEntityDecl</a>() respectively.
<p> See also the <a href="xml.html#sax2Intro">Introduction to SAX2</a>. <p> See also the <a href="xml.html#sax2Intro">Introduction to SAX2</a>.

@ -102,7 +102,7 @@ Constructs a TQXtWidget of the given <em>widget_class</em> called <em>name</em>.
<p> Use this constructor to utilize Xt or <a href="motif-extension.html#Motif">Motif</a> widgets in a TQt <p> Use this constructor to utilize Xt or <a href="motif-extension.html#Motif">Motif</a> widgets in a TQt
application. The TQXtWidget looks and behaves application. The TQXtWidget looks and behaves
like the Xt class, but can be used like any <a href="qwidget.html">TQWidget</a>. like the Xt class, but can be used like any <a href="qwidget.html">TQWidget</a>.
<p> Note that Xt retquires that the most top level Xt widget is a shell. <p> Note that Xt requires that the most top level Xt widget is a shell.
This means, if <em>parent</em> is a TQXtWidget, the <em>widget_class</em> can be This means, if <em>parent</em> is a TQXtWidget, the <em>widget_class</em> can be
of any kind. If there isn't a parent or the parent is just a normal of any kind. If there isn't a parent or the parent is just a normal
TQWidget, <em>widget_class</em> should be something like <tt>topLevelShellWidgetClass</tt>. TQWidget, <em>widget_class</em> should be something like <tt>topLevelShellWidgetClass</tt>.

@ -237,13 +237,13 @@ increased flexibility they provide, although the difference for real
applications is insignificant. In general, emitting a signal that is applications is insignificant. In general, emitting a signal that is
connected to some slots, is approximately ten times slower than connected to some slots, is approximately ten times slower than
calling the receivers directly, with non-virtual function calls. This calling the receivers directly, with non-virtual function calls. This
is the overhead retquired to locate the connection object, to safely is the overhead required to locate the connection object, to safely
iterate over all connections (i.e. checking that subsequent receivers iterate over all connections (i.e. checking that subsequent receivers
have not been destroyed during the emission) and to marshall any have not been destroyed during the emission) and to marshall any
parameters in a generic fashion. While ten non-virtual function calls parameters in a generic fashion. While ten non-virtual function calls
may sound like a lot, it's much less overhead than any 'new' or may sound like a lot, it's much less overhead than any 'new' or
'delete' operation, for example. As soon as you perform a string, 'delete' operation, for example. As soon as you perform a string,
vector or list operation that behind the scene retquires 'new' or vector or list operation that behind the scene requires 'new' or
'delete', the signals and slots overhead is only responsible for a 'delete', the signals and slots overhead is only responsible for a
very small proportion of the complete function call costs. The same is very small proportion of the complete function call costs. The same is
true whenever you do a system call in a slot; or indirectly call more true whenever you do a system call in a slot; or indirectly call more

@ -307,7 +307,7 @@ will implement later.
</pre> </pre>
<p> Now that we have done the File menu we shift our focus back to the <p> Now that we have done the File menu we shift our focus back to the
menu bar and insert a separator. From now on further menu bar entries menu bar and insert a separator. From now on further menu bar entries
will be aligned to the right if the windows system style retquires it. will be aligned to the right if the windows system style requires it.
<p> <pre> <a href="qpopupmenu.html">TQPopupMenu</a> * help = new <a href="qpopupmenu.html">TQPopupMenu</a>( this ); <p> <pre> <a href="qpopupmenu.html">TQPopupMenu</a> * help = new <a href="qpopupmenu.html">TQPopupMenu</a>( this );
<a href="qmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;Help", help ); <a href="qmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;Help", help );

@ -105,7 +105,7 @@ instead of <tt>C:&#92;program files&#92;mysql</tt>.
<p> Use the <tt>-qt-sql-&lt;driver&gt;</tt> parameter to build the database driver <p> Use the <tt>-qt-sql-&lt;driver&gt;</tt> parameter to build the database driver
statically into your TQt library or <tt>-plugin-sql-&lt;driver&gt;</tt> to build statically into your TQt library or <tt>-plugin-sql-&lt;driver&gt;</tt> to build
the driver as a plugin. Look at the sections that follow for the driver as a plugin. Look at the sections that follow for
additional information about retquired libraries. additional information about required libraries.
<p> <a name="buildingmanually"></a> <p> <a name="buildingmanually"></a>
<h2> Building the plugins manually <h2> Building the plugins manually
</h2> </h2>
@ -169,7 +169,7 @@ encoding to communicate with the server.
<p> <h4> BLOB/LOB support <p> <h4> BLOB/LOB support
</h4> </h4>
<a name="3-2-3"></a><p> Binary Large Objects (BLOBs) can be read and written, but be aware <a name="3-2-3"></a><p> Binary Large Objects (BLOBs) can be read and written, but be aware
that this process may retquire a lot of memory. that this process may require a lot of memory.
<p> Note that Oracle 9 doesn't support scrollable result sets with LOB <p> Note that Oracle 9 doesn't support scrollable result sets with LOB
columns, you have to use a forward only query to select LOB fields columns, you have to use a forward only query to select LOB fields
(see <a href="qsqlquery.html#setForwardOnly">TQSqlQuery::setForwardOnly</a>()). (see <a href="qsqlquery.html#setForwardOnly">TQSqlQuery::setForwardOnly</a>()).
@ -183,9 +183,9 @@ position the query on the last record and return TRUE, but subsequent
calls to <a href="qsqlquery.html#value">TQSqlQuery::value</a>() will only return NULLs. calls to <a href="qsqlquery.html#value">TQSqlQuery::value</a>() will only return NULLs.
<p> <h4> How to build the plugin on Unix/Linux <p> <h4> How to build the plugin on Unix/Linux
</h4> </h4>
<a name="3-2-5"></a><p> All files retquired to build driver should ship with the standard Oracle <a name="3-2-5"></a><p> All files required to build driver should ship with the standard Oracle
Client install. Client install.
<p> Oracle library files retquired to build driver: <p> Oracle library files required to build driver:
<p> <ul> <p> <ul>
<li> <tt>libclntsh.so</tt> (all versions) <li> <tt>libclntsh.so</tt> (all versions)
<li> <tt>libwtc8.so</tt> (only Oracle 8) or <tt>libwtc9.so</tt> (only Oracle 9) <li> <tt>libwtc8.so</tt> (only Oracle 8) or <tt>libwtc9.so</tt> (only Oracle 9)
@ -257,7 +257,7 @@ then allows you to use these data sources in your TQt project.
<p> On Windows systems after 95 an ODBC driver manager should be installed <p> On Windows systems after 95 an ODBC driver manager should be installed
by default, for Unix systems there are some implementations which must by default, for Unix systems there are some implementations which must
be installed first. Note that every client that uses your application be installed first. Note that every client that uses your application
is retquired to have an ODBC driver manager installed, otherwise the is required to have an ODBC driver manager installed, otherwise the
TQODBC3 plugin will not work. TQODBC3 plugin will not work.
<p> Be aware that when connecting to an ODBC datasource you must pass in <p> Be aware that when connecting to an ODBC datasource you must pass in
the name of the ODBC datasource to the <a href="qsqldatabase.html#setDatabaseName">TQSqlDatabase::setDatabaseName</a>() the name of the ODBC datasource to the <a href="qsqldatabase.html#setDatabaseName">TQSqlDatabase::setDatabaseName</a>()
@ -483,7 +483,7 @@ make
Firebird databases. Interbase can either be used as a client/server or Firebird databases. Interbase can either be used as a client/server or
without a server operating on local files. The database file must without a server operating on local files. The database file must
exist before a connection can be established. exist before a connection can be established.
<p> Note that Interbase retquires you to specify the full path to the <p> Note that Interbase requires you to specify the full path to the
database file, no matter whether it is stored locally or on another database file, no matter whether it is stored locally or on another
server. server.
<p> <pre> <p> <pre>
@ -531,7 +531,7 @@ errors. Some compilers have tools to convert libraries, e.g. Borland
ships the tool <tt>COFF2OMF.EXE</tt> to convert libraries that have been ships the tool <tt>COFF2OMF.EXE</tt> to convert libraries that have been
generated with Microsoft Visual C++. generated with Microsoft Visual C++.
<p> If the compilation of a plugin succeeds but it cannot be loaded, <p> If the compilation of a plugin succeeds but it cannot be loaded,
make sure that the following retquirements are met: make sure that the following requirements are met:
<p> <ul> <p> <ul>
<li> Ensure that you are using a shared TQt library; you cannot use the <li> Ensure that you are using a shared TQt library; you cannot use the
plugins with a static build. plugins with a static build.

@ -145,7 +145,7 @@ your TQt applications.
This overview assumes that you have at least a basic knowledge of SQL. This overview assumes that you have at least a basic knowledge of SQL.
You should be able to understand simple <tt>SELECT</tt>, <tt>INSERT</tt>, <tt>UPDATE</tt> You should be able to understand simple <tt>SELECT</tt>, <tt>INSERT</tt>, <tt>UPDATE</tt>
and <tt>DELETE</tt> commands. Although the <a href="qsqlcursor.html">TQSqlCursor</a> class provides an and <tt>DELETE</tt> commands. Although the <a href="qsqlcursor.html">TQSqlCursor</a> class provides an
interface to database browsing and editing that does not <em>retquire</em> a interface to database browsing and editing that does not <em>require</em> a
knowledge of SQL, a basic understanding of SQL is highly recommended. A knowledge of SQL, a basic understanding of SQL is highly recommended. A
standard text covering SQL databases is <em>An Introduction to Database Systems (7th ed.)</em> by C. J. Date, ISBN 0201385902. standard text covering SQL databases is <em>An Introduction to Database Systems (7th ed.)</em> by C. J. Date, ISBN 0201385902.
</blockquote> </blockquote>
@ -222,9 +222,9 @@ for more information).
<a name="4"></a><p> At least one database connection must be created and opened before the <a name="4"></a><p> At least one database connection must be created and opened before the
<a href="qsqlquery.html">TQSqlQuery</a> or <a href="qsqlcursor.html">TQSqlCursor</a> classes can be used. <a href="qsqlquery.html">TQSqlQuery</a> or <a href="qsqlcursor.html">TQSqlCursor</a> classes can be used.
<p> If the application only needs a single database connection, the <a href="qsqldatabase.html">TQSqlDatabase</a> class can create a connection which is used by default <p> If the application only needs a single database connection, the <a href="qsqldatabase.html">TQSqlDatabase</a> class can create a connection which is used by default
for all SQL operations. If multiple database connections are retquired for all SQL operations. If multiple database connections are required
these can easily be set up. these can easily be set up.
<p> <a href="qsqldatabase.html">TQSqlDatabase</a> retquires the <a href="qsqldatabase-h.html">qsqldatabase.h</a> header file. <p> <a href="qsqldatabase.html">TQSqlDatabase</a> requires the <a href="qsqldatabase-h.html">qsqldatabase.h</a> header file.
<p> <a name="Connecting_to_a_Single_Database"></a> <p> <a name="Connecting_to_a_Single_Database"></a>
<h2> Connecting to a Single Database <h2> Connecting to a Single Database
</h2> </h2>
@ -622,7 +622,7 @@ presented earlier.
follows this one we show how to link widgets to database cursors. Once follows this one we show how to link widgets to database cursors. Once
we have a knowledge of both cursors and data-aware widgets we can we have a knowledge of both cursors and data-aware widgets we can
discuss <a href="#Subclassing_QSqlCursor">subclassing TQSqlCursor</a>. discuss <a href="#Subclassing_QSqlCursor">subclassing TQSqlCursor</a>.
<p> The <a href="qsqlcursor.html">TQSqlCursor</a> class retquires the <a href="qsqlcursor-h.html">qsqlcursor.h</a> header file. <p> The <a href="qsqlcursor.html">TQSqlCursor</a> class requires the <a href="qsqlcursor-h.html">qsqlcursor.h</a> header file.
<p> <a name="Retrieving_Records"></a> <p> <a name="Retrieving_Records"></a>
<h3> Retrieving Records <h3> Retrieving Records
</h3> </h3>
@ -874,7 +874,7 @@ iteration we call the cursor's primeInsert() method. This method
returns a pointer to a <a href="qsqlrecord.html">TQSqlRecord</a> buffer in which all the fields returns a pointer to a <a href="qsqlrecord.html">TQSqlRecord</a> buffer in which all the fields
are set to <tt>NULL</tt>. (Note that <a href="qsqlcursor.html#primeInsert">TQSqlCursor::primeInsert</a>() is virtual, are set to <tt>NULL</tt>. (Note that <a href="qsqlcursor.html#primeInsert">TQSqlCursor::primeInsert</a>() is virtual,
and can be customized by derived classes. See <a href="qsqlcursor.html">TQSqlCursor</a>). Next we and can be customized by derived classes. See <a href="qsqlcursor.html">TQSqlCursor</a>). Next we
call setValue() for each field that retquires a value. Finally we call call setValue() for each field that requires a value. Finally we call
insert() to insert the record. The insert() call returns the number of insert() to insert the record. The insert() call returns the number of
rows inserted. rows inserted.
<p> We obtained a pointer to a <a href="qsqlrecord.html">TQSqlRecord</a> object from the primeInsert() <p> We obtained a pointer to a <a href="qsqlrecord.html">TQSqlRecord</a> object from the primeInsert()
@ -974,7 +974,7 @@ examples provides additional information.
} }
</pre><blockquote><p align="center"><em> From <a href="sql-overview-table1-main-cpp.html">sql/overview/table1/main.cpp</a> </pre><blockquote><p align="center"><em> From <a href="sql-overview-table1-main-cpp.html">sql/overview/table1/main.cpp</a>
</em></p> </em></p>
</blockquote><p> Data-Aware tables retquire the <a href="qdatatable-h.html">qdatatable.h</a> and <a href="qsqlcursor-h.html">qsqlcursor.h</a> header </blockquote><p> Data-Aware tables require the <a href="qdatatable-h.html">qdatatable.h</a> and <a href="qsqlcursor-h.html">qsqlcursor.h</a> header
files. We create our application object, call createConnections() and files. We create our application object, call createConnections() and
create the cursor. We create the <a href="qdatatable.html">TQDataTable</a> passing it a pointer to create the cursor. We create the <a href="qdatatable.html">TQDataTable</a> passing it a pointer to
the cursor, and set the autoPopulate flag to TRUE. Next we make our <a href="qdatatable.html">TQDataTable</a> the main widget and call refresh() to populate it with data the cursor, and set the autoPopulate flag to TRUE. Next we make our <a href="qdatatable.html">TQDataTable</a> the main widget and call refresh() to populate it with data
@ -1370,7 +1370,7 @@ leave the loop.
<p> When the user edits the status field in the <a href="qdatatable.html">TQDataTable</a> they will be <p> When the user edits the status field in the <a href="qdatatable.html">TQDataTable</a> they will be
presented with a combobox of valid status names taken from the status presented with a combobox of valid status names taken from the status
table. However the status displayed is still the raw statusid. To table. However the status displayed is still the raw statusid. To
display the status name when the field isn't being edited retquires us display the status name when the field isn't being edited requires us
to subclass TQDataTable and reimplement the paintField() function. to subclass TQDataTable and reimplement the paintField() function.
<p> <p>
@ -1487,7 +1487,7 @@ name of the table. We don't have any other characteristics to add at
this stage. this stage.
<p> <pre> InvoiceItemCursor invoiceItemCursor; <p> <pre> InvoiceItemCursor invoiceItemCursor;
</pre> </pre>
<p> Whenever we retquire a cursor over the invoiceitem table we can create <p> Whenever we require a cursor over the invoiceitem table we can create
an InvoiceItemCursor instead of a generic TQSqlCursor. an InvoiceItemCursor instead of a generic TQSqlCursor.
<p> We still need to show the product name rather than the pricesid. <p> We still need to show the product name rather than the pricesid.
<p> <p>
@ -1541,7 +1541,7 @@ name.
which perform real calculations. which perform real calculations.
<p> The header file, <a href="sql-overview-subclass4-main-h.html">sql/overview/subclass4/main.h</a>, remains unchanged <p> The header file, <a href="sql-overview-subclass4-main-h.html">sql/overview/subclass4/main.h</a>, remains unchanged
from the previous example, but the constructor and calculateField() from the previous example, but the constructor and calculateField()
function retquire some simple expansion. We'll look at each in turn. function require some simple expansion. We'll look at each in turn.
<p> <p>
<pre> InvoiceItemCursor::InvoiceItemCursor() : <pre> InvoiceItemCursor::InvoiceItemCursor() :

@ -69,7 +69,7 @@ C++ source file generated by the <tt>moc</tt> must be compiled and
linked with the implementation of the class (or it can be linked with the implementation of the class (or it can be
<tt>#included</tt> into the class's source file). Typically <tt>moc</tt> <tt>#included</tt> into the class's source file). Typically <tt>moc</tt>
is not called manually, but automatically by the build system, so it is not called manually, but automatically by the build system, so it
retquires no additional effort by the programmer. requires no additional effort by the programmer.
<p> There are other precompilers, for example, <tt>rpc</tt> and <p> There are other precompilers, for example, <tt>rpc</tt> and
<tt>idl</tt>, that enable programs or objects to communicate over <tt>idl</tt>, that enable programs or objects to communicate over
process or machine boundaries. The alternatives to precompilers are process or machine boundaries. The alternatives to precompilers are
@ -95,7 +95,7 @@ of Objective C when it comes to component-based graphical user interface
programming. What's good for a high end database server or an operating programming. What's good for a high end database server or an operating
system isn't necessarily the right design choice for a GUI frontend. system isn't necessarily the right design choice for a GUI frontend.
With <tt>moc</tt>, we have turned this disadvantage into an advantage, With <tt>moc</tt>, we have turned this disadvantage into an advantage,
and added the flexibility retquired to meet the challenge of safe and and added the flexibility required to meet the challenge of safe and
efficient graphical user interface programming. efficient graphical user interface programming.
<p> Our approach goes far beyond anything you can do with templates. For <p> Our approach goes far beyond anything you can do with templates. For
example, we can have object properties. And we can have overloaded example, we can have object properties. And we can have overloaded
@ -116,7 +116,7 @@ generated and connected from TQt Designer's XML <tt>ui</tt> files.
<p> TQt's signals and slots implementation is not as fast as a template-based <p> TQt's signals and slots implementation is not as fast as a template-based
solution. While emitting a signal is approximately the cost of four solution. While emitting a signal is approximately the cost of four
ordinary function calls with common template implementations, TQt ordinary function calls with common template implementations, TQt
retquires effort comparable to about ten function calls. This is not requires effort comparable to about ten function calls. This is not
surprising since the TQt mechanism includes a generic marshaller, surprising since the TQt mechanism includes a generic marshaller,
introspection and ultimately scriptability. It does not rely on introspection and ultimately scriptability. It does not rely on
excessive inlining and code expansion and it provides unmatched runtime excessive inlining and code expansion and it provides unmatched runtime
@ -132,7 +132,7 @@ cost of the call is only a small proportion of the entire cost of a
slot. Benchmarking against TQt's signals and slots system is typically slot. Benchmarking against TQt's signals and slots system is typically
done with empty slots. As soon as you do anything useful in your slots, done with empty slots. As soon as you do anything useful in your slots,
for example a few simple string operations, the calling overhead becomes for example a few simple string operations, the calling overhead becomes
negligible. TQt's system is so optimized that anything that retquires negligible. TQt's system is so optimized that anything that requires
operator new or delete (for example, string operations or operator new or delete (for example, string operations or
inserting/removing something from a template container) is significantly inserting/removing something from a template container) is significantly
more expensive than emitting a signal. more expensive than emitting a signal.
@ -140,7 +140,7 @@ more expensive than emitting a signal.
of a performance critical task and you identify this connection as the of a performance critical task and you identify this connection as the
bottleneck, think about using the standard listener-interface pattern bottleneck, think about using the standard listener-interface pattern
rather than signals and slots. In cases where this occurs, you probably rather than signals and slots. In cases where this occurs, you probably
only retquire a 1:1 connection anyway. For example, if you have an object only require a 1:1 connection anyway. For example, if you have an object
that downloads data from the network, it's a perfectly sensible design that downloads data from the network, it's a perfectly sensible design
to use a signal to indicate that the requested data arrived. But if you to use a signal to indicate that the requested data arrived. But if you
need to send out every single byte one by one to a consumer, use a need to send out every single byte one by one to a consumer, use a

@ -89,7 +89,7 @@ single-threaded application without blocking the user interface.
class Mandelbrot : public <a href="qobject.html">TQObject</a> class Mandelbrot : public <a href="qobject.html">TQObject</a>
{ {
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> // retquired for signals/slots <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> // required for signals/slots
public: public:
Mandelbrot( <a href="qobject.html">TQObject</a> *parent=0, const char *name ); Mandelbrot( <a href="qobject.html">TQObject</a> *parent=0, const char *name );
... ...

@ -219,7 +219,7 @@ build the library.
<hr> <hr>
<ol> <li><a name="footnote1"></a> <ol> <li><a name="footnote1"></a>
Unfortunately some X11 window managers also retquire the <tt>WX11BypassWM</tt> flag to be set in addition; but some other X11 window Unfortunately some X11 window managers also require the <tt>WX11BypassWM</tt> flag to be set in addition; but some other X11 window
managers will have problems if this flag is set. <a href="#footnote-call1">Back...</a> <li><a name="footnote2"></a> managers will have problems if this flag is set. <a href="#footnote-call1">Back...</a> <li><a name="footnote2"></a>
The example uses <a href="qguardedptr.html">TQGuardedPtr</a> to make sure that the The example uses <a href="qguardedptr.html">TQGuardedPtr</a> to make sure that the
pointer is reset to zero when the widget object is destroyed pointer is reset to zero when the widget object is destroyed

@ -213,7 +213,7 @@ loop upon the first change of one of the values.
<p> <pre> <a href="qgridlayout.html">TQGridLayout</a> *grid = new <a href="qgridlayout.html">TQGridLayout</a>( this, 2, 2, 10 ); <p> <pre> <a href="qgridlayout.html">TQGridLayout</a> *grid = new <a href="qgridlayout.html">TQGridLayout</a>( this, 2, 2, 10 );
//2x2, 10 pixel border //2x2, 10 pixel border
</pre> </pre>
<p> So far we have used the no-assembly-retquired <a href="qvbox.html">TQVBox</a> and <a href="qgrid.html">TQGrid</a> widgets <p> So far we have used the no-assembly-required <a href="qvbox.html">TQVBox</a> and <a href="qgrid.html">TQGrid</a> widgets
for geometry management. Now, however, we want to have a little more for geometry management. Now, however, we want to have a little more
control over the layout, and we switch to the more powerful <a href="qgridlayout.html">TQGridLayout</a> control over the layout, and we switch to the more powerful <a href="qgridlayout.html">TQGridLayout</a>
class. TQGridLayout isn't a widget; it is a different class that can class. TQGridLayout isn't a widget; it is a different class that can

@ -48,7 +48,7 @@ are launched from chart form menu options or toolbar buttons.
<a href="qcanvas.html">TQCanvas</a> on which we draw the pie chart or bar graph. We subclass <a href="qcanvas.html">TQCanvas</a> on which we draw the pie chart or bar graph. We subclass
TQCanvasView to obtain some specialised behaviour. Similarly we TQCanvasView to obtain some specialised behaviour. Similarly we
subclass the <a href="qcanvastext.html">TQCanvasText</a> class (used to place text items on a canvas) subclass the <a href="qcanvastext.html">TQCanvasText</a> class (used to place text items on a canvas)
since we retquire slightly more than the standard class provides. since we require slightly more than the standard class provides.
<p> The project file, <tt>chart.pro</tt>, is used to create the Makefile that is <p> The project file, <tt>chart.pro</tt>, is used to create the Makefile that is
used to build the application. used to build the application.
<p> <p align="right"> <p> <p align="right">

@ -170,7 +170,7 @@ filter the data using a scripting language.
#include &lt;<a href="qstringlist-h.html">qstringlist.h</a>&gt; #include &lt;<a href="qstringlist-h.html">qstringlist.h</a>&gt;
#include &lt;<a href="qtextstream-h.html">qtextstream.h</a>&gt; #include &lt;<a href="qtextstream-h.html">qtextstream.h</a>&gt;
</pre> </pre>
<p> Our implementation of the operators retquires the inclusion of <a href="qtextstream-h.html">qtextstream.h</a> and <a href="qstringlist-h.html">qstringlist.h</a>. <p> Our implementation of the operators requires the inclusion of <a href="qtextstream-h.html">qtextstream.h</a> and <a href="qstringlist-h.html">qstringlist.h</a>.
<p> <pre> const char FIELD_SEP = ':'; <p> <pre> const char FIELD_SEP = ':';
const char PROPOINT_SEP = ';'; const char PROPOINT_SEP = ';';
const char XY_SEP = ','; const char XY_SEP = ',';

@ -167,7 +167,7 @@ toolbar buttons stay in sync and saves duplicating code.
</pre> </pre>
<p> When we construct an action we give it a name, an optional icon, a <p> When we construct an action we give it a name, an optional icon, a
menu text, and an accelerator short-cut key (or 0 if no accelerator is menu text, and an accelerator short-cut key (or 0 if no accelerator is
retquired). We also make it a child of the form (by passing <tt>this</tt>). required). We also make it a child of the form (by passing <tt>this</tt>).
When the user clicks a toolbar button or clicks a menu option the <tt>activated()</tt> signal is emitted. We connect() this signal to the When the user clicks a toolbar button or clicks a menu option the <tt>activated()</tt> signal is emitted. We connect() this signal to the
action's slot, in the snippet shown above, to fileNew(). action's slot, in the snippet shown above, to fileNew().
<p> The chart types are all mutually exclusive: you can have a pie chart <p> The chart types are all mutually exclusive: you can have a pie chart

@ -114,7 +114,7 @@ TQt rather than good (or bad) algorithms for drawing charts.
</pre> </pre>
<p> To draw a horizontal bar chart we need the array of scaled values, the <p> To draw a horizontal bar chart we need the array of scaled values, the
total value (so that we can calculate and draw percentages if total value (so that we can calculate and draw percentages if
retquired) and a count of the number of values. required) and a count of the number of values.
<p> <pre> double width = m_canvas-&gt;width(); <p> <pre> double width = m_canvas-&gt;width();
double height = m_canvas-&gt;height(); double height = m_canvas-&gt;height();
int proheight = int(height / count); int proheight = int(height / count);

@ -195,7 +195,7 @@ correct number of decimal places.
<li> The OK button is connected to the accept() slot; we will update the <li> The OK button is connected to the accept() slot; we will update the
elements vector in this slot. elements vector in this slot.
<li> The Cancel button is connected to the <a href="qdialog.html">TQDialog</a> reject() slot, and <li> The Cancel button is connected to the <a href="qdialog.html">TQDialog</a> reject() slot, and
retquires no further code or action on our part. requires no further code or action on our part.
</ul> </ul>
<p> <pre> TQPixmap patterns[MAX_PATTERNS]; <p> <pre> TQPixmap patterns[MAX_PATTERNS];
patterns[0] = TQPixmap( pattern01 ); patterns[0] = TQPixmap( pattern01 );

@ -74,7 +74,7 @@ XRender support only is not enough.
<p> <em>Not documented here. Please contact Trolltech Technical Support if you have queries.</em> <p> <em>Not documented here. Please contact Trolltech Technical Support if you have queries.</em>
<p> <h3> Microsoft Visual Studio 2005 Deployment Issues <p> <h3> Microsoft Visual Studio 2005 Deployment Issues
</h3> </h3>
<a name="2-1"></a><p> Executables compiled with Microsoft Visual Studio 2005 retquire <a name="2-1"></a><p> Executables compiled with Microsoft Visual Studio 2005 require
a manifest file that points to the C and C++ runtime libraries that a manifest file that points to the C and C++ runtime libraries that
TQt and the application itself depend on. The manifest file is TQt and the application itself depend on. The manifest file is
automatically generated for you, but it always needs to be located automatically generated for you, but it always needs to be located

@ -161,7 +161,7 @@ void <a name="f184"></a>Wizard::setupPage2()
info-&gt;<a href="qlabel.html#setText">setText</a>( "\n" info-&gt;<a href="qlabel.html#setText">setText</a>( "\n"
"Enter your personal\n" "Enter your personal\n"
"data here.\n\n" "data here.\n\n"
"The retquired fields are\n" "The required fields are\n"
"First Name, Last Name \n" "First Name, Last Name \n"
"and E-Mail.\n" ); "and E-Mail.\n" );
info-&gt;<a href="qwidget.html#setMaximumWidth">setMaximumWidth</a>( info-&gt;<a href="qwidget.html#sizeHint">sizeHint</a>().width() ); info-&gt;<a href="qwidget.html#setMaximumWidth">setMaximumWidth</a>( info-&gt;<a href="qwidget.html#sizeHint">sizeHint</a>().width() );

@ -107,7 +107,7 @@ void <a name="f5"></a>Wizard::setupPage2()
info-&gt;<a href="qlabel.html#setText">setText</a>( "\n" info-&gt;<a href="qlabel.html#setText">setText</a>( "\n"
"Enter your personal\n" "Enter your personal\n"
"data here.\n\n" "data here.\n\n"
"The retquired fields are\n" "The required fields are\n"
"First Name, Last Name \n" "First Name, Last Name \n"
"and E-Mail.\n" ); "and E-Mail.\n" );
info-&gt;<a href="qwidget.html#setMaximumWidth">setMaximumWidth</a>( info-&gt;<a href="qwidget.html#sizeHint">sizeHint</a>().width() ); info-&gt;<a href="qwidget.html#setMaximumWidth">setMaximumWidth</a>( info-&gt;<a href="qwidget.html#sizeHint">sizeHint</a>().width() );

@ -257,7 +257,7 @@ switched on.
(namespace processing, implies <em>http://xml.org/sax/features/namespace-prefixes</em>) and <em>http://xml.org/sax/features/validation</em> (the ability to report (namespace processing, implies <em>http://xml.org/sax/features/namespace-prefixes</em>) and <em>http://xml.org/sax/features/validation</em> (the ability to report
validation errors). validation errors).
<p> Whilst SAX2 leaves it to the user to define and implement whatever <p> Whilst SAX2 leaves it to the user to define and implement whatever
features are retquired, support for <em>http://xml.org/sax/features/namespace</em> (and thus <em>http://xml.org/sax/features/namespace-prefixes</em>) is mandantory. features are required, support for <em>http://xml.org/sax/features/namespace</em> (and thus <em>http://xml.org/sax/features/namespace-prefixes</em>) is mandantory.
The <a href="qxmlsimplereader.html">TQXmlSimpleReader</a> implementation of <a href="qxmlreader.html">TQXmlReader</a>, The <a href="qxmlsimplereader.html">TQXmlSimpleReader</a> implementation of <a href="qxmlreader.html">TQXmlReader</a>,
supports them, and can do namespace processing. supports them, and can do namespace processing.
<p> <a href="qxmlsimplereader.html">TQXmlSimpleReader</a> is not validating, so it <p> <a href="qxmlsimplereader.html">TQXmlSimpleReader</a> is not validating, so it
@ -340,7 +340,7 @@ must take care that they pass the right type. Properties are
useful if a reader supports special handler classes. useful if a reader supports special handler classes.
<p> The URIs used for features and properties often look like URLs, e.g. <p> The URIs used for features and properties often look like URLs, e.g.
<a href="http://xml.org/sax/features/namespace">http://xml.org/sax/features/namespace</a>. This does not mean that the <a href="http://xml.org/sax/features/namespace">http://xml.org/sax/features/namespace</a>. This does not mean that the
data retquired is at this address. It is simply a way of defining data required is at this address. It is simply a way of defining
unique names. unique names.
<p> Anyone can define and use new SAX2 properties for their readers. <p> Anyone can define and use new SAX2 properties for their readers.
Property support is not mandatory. Property support is not mandatory.
@ -556,7 +556,7 @@ is the part to the left of the ":". (<em>book</em> is the namespace prefix in
local part of <em>book:title</em>.) local part of <em>book:title</em>.)
<li> The <em>namespace URI</em> ("Uniform Resource Identifier") is a unique <li> The <em>namespace URI</em> ("Uniform Resource Identifier") is a unique
identifier for a namespace. It looks like a URL identifier for a namespace. It looks like a URL
(e.g. <em>http://trolltech.com/fnord/</em> ) but does not retquire (e.g. <em>http://trolltech.com/fnord/</em> ) but does not require
data to be accessible by the given protocol at the named address. data to be accessible by the given protocol at the named address.
</ul> </ul>
<p> Elements without a ":" (like <em>chapter</em> in the example) do not have a <p> Elements without a ":" (like <em>chapter</em> in the example) do not have a

@ -32,7 +32,7 @@ body { background: #ffffff; color: black; }
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Year 2000 Compliance Statement</h1> <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Year 2000 Compliance Statement</h1>
<p> Trolltech defines <i>Year 2000 Compliance</i> as a retquirement that a <p> Trolltech defines <i>Year 2000 Compliance</i> as a requirement that a
product or part of product does not contain errors related to product or part of product does not contain errors related to
transition from December 31, 1999 to January 1, 2000, or to the transition from December 31, 1999 to January 1, 2000, or to the
existence of February 29, 2000. existence of February 29, 2000.

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -49,10 +49,10 @@ the application usable by people in countries other than one's own.
\tableofcontents \tableofcontents
In some cases internationalization is simple, for example, making a US In some cases internationalization is simple, for example, making a US
application accessible to Australian or British users may retquire application accessible to Australian or British users may require
little more than a few spelling corrections. But to make a US little more than a few spelling corrections. But to make a US
application usable by Japanese users, or a Korean application usable application usable by Japanese users, or a Korean application usable
by German users, will retquire that the software operate not only in by German users, will require that the software operate not only in
different languages, but use different input techniques, character different languages, but use different input techniques, character
encodings and presentation conventions. encodings and presentation conventions.
@ -72,7 +72,7 @@ Qt supports most languages in use today, in particular:
\i Greek \i Greek
\i Hebrew \i Hebrew
\i Thai and Lao \i Thai and Lao
\i All scripts in Unicode 3.2 that do not retquire special processing \i All scripts in Unicode 3.2 that do not require special processing
\endlist \endlist
On Windows NT/2000/XP and Unix/X11 with Xft (client side font support) On Windows NT/2000/XP and Unix/X11 with Xft (client side font support)
@ -141,7 +141,7 @@ takes a QRect since this will align in accordance with the language.
QFontMetrics::charWidth() to determine the width of a character in a QFontMetrics::charWidth() to determine the width of a character in a
string. In some languages (e.g. Arabic or languages from the Indian string. In some languages (e.g. Arabic or languages from the Indian
subcontinent), the width and shape of a glyph changes depending on the subcontinent), the width and shape of a glyph changes depending on the
surrounding characters. Writing input controls usually retquires a surrounding characters. Writing input controls usually requires a
certain knowledge of the scripts it is going to be used in. Usually certain knowledge of the scripts it is going to be used in. Usually
the easiest way is to subclass QLineEdit or QTextEdit. the easiest way is to subclass QLineEdit or QTextEdit.
@ -425,7 +425,7 @@ application starts, the locale of the machine will determine the 8-bit
encoding used when dealing with 8-bit data: such as for font encoding used when dealing with 8-bit data: such as for font
selection, text display, 8-bit text I/O and character input. selection, text display, 8-bit text I/O and character input.
The application may occasionally retquire encodings other than the The application may occasionally require encodings other than the
default local 8-bit encoding. For example, an application in a default local 8-bit encoding. For example, an application in a
Cyrillic KOI8-R locale (the de-facto standard locale in Russia) might Cyrillic KOI8-R locale (the de-facto standard locale in Russia) might
need to output Cyrillic in the ISO 8859-5 encoding. Code for this need to output Cyrillic in the ISO 8859-5 encoding. Code for this

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -123,11 +123,11 @@ only get more space if no other widgets want the space. Of these,
space is allocated to widgets with an \c Expanding size policy first. space is allocated to widgets with an \c Expanding size policy first.
\i Any widgets that are allocated less space than their minimum size \i Any widgets that are allocated less space than their minimum size
(or minimum size hint if no minimum size is specified) are allocated (or minimum size hint if no minimum size is specified) are allocated
this minimum size they retquire. (Widgets don't have to have a minimum this minimum size they require. (Widgets don't have to have a minimum
size or minimum size hint in which case the strech factor is their size or minimum size hint in which case the strech factor is their
determining factor.) determining factor.)
\i Any widgets that are allocated more space than their maximum size \i Any widgets that are allocated more space than their maximum size
are allocated the maximum size space they retquire. (Widgets don't have are allocated the maximum size space they require. (Widgets don't have
to have a maximum size in which case the strech factor is their to have a maximum size in which case the strech factor is their
determining factor.) determining factor.)
\endlist \endlist
@ -237,7 +237,7 @@ layout, you should reimplement the following QWidget member functions:
\i QWidget::sizeHint() returns the preferred size of the widget. \i QWidget::sizeHint() returns the preferred size of the widget.
\i QWidget::minimumSizeHint() returns the smallest size the widget can have. \i QWidget::minimumSizeHint() returns the smallest size the widget can have.
\i QWidget::sizePolicy() returns a \l QSizePolicy; a value describing \i QWidget::sizePolicy() returns a \l QSizePolicy; a value describing
the space retquirements of the widget. the space requirements of the widget.
\endlist \endlist
Call QWidget::updateGeometry() whenever the size hint, minimum size Call QWidget::updateGeometry() whenever the size hint, minimum size
@ -257,13 +257,13 @@ support heightForWidth() (both QGridLayout and QBoxLayout support it).
For further guidance when implementing these functions, see their For further guidance when implementing these functions, see their
implementations in existing Qt classes that have similar layout implementations in existing Qt classes that have similar layout
retquirements to your new widget. requirements to your new widget.
\section1 Manual Layout \section1 Manual Layout
If you are making a one-of-a-kind special layout, you can also make a If you are making a one-of-a-kind special layout, you can also make a
custom widget as described above. Reimplement QWidget::resizeEvent() custom widget as described above. Reimplement QWidget::resizeEvent()
to calculate the retquired distribution of sizes and call \link to calculate the required distribution of sizes and call \link
QWidget::setGeometry() setGeometry\endlink() on each child. QWidget::setGeometry() setGeometry\endlink() on each child.
The widget will get an event with \link QEvent::type() type \endlink The widget will get an event with \link QEvent::type() type \endlink
@ -405,7 +405,7 @@ addItem() implements the default placement strategy for layout items.
It must be implemented. It is used by QLayout::add(), by the QLayout It must be implemented. It is used by QLayout::add(), by the QLayout
constructor that takes a layout as parent, and it is used to implement constructor that takes a layout as parent, and it is used to implement
the \link QLayout::autoAdd() auto-add\endlink feature. If your layout the \link QLayout::autoAdd() auto-add\endlink feature. If your layout
has advanced placement options that retquire parameters, you must has advanced placement options that require parameters, you must
provide extra access functions such as \l QGridLayout::addMultiCell(). provide extra access functions such as \l QGridLayout::addMultiCell().
\code \code

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:
@ -100,7 +100,7 @@ libraries inside /usr/lib and similar default locations.
We still strongly recommend to build static applications where the library We still strongly recommend to build static applications where the library
code is incorporated into the Mac OS X binary. However, in case you ship code is incorporated into the Mac OS X binary. However, in case you ship
applications that retquire plugin support,then you need to use dynamic applications that require plugin support,then you need to use dynamic
libraries as part of your application. libraries as part of your application.
@ -187,7 +187,7 @@ Do not forget to enclosure this in an #if defined(Q_OS_MACX) macro statement.
\section2 Translating the Application Menu and native dialogs \section2 Translating the Application Menu and native dialogs
You need to do a little extra to get the Application Menu and native dialogs You need to do a little extra to get the Application Menu and native dialogs
localized. This is a retquirement of Mac OS X and not of Qt. localized. This is a requirement of Mac OS X and not of Qt.
First, you must add a localized resource folder inside the Bundle see: First, you must add a localized resource folder inside the Bundle see:

@ -16,7 +16,7 @@
** and the KDE Free Qt Foundation. ** and the KDE Free Qt Foundation.
** **
** Please review the following information to ensure GNU General ** Please review the following information to ensure GNU General
** Public Licensing retquirements will be met: ** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. ** http://trolltech.com/products/qt/licenses/licensing/opensource/.
** If you are unsure which license is appropriate for your use, please ** If you are unsure which license is appropriate for your use, please
** review the following information: ** review the following information:

@ -11,7 +11,7 @@
.\" and the KDE Free Qt Foundation. .\" and the KDE Free Qt Foundation.
.\" .\"
.\" Please review the following information to ensure GNU General .\" Please review the following information to ensure GNU General
.\" Public Licensing retquirements will be met: .\" Public Licensing requirements will be met:
.\" http://trolltech.com/products/qt/licenses/licensing/opensource/. .\" http://trolltech.com/products/qt/licenses/licensing/opensource/.
.\" If you are unsure which license is appropriate for your use, please .\" If you are unsure which license is appropriate for your use, please
.\" review the following information: .\" review the following information:

@ -11,7 +11,7 @@
.\" and the KDE Free Qt Foundation. .\" and the KDE Free Qt Foundation.
.\" .\"
.\" Please review the following information to ensure GNU General .\" Please review the following information to ensure GNU General
.\" Public Licensing retquirements will be met: .\" Public Licensing requirements will be met:
.\" http://trolltech.com/products/qt/licenses/licensing/opensource/. .\" http://trolltech.com/products/qt/licenses/licensing/opensource/.
.\" If you are unsure which license is appropriate for your use, please .\" If you are unsure which license is appropriate for your use, please
.\" review the following information: .\" review the following information:
@ -48,7 +48,7 @@ translation files are given to the translator who uses
to read the files and insert the translations. to read the files and insert the translations.
.PP .PP
The .ts file format is a simple human-readable XML format that can be The .ts file format is a simple human-readable XML format that can be
used with version control systems if retquired. used with version control systems if required.
.PP .PP
.SH OPTIONS .SH OPTIONS
.TP .TP

@ -29,7 +29,7 @@ If you use
.B qmake .B qmake
to create your Makefiles, build rules will be included that call the to create your Makefiles, build rules will be included that call the
.B moc .B moc
when retquired, so you will not need to use the when required, so you will not need to use the
.B moc .B moc
directly. directly.
.PP .PP
@ -226,7 +226,7 @@ signals:
Less importantly, the following constructs are illegal. All of them Less importantly, the following constructs are illegal. All of them
have have alternatives which we think are usually better, so removing have have alternatives which we think are usually better, so removing
these limitations is not a high priority for us. these limitations is not a high priority for us.
.SS "Multiple inheritance retquires QObject to be first." .SS "Multiple inheritance requires QObject to be first."
If you are using multiple inheritance, If you are using multiple inheritance,
.B moc .B moc
assumes that the assumes that the

@ -830,7 +830,7 @@ The default implementation requests interaction and sends a close event to all v
.PP .PP
See also isSessionRestored(), sessionId(), saveState(), and the Session Management overview. See also isSessionRestored(), sessionId(), saveState(), and the Session Management overview.
.SH "int QApplication::cursorFlashTime ()\fC [static]\fR" .SH "int QApplication::cursorFlashTime ()\fC [static]\fR"
Returns the text cursor's flash (blink) time in milliseconds. The flash time is the time retquired to display, invert and restore the caret display. Returns the text cursor's flash (blink) time in milliseconds. The flash time is the time required to display, invert and restore the caret display.
.PP .PP
The default value on X11 is 1000 milliseconds. On Windows, the control panel value is used. The default value on X11 is 1000 milliseconds. On Windows, the control panel value is used.
.PP .PP
@ -1258,7 +1258,7 @@ QApplication::NormalColor. This is the default color allocation strategy. Use th
.TP .TP
QApplication::CustomColor. Use this option if your application needs a small number of custom colors. On X11, this option is the same as NormalColor. On Windows, Qt creates a Windows palette, and allocates colors to it on demand. QApplication::CustomColor. Use this option if your application needs a small number of custom colors. On X11, this option is the same as NormalColor. On Windows, Qt creates a Windows palette, and allocates colors to it on demand.
.TP .TP
QApplication::ManyColor. Use this option if your application is very color hungry (e.g. it retquires thousands of colors). Under X11 the effect is: QApplication::ManyColor. Use this option if your application is very color hungry (e.g. it requires thousands of colors). Under X11 the effect is:
.TP .TP
For 256-color displays which have at best a 256 color true color visual, the default visual is used, and colors are allocated from a color cube. The color cube is the 6x6x6 (216 color) "Web palette"<sup>*</sup>, but the number of colors can be changed by the \fI-ncols\fR option. The user can force the application to use the true color visual with the -visual option. For 256-color displays which have at best a 256 color true color visual, the default visual is used, and colors are allocated from a color cube. The color cube is the 6x6x6 (216 color) "Web palette"<sup>*</sup>, but the number of colors can be changed by the \fI-ncols\fR option. The user can force the application to use the true color visual with the -visual option.
.TP .TP
@ -1295,7 +1295,7 @@ See also colorSpec(), QColor::numBitPlanes(), and QColor::enterAllocContext().
Examples: Examples:
.)l helpviewer/main.cpp, opengl/main.cpp, showimg/main.cpp, t9/main.cpp, tetrax/tetrax.cpp, tetrix/tetrix.cpp, and themes/main.cpp. .)l helpviewer/main.cpp, opengl/main.cpp, showimg/main.cpp, t9/main.cpp, tetrax/tetrax.cpp, tetrix/tetrix.cpp, and themes/main.cpp.
.SH "void QApplication::setCursorFlashTime ( int msecs )\fC [static]\fR" .SH "void QApplication::setCursorFlashTime ( int msecs )\fC [static]\fR"
Sets the text cursor's flash (blink) time to \fImsecs\fR milliseconds. The flash time is the time retquired to display, invert and restore the caret display. Usually the text cursor is displayed for \fImsecs/2\fR milliseconds, then hidden for \fImsecs/2\fR milliseconds, but this may vary. Sets the text cursor's flash (blink) time to \fImsecs\fR milliseconds. The flash time is the time required to display, invert and restore the caret display. Usually the text cursor is displayed for \fImsecs/2\fR milliseconds, then hidden for \fImsecs/2\fR milliseconds, but this may vary.
.PP .PP
Note that on Microsoft Windows, calling this function sets the cursor flash time for all windows. Note that on Microsoft Windows, calling this function sets the cursor flash time for all windows.
.PP .PP
@ -1451,7 +1451,7 @@ See also QWidget::palette, palette(), and QStyle::polish().
Examples: Examples:
.)l i18n/main.cpp, themes/metal.cpp, themes/themes.cpp, and themes/wood.cpp. .)l i18n/main.cpp, themes/metal.cpp, themes/themes.cpp, and themes/wood.cpp.
.SH "void QApplication::setReverseLayout ( bool b )\fC [static]\fR" .SH "void QApplication::setReverseLayout ( bool b )\fC [static]\fR"
If \fIb\fR is TRUE, all dialogs and widgets will be laid out in a mirrored fashion, as retquired by right to left languages such as Arabic and Hebrew. If \fIb\fR is FALSE, dialogs and widgets are laid out left to right. If \fIb\fR is TRUE, all dialogs and widgets will be laid out in a mirrored fashion, as required by right to left languages such as Arabic and Hebrew. If \fIb\fR is FALSE, dialogs and widgets are laid out left to right.
.PP .PP
Changing this flag in runtime does not cause a relayout of already instantiated widgets. Changing this flag in runtime does not cause a relayout of already instantiated widgets.
.PP .PP

@ -63,7 +63,7 @@ The QAssistantClient class provides a means of using Qt Assistant as an applicat
.PP .PP
Using Qt Assistant is simple: Create a QAssistantClient instance, then call showPage() as often as necessary to show your help pages. When you call showPage(), Qt Assistant will be launched if it isn't already running. Using Qt Assistant is simple: Create a QAssistantClient instance, then call showPage() as often as necessary to show your help pages. When you call showPage(), Qt Assistant will be launched if it isn't already running.
.PP .PP
The QAssistantClient instance can open (openAssistant()) or close (closeAssistant()) Qt Assistant whenever retquired. If Qt Assistant is open, isOpen() returns TRUE. The QAssistantClient instance can open (openAssistant()) or close (closeAssistant()) Qt Assistant whenever required. If Qt Assistant is open, isOpen() returns TRUE.
.PP .PP
One QAssistantClient instance interacts with one Qt Assistant instance, so every time you call openAssistant(), showPage() or closeAssistant() they are applied to the particular Qt Assistant instance associated with the QAssistantClient. One QAssistantClient instance interacts with one Qt Assistant instance, so every time you call openAssistant(), showPage() or closeAssistant() they are applied to the particular Qt Assistant instance associated with the QAssistantClient.
.PP .PP

@ -263,7 +263,7 @@ If you reimplement this function you must also reimplement the destructor to cal
.SH "QString QAxBase::control () const" .SH "QString QAxBase::control () const"
Returns the name of the COM object wrapped by this QAxBase object. See the "control" property for details. Returns the name of the COM object wrapped by this QAxBase object. See the "control" property for details.
.SH "void QAxBase::disableClassInfo ()" .SH "void QAxBase::disableClassInfo ()"
Disables the class info generation for this ActiveX container. If you don't retquire any class information about the ActiveX control use this function to speed up the meta object generation. Disables the class info generation for this ActiveX container. If you don't require any class information about the ActiveX control use this function to speed up the meta object generation.
.PP .PP
Note that this function must be called immediately after construction of the object (without passing an object identifier), and before calling QAxWidget->setControl(). Note that this function must be called immediately after construction of the object (without passing an object identifier), and before calling QAxWidget->setControl().
.SH "void QAxBase::disableEventSink ()" .SH "void QAxBase::disableEventSink ()"

@ -48,7 +48,7 @@ This class is defined in the \fBQt ActiveQt Extension\fR, which can be found in
.PP .PP
The QAxBindable class provides an interface between a QWidget and an ActiveX client. The QAxBindable class provides an interface between a QWidget and an ActiveX client.
.PP .PP
The functions provided by this class allow an ActiveX control to communicate property changes to a client application. Inherit your control class from both QWidget (directly or indirectly) and this class to get access to this class's functions. The meta object compiler retquires you to inherit from QWidget \fIfirst\fR. The functions provided by this class allow an ActiveX control to communicate property changes to a client application. Inherit your control class from both QWidget (directly or indirectly) and this class to get access to this class's functions. The meta object compiler requires you to inherit from QWidget \fIfirst\fR.
.PP .PP
.nf .nf
.br .br

@ -187,7 +187,7 @@ l - l. WM_SYSKEYDOWN WM_SYSKEYUP WM_KEYDOWN All keycodes VK_MENU
.PP .PP
This table is the result of experimenting with popular ActiveX controls, This table is the result of experimenting with popular ActiveX controls,
ie. Internet Explorer and Microsoft Office applications, but for some ie. Internet Explorer and Microsoft Office applications, but for some
controls it might retquire modification. controls it might require modification.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR http://doc.trolltech.com/qaxwidget.html .BR http://doc.trolltech.com/qaxwidget.html

@ -106,7 +106,7 @@ Because QBitArray is a QMemArray, it uses explicit sharing with a reference coun
.PP .PP
A QBitArray is a special byte array that can access individual bits and perform bit-operations (AND, OR, XOR and NOT) on entire arrays or bits. A QBitArray is a special byte array that can access individual bits and perform bit-operations (AND, OR, XOR and NOT) on entire arrays or bits.
.PP .PP
Bits can be manipulated by the setBit() and clearBit() functions, but it is also possible to use the indexing [] operator to test and set individual bits. The [] operator is a little slower than setBit() and clearBit() because some tricks are retquired to implement single-bit assignments. Bits can be manipulated by the setBit() and clearBit() functions, but it is also possible to use the indexing [] operator to test and set individual bits. The [] operator is a little slower than setBit() and clearBit() because some tricks are required to implement single-bit assignments.
.PP .PP
Example: Example:
.PP .PP

@ -31,7 +31,7 @@ All the functions in this class are reentrant when Qt is built with thread suppo
.SH DESCRIPTION .SH DESCRIPTION
The QBitVal class is an internal class, used with QBitArray. The QBitVal class is an internal class, used with QBitArray.
.PP .PP
The QBitVal is retquired by the indexing [] operator on bit arrays. It is not for use in any other context. The QBitVal is required by the indexing [] operator on bit arrays. It is not for use in any other context.
.PP .PP
See also Collection Classes. See also Collection Classes.
.SH MEMBER FUNCTION DOCUMENTATION .SH MEMBER FUNCTION DOCUMENTATION

@ -240,7 +240,7 @@ Destroys the canvas and all the canvas's canvas items.
.SH "void QCanvas::advance ()\fC [virtual slot]\fR" .SH "void QCanvas::advance ()\fC [virtual slot]\fR"
Moves all QCanvasItem::animated() canvas items on the canvas and refreshes all changes to all views of the canvas. (An `animated' item is an item that is in motion; see setVelocity().) Moves all QCanvasItem::animated() canvas items on the canvas and refreshes all changes to all views of the canvas. (An `animated' item is an item that is in motion; see setVelocity().)
.PP .PP
The advance takes place in two phases. In phase 0, the QCanvasItem::advance() function of each QCanvasItem::animated() canvas item is called with paramater 0. Then all these canvas items are called again, with parameter 1. In phase 0, the canvas items should not change position, merely examine other items on the canvas for which special processing is retquired, such as collisions between items. In phase 1, all canvas items should change positions, ignoring any other items on the canvas. This two-phase approach allows for considerations of "fairness", although no QCanvasItem subclasses supplied with Qt do anything interesting in phase 0. The advance takes place in two phases. In phase 0, the QCanvasItem::advance() function of each QCanvasItem::animated() canvas item is called with paramater 0. Then all these canvas items are called again, with parameter 1. In phase 0, the canvas items should not change position, merely examine other items on the canvas for which special processing is required, such as collisions between items. In phase 1, all canvas items should change positions, ignoring any other items on the canvas. This two-phase approach allows for considerations of "fairness", although no QCanvasItem subclasses supplied with Qt do anything interesting in phase 0.
.PP .PP
The canvas can be configured to call this function periodically with setAdvancePeriod(). The canvas can be configured to call this function periodically with setAdvancePeriod().
.PP .PP
@ -331,7 +331,7 @@ This signal is emitted whenever the canvas is resized. Each QCanvasView connects
.SH "void QCanvas::retune ( int chunksze, int mxclusters = 100 )\fC [virtual]\fR" .SH "void QCanvas::retune ( int chunksze, int mxclusters = 100 )\fC [virtual]\fR"
Change the efficiency tuning parameters to \fImxclusters\fR clusters, each of size \fIchunksze\fR. This is a slow operation if there are many objects on the canvas. Change the efficiency tuning parameters to \fImxclusters\fR clusters, each of size \fIchunksze\fR. This is a slow operation if there are many objects on the canvas.
.PP .PP
The canvas is divided into chunks which are rectangular areas \fIchunksze\fR wide by \fIchunksze\fR high. Use a chunk size which is about the average size of the canvas items. If you choose a chunk size which is too small it will increase the amount of calculation retquired when drawing since each change will affect many chunks. If you choose a chunk size which is too large the amount of drawing retquired will increase because for each change, a lot of drawing will be retquired since there will be many (unchanged) canvas items which are in the same chunk as the changed canvas items. The canvas is divided into chunks which are rectangular areas \fIchunksze\fR wide by \fIchunksze\fR high. Use a chunk size which is about the average size of the canvas items. If you choose a chunk size which is too small it will increase the amount of calculation required when drawing since each change will affect many chunks. If you choose a chunk size which is too large the amount of drawing required will increase because for each change, a lot of drawing will be required since there will be many (unchanged) canvas items which are in the same chunk as the changed canvas items.
.PP .PP
Internally, a canvas uses a low-resolution "chunk matrix" to keep track of all the items in the canvas. A 64x64 chunk matrix is the default for a 1024x1024 pixel canvas, where each chunk collects canvas items in a 16x16 pixel square. This default is also affected by setTiles(). You can tune this default using this function. For example if you have a very large canvas and want to trade off speed for memory then you might set the chunk size to 32 or 64. Internally, a canvas uses a low-resolution "chunk matrix" to keep track of all the items in the canvas. A 64x64 chunk matrix is the default for a 1024x1024 pixel canvas, where each chunk collects canvas items in a 16x16 pixel square. This default is also affected by setTiles(). You can tune this default using this function. For example if you have a very large canvas and want to trade off speed for memory then you might set the chunk size to 32 or 64.
.PP .PP

@ -74,7 +74,7 @@ The QCanvasPolygonalItem class provides a polygonal canvas item on a QCanvas.
.PP .PP
The mostly rectangular classes, such as QCanvasSprite and QCanvasText, use the object's bounding rectangle for movement, repainting and collision calculations. For most other items, the bounding rectangle can be far too large -- a diagonal line being the worst case, and there are many other cases which are also bad. QCanvasPolygonalItem provides polygon-based bounding rectangle handling, etc., which is much faster for non-rectangular items. The mostly rectangular classes, such as QCanvasSprite and QCanvasText, use the object's bounding rectangle for movement, repainting and collision calculations. For most other items, the bounding rectangle can be far too large -- a diagonal line being the worst case, and there are many other cases which are also bad. QCanvasPolygonalItem provides polygon-based bounding rectangle handling, etc., which is much faster for non-rectangular items.
.PP .PP
Derived classes should try to define as small an area as possible to maximize efficiency, but the polygon must \fIdefinitely\fR be contained completely within the polygonal area. Calculating the exact retquirements is usually difficult, but if you allow a small overestimate it can be easy and tquick, while still getting almost all of QCanvasPolygonalItem's speed. Derived classes should try to define as small an area as possible to maximize efficiency, but the polygon must \fIdefinitely\fR be contained completely within the polygonal area. Calculating the exact requirements is usually difficult, but if you allow a small overestimate it can be easy and tquick, while still getting almost all of QCanvasPolygonalItem's speed.
.PP .PP
Note that all subclasses \fImust\fR call hide() in their destructor since hide() needs to be able to access areaPoints(). Note that all subclasses \fImust\fR call hide() in their destructor since hide() needs to be able to access areaPoints().
.PP .PP

@ -70,9 +70,9 @@ Reimplemented from QCanvasPolygon.
.SH "void QCanvasSpline::setControlPoints ( QPointArray ctrl, bool close = TRUE )" .SH "void QCanvasSpline::setControlPoints ( QPointArray ctrl, bool close = TRUE )"
Set the spline control points to \fIctrl\fR. Set the spline control points to \fIctrl\fR.
.PP .PP
If \fIclose\fR is TRUE, then the first point in \fIctrl\fR will be re-used as the last point, and the number of control points must be a multiple of 3. If \fIclose\fR is FALSE, one additional control point is retquired, and the number of control points must be one of (4, 7, 10, 13, ...). If \fIclose\fR is TRUE, then the first point in \fIctrl\fR will be re-used as the last point, and the number of control points must be a multiple of 3. If \fIclose\fR is FALSE, one additional control point is required, and the number of control points must be one of (4, 7, 10, 13, ...).
.PP .PP
If the number of control points doesn't meet the above conditions, the number of points will be truncated to the largest number of points that do meet the retquirement. If the number of control points doesn't meet the above conditions, the number of points will be truncated to the largest number of points that do meet the requirement.
.PP .PP
Example: canvas/canvas.cpp. Example: canvas/canvas.cpp.

@ -285,7 +285,7 @@ See also enterAllocContext().
.SH "int QColor::blue () const" .SH "int QColor::blue () const"
Returns the B (blue) component of the RGB value. Returns the B (blue) component of the RGB value.
.SH "void QColor::cleanup ()\fC [static]\fR" .SH "void QColor::cleanup ()\fC [static]\fR"
Internal clean up retquired for QColor. This function is called from the QApplication destructor. Internal clean up required for QColor. This function is called from the QApplication destructor.
.PP .PP
See also initialize(). See also initialize().
.SH "QStringList QColor::colorNames ()\fC [static]\fR" .SH "QStringList QColor::colorNames ()\fC [static]\fR"
@ -408,7 +408,7 @@ Returns the G (green) component of the RGB value.
.PP .PP
Example: themes/metal.cpp. Example: themes/metal.cpp.
.SH "void QColor::initialize ()\fC [static]\fR" .SH "void QColor::initialize ()\fC [static]\fR"
Internal initialization retquired for QColor. This function is called from the QApplication constructor. Internal initialization required for QColor. This function is called from the QApplication constructor.
.PP .PP
See also cleanup(). See also cleanup().
.SH "bool QColor::isValid () const" .SH "bool QColor::isValid () const"

@ -109,7 +109,7 @@ Example:
.fi .fi
This example assumes that the \fImsg\fR is a DCOP-style function signature and the \fIdata\fR contains the function's arguments. (See send().) This example assumes that the \fImsg\fR is a DCOP-style function signature and the \fIdata\fR contains the function's arguments. (See send().)
.PP .PP
Using the DCOP convention is a recommendation, but not a retquirement. Whatever convention you use the sender and receiver \fImust\fR agree on the argument types. Using the DCOP convention is a recommendation, but not a requirement. Whatever convention you use the sender and receiver \fImust\fR agree on the argument types.
.PP .PP
See also send(). See also send().
.SH "void QCopChannel::received ( const QCString & msg, const QByteArray & data )\fC [signal]\fR" .SH "void QCopChannel::received ( const QCString & msg, const QByteArray & data )\fC [signal]\fR"
@ -134,7 +134,7 @@ Example:
.fi .fi
Here the channel is "System/Shell". The \fImsg\fR is an arbitrary string, but in the example we've used the DCOP convention of passing a function signature. Such a signature is formatted as functionname(types) where types is a list of zero or more comma-separated type names, with no whitespace, no consts and no pointer or reference marks, i.e. no "*" or "&". Here the channel is "System/Shell". The \fImsg\fR is an arbitrary string, but in the example we've used the DCOP convention of passing a function signature. Such a signature is formatted as functionname(types) where types is a list of zero or more comma-separated type names, with no whitespace, no consts and no pointer or reference marks, i.e. no "*" or "&".
.PP .PP
Using the DCOP convention is a recommendation, but not a retquirement. Whatever convention you use the sender and receiver \fImust\fR agree on the argument types. Using the DCOP convention is a recommendation, but not a requirement. Whatever convention you use the sender and receiver \fImust\fR agree on the argument types.
.PP .PP
See also receive(). See also receive().
.SH "bool QCopChannel::send ( const QCString & channel, const QCString & msg )\fC [static]\fR" .SH "bool QCopChannel::send ( const QCString & channel, const QCString & msg )\fC [static]\fR"

@ -288,7 +288,7 @@ Then read it in with:
.br .br
.fi .fi
.PP .PP
You can select which byte order to use when serializing data. The default setting is big endian (MSB first). Changing it to little endian breaks the portability (unless the reader also changes to little endian). We recommend keeping this setting unless you have special retquirements. You can select which byte order to use when serializing data. The default setting is big endian (MSB first). Changing it to little endian breaks the portability (unless the reader also changes to little endian). We recommend keeping this setting unless you have special requirements.
.SH "Reading and writing raw binary data" .SH "Reading and writing raw binary data"
You may wish to read/write your own raw binary data to/from the data stream directly. Data may be read from the stream into a preallocated char* using readRawBytes(). Similarly data can be written to the stream using writeRawBytes(). Notice that any encoding/decoding of the data must be done by you. You may wish to read/write your own raw binary data to/from the data stream directly. Data may be read from the stream into a preallocated char* using readRawBytes(). Similarly data can be written to the stream using writeRawBytes(). Notice that any encoding/decoding of the data must be done by you.
.PP .PP
@ -488,7 +488,7 @@ Sets the serialization byte order to \fIbo\fR.
.PP .PP
The \fIbo\fR parameter can be QDataStream::BigEndian or QDataStream::LittleEndian. The \fIbo\fR parameter can be QDataStream::BigEndian or QDataStream::LittleEndian.
.PP .PP
The default setting is big endian. We recommend leaving this setting unless you have special retquirements. The default setting is big endian. We recommend leaving this setting unless you have special requirements.
.PP .PP
See also byteOrder(). See also byteOrder().
.SH "void QDataStream::setDevice ( QIODevice * d )" .SH "void QDataStream::setDevice ( QIODevice * d )"

@ -116,7 +116,7 @@ If the user presses the Esc key in a dialog, QDialog::reject() will be called. T
.SH "Extensibility" .SH "Extensibility"
Extensibility is the ability to show the dialog in two ways: a partial dialog that shows the most commonly used options, and a full dialog that shows all the options. Typically an extensible dialog will initially appear as a partial dialog, but with a" More" toggle button. If the user presses the "More" button down, the full dialog will appear. The extension widget will be resized to its sizeHint(). If orientation is Horizontal the extension widget's height() will be expanded to the height() of the dialog. If the orientation is Vertical the extension widget's width() will be expanded to the width() of the dialog. Extensibility is controlled with setExtension(), setOrientation() and showExtension(). Extensibility is the ability to show the dialog in two ways: a partial dialog that shows the most commonly used options, and a full dialog that shows all the options. Typically an extensible dialog will initially appear as a partial dialog, but with a" More" toggle button. If the user presses the "More" button down, the full dialog will appear. The extension widget will be resized to its sizeHint(). If orientation is Horizontal the extension widget's height() will be expanded to the height() of the dialog. If the orientation is Vertical the extension widget's width() will be expanded to the width() of the dialog. Extensibility is controlled with setExtension(), setOrientation() and showExtension().
.SH "Return value (modal dialogs)" .SH "Return value (modal dialogs)"
Modal dialogs are often used in situations where a return value is retquired, e.g. to indicate whether the user pressed "OK" or" Cancel". A dialog can be closed by calling the accept() or the reject() slots, and exec() will return Accepted or Rejected as appropriate. The exec() call returns the result of the dialog. The result is also available from result() if the dialog has not been destroyed. If the WDestructiveClose flag is set, the dialog is deleted after exec() returns. Modal dialogs are often used in situations where a return value is required, e.g. to indicate whether the user pressed "OK" or" Cancel". A dialog can be closed by calling the accept() or the reject() slots, and exec() will return Accepted or Rejected as appropriate. The exec() call returns the result of the dialog. The result is also available from result() if the dialog has not been destroyed. If the WDestructiveClose flag is set, the dialog is deleted after exec() returns.
.SH "Examples" .SH "Examples"
A modal dialog. A modal dialog.
.PP .PP

@ -390,7 +390,7 @@ Set this property's value with setMovingEnabled() and get this property's value
.SH "bool newLine" .SH "bool newLine"
This property holds whether the dock window prefers to start a new line in the dock area. This property holds whether the dock window prefers to start a new line in the dock area.
.PP .PP
The default is FALSE, i.e. the dock window doesn't retquire a new line in the dock area. The default is FALSE, i.e. the dock window doesn't require a new line in the dock area.
.PP .PP
Set this property's value with setNewLine() and get this property's value with newLine(). Set this property's value with setNewLine() and get this property's value with newLine().
.SH "int offset" .SH "int offset"

@ -345,7 +345,7 @@ Assigns \fIx\fR to this DOM document.
.PP .PP
The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode(). The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode().
.SH "bool QDomDocument::setContent ( const QByteArray & buffer, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )" .SH "bool QDomDocument::setContent ( const QByteArray & buffer, bool namespaceProcessing, QString * errorMsg = 0, int * errorLine = 0, int * errorColumn = 0 )"
This function parses the XML document from the byte array \fIbuffer\fR and sets it as the content of the document. It tries to detect the encoding of the document as retquired by the XML specification. This function parses the XML document from the byte array \fIbuffer\fR and sets it as the content of the document. It tries to detect the encoding of the document as required by the XML specification.
.PP .PP
If \fInamespaceProcessing\fR is TRUE, the parser recognizes namespaces in the XML file and sets the prefix name, local name and namespace URI to appropriate values. If \fInamespaceProcessing\fR is FALSE, the parser does no namespace processing when it reads the XML file. If \fInamespaceProcessing\fR is TRUE, the parser recognizes namespaces in the XML file and sets the prefix name, local name and namespace URI to appropriate values. If \fInamespaceProcessing\fR is FALSE, the parser does no namespace processing when it reads the XML file.
.PP .PP

@ -46,7 +46,7 @@ All the functions in this class are reentrant when Qt is built with thread suppo
.SH DESCRIPTION .SH DESCRIPTION
The QDomNodeList class is a list of QDomNode objects. The QDomNodeList class is a list of QDomNode objects.
.PP .PP
Lists can be obtained by QDomDocument::elementsByTagName() and QDomNode::childNodes(). The Document Object Model (DOM) retquires these lists to be "live": whenever you change the underlying document, the contents of the list will get updated. Lists can be obtained by QDomDocument::elementsByTagName() and QDomNode::childNodes(). The Document Object Model (DOM) requires these lists to be "live": whenever you change the underlying document, the contents of the list will get updated.
.PP .PP
You can get a particular node from the list with item(). The number of items in the list is returned by count() (and by length()). You can get a particular node from the list with item(). The number of items in the list is returned by count() (and by length()).
.PP .PP

@ -479,7 +479,7 @@ See also addToolButton(), addLeftWidget(), and addRightWidget().
.SH "const QDir * QFileDialog::dir () const" .SH "const QDir * QFileDialog::dir () const"
Returns the current directory shown in the file dialog. Returns the current directory shown in the file dialog.
.PP .PP
The ownership of the QDir pointer is transferred to the caller, so it must be deleted by the caller when no longer retquired. The ownership of the QDir pointer is transferred to the caller, so it must be deleted by the caller when no longer required.
.PP .PP
See also setDir(). See also setDir().
.SH "void QFileDialog::dirEntered ( const QString & )\fC [signal]\fR" .SH "void QFileDialog::dirEntered ( const QString & )\fC [signal]\fR"

@ -679,7 +679,7 @@ See also pointSize(), setPointSizeFloat(), pixelSize(), QFontInfo::pointSize(),
.SH "void QFont::qwsRenderToDisk ( bool all = TRUE )" .SH "void QFont::qwsRenderToDisk ( bool all = TRUE )"
Saves the glyphs in the font that have previously been accessed as a QPF file. If \fIall\fR is TRUE (the default), then before saving, all glyphs are marked as used. Saves the glyphs in the font that have previously been accessed as a QPF file. If \fIall\fR is TRUE (the default), then before saving, all glyphs are marked as used.
.PP .PP
If the font is large and you are sure that only a subset of characters will ever be retquired on the target device, passing FALSE for the \fIall\fR parameter can save a significant amount of disk space. If the font is large and you are sure that only a subset of characters will ever be required on the target device, passing FALSE for the \fIall\fR parameter can save a significant amount of disk space.
.PP .PP
Note that this function is only applicable on Qt/Embedded. Note that this function is only applicable on Qt/Embedded.
.SH "bool QFont::rawMode () const" .SH "bool QFont::rawMode () const"

@ -131,7 +131,7 @@ On Windows, it calls the virtual function choosePixelFormat(), which finds a mat
.SH "void * QGLContext::chooseMacVisual ( GDHandle device )\fC [virtual protected]\fR" .SH "void * QGLContext::chooseMacVisual ( GDHandle device )\fC [virtual protected]\fR"
\fBMac only\fR: This virtual function tries to find a visual that matches the format using the given \fIdevice\fR handle, reducing the demands if the original request cannot be met. \fBMac only\fR: This virtual function tries to find a visual that matches the format using the given \fIdevice\fR handle, reducing the demands if the original request cannot be met.
.PP .PP
The algorithm for reducing the demands of the format is quite simple-minded, so override this method in your subclass if your application has specific retquirements on visual selection. The algorithm for reducing the demands of the format is quite simple-minded, so override this method in your subclass if your application has specific requirements on visual selection.
.PP .PP
See also chooseContext(). See also chooseContext().
.SH "int QGLContext::choosePixelFormat ( void * dummyPfd, HDC pdc )\fC [virtual protected]\fR" .SH "int QGLContext::choosePixelFormat ( void * dummyPfd, HDC pdc )\fC [virtual protected]\fR"
@ -143,7 +143,7 @@ See also chooseContext().
.SH "void * QGLContext::chooseVisual ()\fC [virtual protected]\fR" .SH "void * QGLContext::chooseVisual ()\fC [virtual protected]\fR"
\fBX11 only\fR: This virtual function tries to find a visual that matches the format, reducing the demands if the original request cannot be met. \fBX11 only\fR: This virtual function tries to find a visual that matches the format, reducing the demands if the original request cannot be met.
.PP .PP
The algorithm for reducing the demands of the format is quite simple-minded, so override this method in your subclass if your application has spcific retquirements on visual selection. The algorithm for reducing the demands of the format is quite simple-minded, so override this method in your subclass if your application has spcific requirements on visual selection.
.PP .PP
See also chooseContext(). See also chooseContext().
.SH "bool QGLContext::create ( const QGLContext * shareContext = 0 )\fC [virtual]\fR" .SH "bool QGLContext::create ( const QGLContext * shareContext = 0 )\fC [virtual]\fR"

@ -184,7 +184,7 @@ After the widget has been created, you can find out which of the requested featu
.br .br
if ( !w->format().hasOverlay() ) { if ( !w->format().hasOverlay() ) {
.br .br
qFatal( "Cool hardware retquired" ); qFatal( "Cool hardware required" );
.br .br
} }
.br .br

@ -371,13 +371,13 @@ Depending on your hardware, you can explicitly select which color buffer to grab
.SH "void QGLWidget::initializeGL ()\fC [virtual protected]\fR" .SH "void QGLWidget::initializeGL ()\fC [virtual protected]\fR"
This virtual function is called once before the first call to paintGL() or resizeGL(), and then once whenever the widget has been assigned a new QGLContext. Reimplement it in a subclass. This virtual function is called once before the first call to paintGL() or resizeGL(), and then once whenever the widget has been assigned a new QGLContext. Reimplement it in a subclass.
.PP .PP
This function should set up any retquired OpenGL context rendering flags, defining display lists, etc. This function should set up any required OpenGL context rendering flags, defining display lists, etc.
.PP .PP
There is no need to call makeCurrent() because this has already been done when this function is called. There is no need to call makeCurrent() because this has already been done when this function is called.
.SH "void QGLWidget::initializeOverlayGL ()\fC [virtual protected]\fR" .SH "void QGLWidget::initializeOverlayGL ()\fC [virtual protected]\fR"
This virtual function is used in the same manner as initializeGL() except that it operates on the widget's overlay context instead of the widget's main context. This means that initializeOverlayGL() is called once before the first call to paintOverlayGL() or resizeOverlayGL(). Reimplement it in a subclass. This virtual function is used in the same manner as initializeGL() except that it operates on the widget's overlay context instead of the widget's main context. This means that initializeOverlayGL() is called once before the first call to paintOverlayGL() or resizeOverlayGL(). Reimplement it in a subclass.
.PP .PP
This function should set up any retquired OpenGL context rendering flags, defining display lists, etc. for the overlay context. This function should set up any required OpenGL context rendering flags, defining display lists, etc. for the overlay context.
.PP .PP
There is no need to call makeOverlayCurrent() because this has already been done when this function is called. There is no need to call makeOverlayCurrent() because this has already been done when this function is called.
.SH "bool QGLWidget::isSharing () const" .SH "bool QGLWidget::isSharing () const"

@ -85,7 +85,7 @@ The functions and operators available with a QGuardedPtr are the same as those a
.PP .PP
For creating guarded pointers, you can construct or assign to them from an X* or from another guarded pointer of the same type. You can compare them with each other using operator==() and operator!=(), or test for 0 with isNull(). And you can dereference them using either the \fC*x\fR or the \fCx->member\fR notation. For creating guarded pointers, you can construct or assign to them from an X* or from another guarded pointer of the same type. You can compare them with each other using operator==() and operator!=(), or test for 0 with isNull(). And you can dereference them using either the \fC*x\fR or the \fCx->member\fR notation.
.PP .PP
A guarded pointer will automatically cast to an X*, so you can freely mix guarded and unguarded pointers. This means that if you have a QGuardedPtr<QWidget>, you can pass it to a function that retquires a QWidget*. For this reason, it is of little value to declare functions to take a QGuardedPtr as a parameter; just use normal pointers. Use a QGuardedPtr when you are storing a pointer over time. A guarded pointer will automatically cast to an X*, so you can freely mix guarded and unguarded pointers. This means that if you have a QGuardedPtr<QWidget>, you can pass it to a function that requires a QWidget*. For this reason, it is of little value to declare functions to take a QGuardedPtr as a parameter; just use normal pointers. Use a QGuardedPtr when you are storing a pointer over time.
.PP .PP
Note again that class \fIX\fR must inherit QObject, or a compilation or link error will result. Note again that class \fIX\fR must inherit QObject, or a compilation or link error will result.
.PP .PP
@ -104,7 +104,7 @@ Destroys the guarded pointer. Just like a normal pointer, destroying a guarded p
.SH "bool QGuardedPtr::isNull () const" .SH "bool QGuardedPtr::isNull () const"
Returns \fCTRUE\fR if the referenced object has been destroyed or if there is no referenced object; otherwise returns FALSE. Returns \fCTRUE\fR if the referenced object has been destroyed or if there is no referenced object; otherwise returns FALSE.
.SH "QGuardedPtr::operator T * () const" .SH "QGuardedPtr::operator T * () const"
Cast operator; implements pointer semantics. Because of this function you can pass a QGuardedPtr<X> to a function where an X* is retquired. Cast operator; implements pointer semantics. Because of this function you can pass a QGuardedPtr<X> to a function where an X* is required.
.SH "bool QGuardedPtr::operator!= ( const QGuardedPtr<T> & p ) const" .SH "bool QGuardedPtr::operator!= ( const QGuardedPtr<T> & p ) const"
Inequality operator; implements pointer semantics, the negation of operator==(). Returns TRUE if \fIp\fR and this guarded pointer are not pointing to the same object; otherwise returns FALSE. Inequality operator; implements pointer semantics, the negation of operator==(). Returns TRUE if \fIp\fR and this guarded pointer are not pointing to the same object; otherwise returns FALSE.
.SH "T & QGuardedPtr::operator* () const" .SH "T & QGuardedPtr::operator* () const"

@ -342,7 +342,7 @@ See also hasPendingRequests() and abort().
.SH "int QHttp::closeConnection ()" .SH "int QHttp::closeConnection ()"
Closes the connection; this is useful if you have a keep-alive connection and want to close it. Closes the connection; this is useful if you have a keep-alive connection and want to close it.
.PP .PP
For the requests issued with get(), post() and head(), QHttp sets the connection to be keep-alive. You can also do this using the header you pass to the request() function. QHttp only closes the connection to the HTTP server if the response header retquires it to do so. For the requests issued with get(), post() and head(), QHttp sets the connection to be keep-alive. You can also do this using the header you pass to the request() function. QHttp only closes the connection to the HTTP server if the response header requires it to do so.
.PP .PP
The function does not block and returns immediately. The request is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by requestStarted() and requestFinished(). The function does not block and returns immediately. The request is scheduled, and its execution is performed asynchronously. The function returns a unique identifier which is passed by requestStarted() and requestFinished().
.PP .PP

@ -88,7 +88,7 @@ The QIconSet class provides a set of icons with different styles and sizes.
.PP .PP
A QIconSet can generate smaller, larger, active, and disabled pixmaps from the set of icons it is given. Such pixmaps are used by QToolButton, QHeader, QPopupMenu, etc. to show an icon representing a particular action. A QIconSet can generate smaller, larger, active, and disabled pixmaps from the set of icons it is given. Such pixmaps are used by QToolButton, QHeader, QPopupMenu, etc. to show an icon representing a particular action.
.PP .PP
The simplest use of QIconSet is to create one from a QPixmap and then use it, allowing Qt to work out all the retquired icon styles and sizes. For example: The simplest use of QIconSet is to create one from a QPixmap and then use it, allowing Qt to work out all the required icon styles and sizes. For example:
.PP .PP
.nf .nf
.br .br
@ -165,7 +165,7 @@ This enum type describes the size at which a pixmap is intended to be used. The
.TP .TP
\fCQIconSet::Large\fR - The pixmap is the larger of two. \fCQIconSet::Large\fR - The pixmap is the larger of two.
.PP .PP
If a Small pixmap is not set by QIconSet::setPixmap(), the Large pixmap will be automatically scaled down to the size of a small pixmap to generate the Small pixmap when retquired. Similarly, a Small pixmap will be automatically scaled up to generate a Large pixmap. The preferred sizes for large/small generated icons can be set using setIconSize(). If a Small pixmap is not set by QIconSet::setPixmap(), the Large pixmap will be automatically scaled down to the size of a small pixmap to generate the Small pixmap when required. Similarly, a Small pixmap will be automatically scaled up to generate a Large pixmap. The preferred sizes for large/small generated icons can be set using setIconSize().
.PP .PP
See also setIconSize(), iconSize(), setPixmap(), pixmap(), and QMainWindow::usesBigPixmaps. See also setIconSize(), iconSize(), setPixmap(), pixmap(), and QMainWindow::usesBigPixmaps.
.SH "QIconSet::State" .SH "QIconSet::State"

@ -390,7 +390,7 @@ This enum type is used to describe the endianness of the CPU and graphics hardwa
.TP .TP
\fCQImage::LittleEndian\fR - PC/Alpha byte order. \fCQImage::LittleEndian\fR - PC/Alpha byte order.
.SH "QImage::ScaleMode" .SH "QImage::ScaleMode"
The functions scale() and smoothScale() use different modes for scaling the image. The purpose of these modes is to retain the ratio of the image if this is retquired. The functions scale() and smoothScale() use different modes for scaling the image. The purpose of these modes is to retain the ratio of the image if this is required.
.PP .PP
<center> <center>
.ce 1 .ce 1

@ -53,9 +53,9 @@ A QImageDecoder is a machine that decodes images. It takes encoded image data vi
.PP .PP
QImageFormatType and QImageFormat are the classes that you might need to implement support for additional image formats. QImageFormatType and QImageFormat are the classes that you might need to implement support for additional image formats.
.PP .PP
Qt supports GIF reading if it is configured that way during installation (see qgif.h). If it is, we are retquired to state that" The Graphics Interchange Format(c) is the Copyright property of CompuServe Incorporated. GIF(sm) is a Service Mark property of CompuServe Incorporated." Qt supports GIF reading if it is configured that way during installation (see qgif.h). If it is, we are required to state that" The Graphics Interchange Format(c) is the Copyright property of CompuServe Incorporated. GIF(sm) is a Service Mark property of CompuServe Incorporated."
.PP .PP
\fBWarning:\fR If you are in a country that recognizes software patents and in which Unisys holds a patent on LZW compression and/or decompression and you want to use GIF, Unisys may retquire you to license that technology. Such countries include Canada, Japan, the USA, France, Germany, Italy and the UK. \fBWarning:\fR If you are in a country that recognizes software patents and in which Unisys holds a patent on LZW compression and/or decompression and you want to use GIF, Unisys may require you to license that technology. Such countries include Canada, Japan, the USA, France, Germany, Italy and the UK.
.PP .PP
GIF support may be removed completely in a future version of Qt. We recommend using the MNG or PNG format. GIF support may be removed completely in a future version of Qt. We recommend using the MNG or PNG format.
.PP .PP

@ -117,7 +117,7 @@ For image files that contain sequences of images, only the first is read. See QM
.PP .PP
PBM, PGM, and PPM format \fIoutput\fR is always in the more condensed raw format. PPM and PGM files with more than 256 levels of intensity are scaled down when reading. PBM, PGM, and PPM format \fIoutput\fR is always in the more condensed raw format. PPM and PGM files with more than 256 levels of intensity are scaled down when reading.
.PP .PP
\fBWarning:\fR If you are in a country which recognizes software patents and in which Unisys holds a patent on LZW compression and/or decompression and you want to use GIF, Unisys may retquire you to license the technology. Such countries include Canada, Japan, the USA, France, Germany, Italy and the UK. \fBWarning:\fR If you are in a country which recognizes software patents and in which Unisys holds a patent on LZW compression and/or decompression and you want to use GIF, Unisys may require you to license the technology. Such countries include Canada, Japan, the USA, France, Germany, Italy and the UK.
.PP .PP
GIF support may be removed completely in a future version of Qt. We recommend using the PNG format. GIF support may be removed completely in a future version of Qt. We recommend using the PNG format.
.PP .PP
@ -289,7 +289,7 @@ Sets the image to \fIimage\fR.
.PP .PP
See also image(). See also image().
.SH "void QImageIO::setParameters ( const char * parameters )" .SH "void QImageIO::setParameters ( const char * parameters )"
Sets the image's parameter string to \fIparameters\fR. This is for image handlers that retquire special parameters. Sets the image's parameter string to \fIparameters\fR. This is for image handlers that require special parameters.
.PP .PP
Although the current image formats supported by Qt ignore the parameters string, it may be used in future extensions or by contributions (for example, JPEG). Although the current image formats supported by Qt ignore the parameters string, it may be used in future extensions or by contributions (for example, JPEG).
.PP .PP

@ -169,7 +169,7 @@ Returns the address of the exported symbol \fIsymb\fR. The library is loaded if
.br .br
.fi .fi
.PP .PP
The symbol must be exported as a C-function from the library. This retquires the \fCextern "C"\fR notation if the library is compiled with a C++ compiler. On Windows you also have to explicitly export the function from the DLL using the \fC__declspec(dllexport)\fR compiler directive. The symbol must be exported as a C-function from the library. This requires the \fCextern "C"\fR notation if the library is compiled with a C++ compiler. On Windows you also have to explicitly export the function from the DLL using the \fC__declspec(dllexport)\fR compiler directive.
.PP .PP
.nf .nf
.br .br

@ -666,7 +666,7 @@ Unset the mask and return to normal QLineEdit operation by passing an empty stri
.PP .PP
The mask format understands these mask characters: <center>.nf The mask format understands these mask characters: <center>.nf
.TS .TS
l - l. Character Meaning ASCII alphabetic character retquired. A-Z, a-z. ASCII alphabetic character permitted but not retquired. ASCII alphanumeric character retquired. A-Z, a-z, 0-9. ASCII alphanumeric character permitted but not retquired. Any character retquired. x Any character permitted but not retquired. ASCII digit retquired. 0-9. ASCII digit permitted but not retquired. ASCII digit retquired. 1-9. ASCII digit permitted but not retquired (1-9). ASCII digit or plus/minus sign permitted but not retquired. All following alphabetic characters are uppercased. All following alphabetic characters are lowercased. Switch off case conversion. Use l - l. Character Meaning ASCII alphabetic character required. A-Z, a-z. ASCII alphabetic character permitted but not required. ASCII alphanumeric character required. A-Z, a-z, 0-9. ASCII alphanumeric character permitted but not required. Any character required. x Any character permitted but not required. ASCII digit required. 0-9. ASCII digit permitted but not required. ASCII digit required. 1-9. ASCII digit permitted but not required (1-9). ASCII digit or plus/minus sign permitted but not required. All following alphabetic characters are uppercased. All following alphabetic characters are lowercased. Switch off case conversion. Use
.TE .TE
.fi .fi
</center> </center>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save