Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/95/head
Michele Calgaro 1 year ago
parent d21227053c
commit 089d5266f0
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -51,8 +51,8 @@ following fields:
\row \i \c{keycode}
\i TQt keycode value as defined in \c ntqnamespace.h
\row \i \c{modifier}
\i A bitfield consisting of some of \c Qt::ShiftButton,
\c Qt::ControlButton, and \c Qt::AltButton.
\i A bitfield consisting of some of \c TQt::ShiftButton,
\c TQt::ControlButton, and \c TQt::AltButton.
\row \i \c{is_press}
\i TRUE if this is a key press, FALSE if it is a key release.
\row \i \c{is_auto_repeat}

@ -8134,38 +8134,38 @@
"Qt/Embedded environment variables" emb-envvars.html
"Qt/Mac Issues" mac-differences.html
"Qt/Mac is Mac OS X Native" qtmac-as-native.html
"Qt::AlignmentFlags" ntqt.html#AlignmentFlags
"Qt::AnchorAttribute" ntqt.html#AnchorAttribute
"Qt::ArrowType" ntqt.html#ArrowType
"Qt::BGMode" ntqt.html#BGMode
"Qt::BackgroundMode" ntqt.html#BackgroundMode
"Qt::BrushStyle" ntqt.html#BrushStyle
"Qt::ButtonState" ntqt.html#ButtonState
"Qt::Corner" ntqt.html#Corner
"Qt::CursorShape" ntqt.html#CursorShape
"Qt::DateFormat" ntqt.html#DateFormat
"Qt::Dock" ntqt.html#Dock
"Qt::ImageConversionFlags" ntqt.html#ImageConversionFlags
"Qt::Key" ntqt.html#Key
"Qt::MacintoshVersion" ntqt.html#MacintoshVersion
"Qt::Modifier" ntqt.html#Modifier
"Qt::Orientation" ntqt.html#Orientation
"Qt::PaintUnit" ntqt.html#PaintUnit
"Qt::PenCapStyle" ntqt.html#PenCapStyle
"Qt::PenJoinStyle" ntqt.html#PenJoinStyle
"Qt::PenStyle" ntqt.html#PenStyle
"Qt::RasterOp" ntqt.html#RasterOp
"Qt::SequenceMatch" ntqt.html#SequenceMatch
"Qt::SortOrder" ntqt.html#SortOrder
"Qt::StringComparisonMode" ntqt.html#StringComparisonMode
"Qt::TextFlags" ntqt.html#TextFlags
"Qt::TextFormat" ntqt.html#TextFormat
"Qt::TimeSpec" ntqt.html#TimeSpec
"Qt::UIEffect" ntqt.html#UIEffect
"Qt::WidgetFlags" ntqt.html#WidgetFlags
"Qt::WidgetState" ntqt.html#WidgetState
"Qt::WindowState" ntqt.html#WindowState
"Qt::WindowsVersion" ntqt.html#WindowsVersion
"TQt::AlignmentFlags" ntqt.html#AlignmentFlags
"TQt::AnchorAttribute" ntqt.html#AnchorAttribute
"TQt::ArrowType" ntqt.html#ArrowType
"TQt::BGMode" ntqt.html#BGMode
"TQt::BackgroundMode" ntqt.html#BackgroundMode
"TQt::BrushStyle" ntqt.html#BrushStyle
"TQt::ButtonState" ntqt.html#ButtonState
"TQt::Corner" ntqt.html#Corner
"TQt::CursorShape" ntqt.html#CursorShape
"TQt::DateFormat" ntqt.html#DateFormat
"TQt::Dock" ntqt.html#Dock
"TQt::ImageConversionFlags" ntqt.html#ImageConversionFlags
"TQt::Key" ntqt.html#Key
"TQt::MacintoshVersion" ntqt.html#MacintoshVersion
"TQt::Modifier" ntqt.html#Modifier
"TQt::Orientation" ntqt.html#Orientation
"TQt::PaintUnit" ntqt.html#PaintUnit
"TQt::PenCapStyle" ntqt.html#PenCapStyle
"TQt::PenJoinStyle" ntqt.html#PenJoinStyle
"TQt::PenStyle" ntqt.html#PenStyle
"TQt::RasterOp" ntqt.html#RasterOp
"TQt::SequenceMatch" ntqt.html#SequenceMatch
"TQt::SortOrder" ntqt.html#SortOrder
"TQt::StringComparisonMode" ntqt.html#StringComparisonMode
"TQt::TextFlags" ntqt.html#TextFlags
"TQt::TextFormat" ntqt.html#TextFormat
"TQt::TimeSpec" ntqt.html#TimeSpec
"TQt::UIEffect" ntqt.html#UIEffect
"TQt::WidgetFlags" ntqt.html#WidgetFlags
"TQt::WidgetState" ntqt.html#WidgetState
"TQt::WindowState" ntqt.html#WindowState
"TQt::WindowsVersion" ntqt.html#WindowsVersion
"Range controls" rangecontrols-example.html
"Refactoring Existing Code" motif-walkthrough-7.html
"Replacing the Print Dialog" motif-walkthrough-9.html

@ -3,7 +3,7 @@
<name>QAction::accel</name>
<doc href="ntqaction.html#accel-prop">
&lt;p&gt;This property holds the action's accelerator key.
&lt;p&gt;The keycodes can be found in &lt;a href="ntqt.html#Key-enum"&gt;Qt::Key&lt;/a&gt; and &lt;a href="ntqt.html#Modifier-enum"&gt;Qt::Modifier&lt;/a&gt;. There
&lt;p&gt;The keycodes can be found in &lt;a href="ntqt.html#Key-enum"&gt;TQt::Key&lt;/a&gt; and &lt;a href="ntqt.html#Modifier-enum"&gt;TQt::Modifier&lt;/a&gt;. There
is no default accelerator key.
&lt;p&gt;Set this property's value with &lt;a href="ntqaction.html#setAccel"&gt;setAccel&lt;/a&gt;() and get this property's value with &lt;a href="ntqaction.html#accel"&gt;accel&lt;/a&gt;().
@ -737,7 +737,7 @@ update operations occur immediately.
<doc href="ntqdatatable.html#dateFormat-prop">
&lt;p&gt;This property holds the format used for displaying date/time values.
&lt;p&gt;The dateFormat property is used for displaying date/time values in
the table. The default value is &lt;a href="ntqt.html#DateFormat-enum"&gt;Qt::LocalDate&lt;/a&gt;.
the table. The default value is &lt;a href="ntqt.html#DateFormat-enum"&gt;TQt::LocalDate&lt;/a&gt;.
&lt;p&gt;Set this property's value with &lt;a href="ntqdatatable.html#setDateFormat"&gt;setDateFormat&lt;/a&gt;() and get this property's value with &lt;a href="ntqdatatable.html#dateFormat"&gt;dateFormat&lt;/a&gt;().
</doc>
@ -1470,7 +1470,7 @@ usually to the left.
&lt;li&gt; &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;AlignHCenter&lt;/a&gt; aligns the title text centered.
&lt;/ul&gt;
&lt;p&gt; The default alignment is &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;AlignAuto&lt;/a&gt;.
&lt;p&gt; &lt;p&gt;See also &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;Qt::AlignmentFlags&lt;/a&gt;.
&lt;p&gt; &lt;p&gt;See also &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;TQt::AlignmentFlags&lt;/a&gt;.
&lt;p&gt;Set this property's value with &lt;a href="ntqgroupbox.html#setAlignment"&gt;setAlignment&lt;/a&gt;() and get this property's value with &lt;a href="ntqgroupbox.html#alignment"&gt;alignment&lt;/a&gt;().
</doc>
@ -1894,7 +1894,7 @@ of 0.
<name>QLabel::alignment</name>
<doc href="ntqlabel.html#alignment-prop">
&lt;p&gt;This property holds the alignment of the label's contents.
&lt;p&gt;The alignment is a bitwise OR of &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;Qt::AlignmentFlags&lt;/a&gt; and &lt;a href="ntqt.html#TextFlags-enum"&gt;Qt::TextFlags&lt;/a&gt; values. The &lt;a href="ntqt.html#TextFlags-enum"&gt;ExpandTabs&lt;/a&gt;, &lt;a href="ntqt.html#TextFlags-enum"&gt;SingleLine&lt;/a&gt; and &lt;a href="ntqt.html#TextFlags-enum"&gt;ShowPrefix&lt;/a&gt; flags apply only if the label contains plain text;
&lt;p&gt;The alignment is a bitwise OR of &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;TQt::AlignmentFlags&lt;/a&gt; and &lt;a href="ntqt.html#TextFlags-enum"&gt;TQt::TextFlags&lt;/a&gt; values. The &lt;a href="ntqt.html#TextFlags-enum"&gt;ExpandTabs&lt;/a&gt;, &lt;a href="ntqt.html#TextFlags-enum"&gt;SingleLine&lt;/a&gt; and &lt;a href="ntqt.html#TextFlags-enum"&gt;ShowPrefix&lt;/a&gt; flags apply only if the label contains plain text;
otherwise they are ignored. The &lt;a href="ntqt.html#TextFlags-enum"&gt;DontClip&lt;/a&gt; flag is always
ignored. &lt;a href="ntqt.html#TextFlags-enum"&gt;WordBreak&lt;/a&gt; applies to both rich text and plain text
labels. The &lt;a href="ntqt.html#TextFlags-enum"&gt;BreakAnywhere&lt;/a&gt; flag is not supported in QLabel.
@ -1903,7 +1903,7 @@ TRUE.
&lt;p&gt; The default alignment is &lt;tt&gt;AlignAuto | AlignVCenter | ExpandTabs&lt;/tt&gt;
if the label doesn't have a buddy and &lt;tt&gt;AlignAuto | AlignVCenter | ExpandTabs | ShowPrefix&lt;/tt&gt; if the label has a buddy. If the label
contains rich text, additionally &lt;a href="ntqt.html#TextFlags-enum"&gt;WordBreak&lt;/a&gt; is turned on.
&lt;p&gt; &lt;p&gt;See also &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;Qt::AlignmentFlags&lt;/a&gt;, &lt;a href="ntqlabel.html#setBuddy"&gt;setBuddy&lt;/a&gt;(), and &lt;a href="ntqlabel.html#text-prop"&gt;text&lt;/a&gt;.
&lt;p&gt; &lt;p&gt;See also &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;TQt::AlignmentFlags&lt;/a&gt;, &lt;a href="ntqlabel.html#setBuddy"&gt;setBuddy&lt;/a&gt;(), and &lt;a href="ntqlabel.html#text-prop"&gt;text&lt;/a&gt;.
&lt;p&gt;Set this property's value with &lt;a href="ntqlabel.html#setAlignment"&gt;setAlignment&lt;/a&gt;() and get this property's value with &lt;a href="ntqlabel.html#alignment"&gt;alignment&lt;/a&gt;().
</doc>
@ -1978,7 +1978,7 @@ and can also provide a scrollbar when necessary.
<name>QLabel::textFormat</name>
<doc href="ntqlabel.html#textFormat-prop">
&lt;p&gt;This property holds the label's text format.
&lt;p&gt;See the &lt;a href="ntqt.html#TextFormat-enum"&gt;Qt::TextFormat&lt;/a&gt; enum for an explanation of the possible
&lt;p&gt;See the &lt;a href="ntqt.html#TextFormat-enum"&gt;TQt::TextFormat&lt;/a&gt; enum for an explanation of the possible
options.
&lt;p&gt; The default format is &lt;a href="ntqt.html#TextFormat-enum"&gt;AutoText&lt;/a&gt;.
&lt;p&gt; &lt;p&gt;See also &lt;a href="ntqlabel.html#text-prop"&gt;text&lt;/a&gt;.
@ -2032,10 +2032,10 @@ should not override the widget's spacing.
<name>QLineEdit::alignment</name>
<doc href="ntqlineedit.html#alignment-prop">
&lt;p&gt;This property holds the alignment of the line edit.
&lt;p&gt;Possible Values are &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;Qt::AlignAuto&lt;/a&gt;, &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;Qt::AlignLeft&lt;/a&gt;, &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;Qt::AlignRight&lt;/a&gt; and &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;Qt::AlignHCenter&lt;/a&gt;.
&lt;p&gt;Possible Values are &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;TQt::AlignAuto&lt;/a&gt;, &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;TQt::AlignLeft&lt;/a&gt;, &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;TQt::AlignRight&lt;/a&gt; and &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;TQt::AlignHCenter&lt;/a&gt;.
&lt;p&gt; Attempting to set the alignment to an illegal flag combination
does nothing.
&lt;p&gt; &lt;p&gt;See also &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;Qt::AlignmentFlags&lt;/a&gt;.
&lt;p&gt; &lt;p&gt;See also &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;TQt::AlignmentFlags&lt;/a&gt;.
&lt;p&gt;Set this property's value with &lt;a href="ntqlineedit.html#setAlignment"&gt;setAlignment&lt;/a&gt;() and get this property's value with &lt;a href="ntqlineedit.html#alignment"&gt;alignment&lt;/a&gt;().
</doc>
@ -2697,7 +2697,7 @@ the message box will try to auto-detect the format of the text.
<name>QMessageBox::textFormat</name>
<doc href="ntqmessagebox.html#textFormat-prop">
&lt;p&gt;This property holds the format of the text displayed by the message box.
&lt;p&gt;The current text format used by the message box. See the &lt;a href="ntqt.html#TextFormat-enum"&gt;Qt::TextFormat&lt;/a&gt; enum for an explanation of the possible options.
&lt;p&gt;The current text format used by the message box. See the &lt;a href="ntqt.html#TextFormat-enum"&gt;TQt::TextFormat&lt;/a&gt; enum for an explanation of the possible options.
&lt;p&gt; The default format is &lt;a href="ntqt.html#TextFormat-enum"&gt;AutoText&lt;/a&gt;.
&lt;p&gt; &lt;p&gt;See also &lt;a href="ntqmessagebox.html#text-prop"&gt;text&lt;/a&gt;.
@ -2709,7 +2709,7 @@ the message box will try to auto-detect the format of the text.
<doc href="ntqmultilineedit.html#alignment-prop"> &lt;p&gt;This property holds the editor's paragraph alignment.
&lt;p&gt;Sets the alignment to flag, which must be &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;AlignLeft&lt;/a&gt;, &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;AlignHCenter&lt;/a&gt; or &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;AlignRight&lt;/a&gt;.
&lt;p&gt; If flag is an illegal flag nothing happens.
&lt;p&gt; &lt;p&gt;See also &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;Qt::AlignmentFlags&lt;/a&gt;.
&lt;p&gt; &lt;p&gt;See also &lt;a href="ntqt.html#AlignmentFlags-enum"&gt;TQt::AlignmentFlags&lt;/a&gt;.
&lt;p&gt;Set this property's value with &lt;a href="ntqmultilineedit.html#setAlignment"&gt;setAlignment&lt;/a&gt;() and get this property's value with &lt;a href="ntqmultilineedit.html#alignment"&gt;alignment&lt;/a&gt;().
</doc>
@ -3060,7 +3060,7 @@ adjusted if necessary to ensure that the range remains valid.
<name>QScrollBar::orientation</name>
<doc href="ntqscrollbar.html#orientation-prop">
&lt;p&gt;This property holds the orientation of the scroll bar.
&lt;p&gt;The orientation must be &lt;a href="ntqt.html#Orientation-enum"&gt;Qt::Vertical&lt;/a&gt; (the default) or &lt;a href="ntqt.html#Orientation-enum"&gt;Qt::Horizontal&lt;/a&gt;.
&lt;p&gt;The orientation must be &lt;a href="ntqt.html#Orientation-enum"&gt;TQt::Vertical&lt;/a&gt; (the default) or &lt;a href="ntqt.html#Orientation-enum"&gt;TQt::Horizontal&lt;/a&gt;.
&lt;p&gt;Set this property's value with &lt;a href="ntqscrollbar.html#setOrientation"&gt;setOrientation&lt;/a&gt;() and get this property's value with &lt;a href="ntqscrollbar.html#orientation"&gt;orientation&lt;/a&gt;().
</doc>
@ -3233,7 +3233,7 @@ if necessary, to ensure that the range remains valid.
<name>QSlider::orientation</name>
<doc href="ntqslider.html#orientation-prop">
&lt;p&gt;This property holds the slider's orientation.
&lt;p&gt;The orientation must be &lt;a href="ntqt.html#Orientation-enum"&gt;Qt::Vertical&lt;/a&gt; (the default) or &lt;a href="ntqt.html#Orientation-enum"&gt;Qt::Horizontal&lt;/a&gt;.
&lt;p&gt;The orientation must be &lt;a href="ntqt.html#Orientation-enum"&gt;TQt::Vertical&lt;/a&gt; (the default) or &lt;a href="ntqt.html#Orientation-enum"&gt;TQt::Horizontal&lt;/a&gt;.
&lt;p&gt;Set this property's value with &lt;a href="ntqslider.html#setOrientation"&gt;setOrientation&lt;/a&gt;() and get this property's value with &lt;a href="ntqslider.html#orientation"&gt;orientation&lt;/a&gt;().
</doc>

@ -185,7 +185,7 @@ improvements:
// add the last widget on row 2, spanning from column 0 to
// column 1, and center aligned
grid->addMultiCellWidget( new QLabel( "Five", main ), 2, 2, 0, 1,
Qt::AlignCenter );
TQt::AlignCenter );
// let the ratio between the widths of columns 0 and 1 be 2:3
grid->setColStretch( 0, 2 );

@ -266,7 +266,7 @@ See also whatsThis(), QWhatsThis::inWhatsThisMode(), QMenuData::setWhatsThis(),
.SH "QKeySequence QAccel::shortcutKey ( const TQString & str )\fC [static]\fR"
Returns the shortcut key sequence for \fIstr\fR, or an invalid key sequence (0) if \fIstr\fR has no shortcut sequence.
.PP
For example, shortcutKey("E&xit") returns ALT+Key_X, shortcutKey("&Quit") returns ALT+Key_Q and shortcutKey("Quit") returns 0. (In code that does not inherit the TQt namespace class, you must write e.g. Qt::ALT+Qt::Key_Q.)
For example, shortcutKey("E&xit") returns ALT+Key_X, shortcutKey("&Quit") returns ALT+Key_Q and shortcutKey("Quit") returns 0. (In code that does not inherit the TQt namespace class, you must write e.g. TQt::ALT+TQt::Key_Q.)
.PP
We provide a list of common accelerators in English. At the time of writing, Microsoft and Open Group do not appear to have issued equivalent recommendations for other languages.
.SH "QKeySequence QAccel::stringToKey ( const TQString & s )\fC [static]\fR"

@ -416,7 +416,7 @@ Returns the action's "What's This?" help text. See the "whatsThis" property for
.SH "QKeySequence accel"
This property holds the action's accelerator key.
.PP
The keycodes can be found in Qt::Key and Qt::Modifier. There is no default accelerator key.
The keycodes can be found in TQt::Key and TQt::Modifier. There is no default accelerator key.
.PP
Set this property's value with setAccel() and get this property's value with accel().
.SH "bool enabled"

@ -370,10 +370,10 @@ Inherits TQObject.
.BI "int \fBhorizontalAlignment\fR ( int align )"
.br
.ti -1c
.BI "bool \fBisEffectEnabled\fR ( Qt::UIEffect effect )"
.BI "bool \fBisEffectEnabled\fR ( TQt::UIEffect effect )"
.br
.ti -1c
.BI "void \fBsetEffectEnabled\fR ( Qt::UIEffect effect, bool enable = TRUE )"
.BI "void \fBsetEffectEnabled\fR ( TQt::UIEffect effect, bool enable = TRUE )"
.br
.ti -1c
.BI "QWSDecoration & \fBqwsDecoration\fR ()"
@ -967,14 +967,14 @@ Multiple message files can be installed. Translations are searched for in the la
See also removeTranslator(), translate(), and QTranslator::load().
.PP
Example: i18n/main.cpp.
.SH "bool QApplication::isEffectEnabled ( Qt::UIEffect effect )\fC [static]\fR"
.SH "bool QApplication::isEffectEnabled ( TQt::UIEffect effect )\fC [static]\fR"
Returns TRUE if \fIeffect\fR is enabled; otherwise returns FALSE.
.PP
By default, TQt will try to use the desktop settings. Call setDesktopSettingsAware(FALSE) to prevent this.
.PP
Note: All effects are disabled on screens running at less than 16-bit color depth.
.PP
See also setEffectEnabled() and Qt::UIEffect.
See also setEffectEnabled() and TQt::UIEffect.
.SH "bool QApplication::isSessionRestored () const"
Returns TRUE if the application has been restored from an earlier session; otherwise returns FALSE.
.PP
@ -1330,12 +1330,12 @@ Sets the time limit that distinguishes a double click from two consecutive mouse
Note that on Microsoft Windows, calling this function sets the double click interval for all windows.
.PP
See also doubleClickInterval().
.SH "void QApplication::setEffectEnabled ( Qt::UIEffect effect, bool enable = TRUE )\fC [static]\fR"
.SH "void QApplication::setEffectEnabled ( TQt::UIEffect effect, bool enable = TRUE )\fC [static]\fR"
Enables the UI effect \fIeffect\fR if \fIenable\fR is TRUE, otherwise the effect will not be used.
.PP
Note: All effects are disabled on screens running at less than 16-bit color depth.
.PP
See also isEffectEnabled(), Qt::UIEffect, and setDesktopSettingsAware().
See also isEffectEnabled(), TQt::UIEffect, and setDesktopSettingsAware().
.SH "void QApplication::setFont ( const QFont & font, bool informWidgets = FALSE, const char * className = 0 )\fC [static]\fR"
Changes the default application font to \fIfont\fR. If \fIinformWidgets\fR is TRUE, then existing widgets are informed about the change and may adjust themselves to the new application setting. If \fIinformWidgets\fR is FALSE, the change only affects newly created widgets. If \fIclassName\fR is passed, the change applies only to classes that inherit \fIclassName\fR (as reported by TQObject::inherits()).
.PP
@ -1427,7 +1427,7 @@ Example:
.PP
.nf
.br
QApplication::setOverrideCursor( QCursor(Qt::WaitCursor) );
QApplication::setOverrideCursor( QCursor(TQt::WaitCursor) );
.br
calculateHugeMandelbrot(); // lunch time...
.br

@ -237,7 +237,7 @@ The stretch factor applies only in the direction of the QBoxLayout, and is relat
.PP
If the stretch factor is 0 and nothing else in the QBoxLayout has a stretch factor greater than zero, the space is distributed according to the TQWidget:sizePolicy() of each widget that's involved.
.PP
Alignment is specified by \fIalignment\fR which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
Alignment is specified by \fIalignment\fR which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
.PP
From TQt 3.0, the \fIalignment\fR parameter is interpreted more aggressively than in previous versions of Qt. A non-default alignment now indicates that the widget should not grow to fill the available space, but should be sized according to sizeHint().
.PP
@ -294,7 +294,7 @@ The stretch factor applies only in the direction of the QBoxLayout, and is relat
.PP
If the stretch factor is 0 and nothing else in the QBoxLayout has a stretch factor greater than zero, the space is distributed according to the TQWidget:sizePolicy() of each widget that's involved.
.PP
Alignment is specified by \fIalignment\fR, which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
Alignment is specified by \fIalignment\fR, which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
.PP
From TQt 3.0, the \fIalignment\fR parameter is interpreted more aggressively than in previous versions of Qt. A non-default alignment now indicates that the widget should not grow to fill the available space, but should be sized according to sizeHint().
.PP

@ -122,7 +122,7 @@ See also text(), setFont(), setColor(), and setTextFlags().
.PP
Example: canvas/canvas.cpp.
.SH "void QCanvasText::setTextFlags ( int f )"
Sets the alignment flags to \fIf\fR. These are a bitwise OR of the flags available to QPainter::drawText() -- see the Qt::AlignmentFlags.
Sets the alignment flags to \fIf\fR. These are a bitwise OR of the flags available to QPainter::drawText() -- see the TQt::AlignmentFlags.
.PP
See also setFont() and setColor().
.SH "TQString QCanvasText::text () const"
@ -132,7 +132,7 @@ See also setText().
.SH "int QCanvasText::textFlags () const"
Returns the currently set alignment flags.
.PP
See also setTextFlags() and Qt::AlignmentFlags.
See also setTextFlags() and TQt::AlignmentFlags.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/qcanvastext.html

@ -161,7 +161,7 @@ Returns TRUE if the item is tristate; otherwise returns FALSE.
.PP
See also setTristate().
.SH "void QCheckListItem::paintCell ( QPainter * p, const QColorGroup & cg, int column, int width, int align )\fC [virtual]\fR"
Paints the item using the painter \fIp\fR and the color group \fIcg\fR. The item is in column \fIcolumn\fR, has width \fIwidth\fR and has alignment \fIalign\fR. (See Qt::AlignmentFlags for valid alignments.)
Paints the item using the painter \fIp\fR and the color group \fIcg\fR. The item is in column \fIcolumn\fR, has width \fIwidth\fR and has alignment \fIalign\fR. (See TQt::AlignmentFlags for valid alignments.)
.PP
Reimplemented from QListViewItem.
.SH "void QCheckListItem::paintFocus ( QPainter * p, const QColorGroup & cg, const QRect & r )\fC [virtual]\fR"

@ -111,11 +111,11 @@ To set or get the position of the mouse cursor use the static methods QCursor::p
.PP
See also TQWidget, GUI Design Handbook: Cursors, Widget Appearance and Style, and Implicitly and Explicitly Shared Classes.
.PP
On X11, TQt supports the Xcursor library, which allows for full color icon themes. The table below shows the cursor name used for each Qt::CursorShape value. If a cursor cannot be found using the name shown below, a standard X11 cursor will be used instead. Note: X11 does not provide appropriate cursors for all possible Qt::CursorShape values. It is possible that some cursors will be taken from the Xcursor theme, while others will use an internal bitmap cursor.
On X11, TQt supports the Xcursor library, which allows for full color icon themes. The table below shows the cursor name used for each TQt::CursorShape value. If a cursor cannot be found using the name shown below, a standard X11 cursor will be used instead. Note: X11 does not provide appropriate cursors for all possible TQt::CursorShape values. It is possible that some cursors will be taken from the Xcursor theme, while others will use an internal bitmap cursor.
.PP
<center>.nf
.TS
l - l. Qt::CursorShape Values Cursor Names Qt::ArrowCursor left_ptr Qt::UpArrowCursor up_arrow Qt::CrossCursor cross Qt::WaitCursor wait Qt::BusyCursor left_ptr_watch Qt::IbeamCursor ibeam Qt::SizeVerCursor size_ver Qt::SizeHorCursor size_hor Qt::SizeBDiagCursor size_bdiag Qt::SizeFDiagCursor size_fdiag Qt::SizeAllCursor size_all Qt::SplitVCursor split_v Qt::SplitHCursor split_h Qt::PointingHandCursor pointing_hand Qt::ForbiddenCursor forbidden Qt::WhatsThisCursor
l - l. TQt::CursorShape Values Cursor Names TQt::ArrowCursor left_ptr TQt::UpArrowCursor up_arrow TQt::CrossCursor cross TQt::WaitCursor wait TQt::BusyCursor left_ptr_watch TQt::IbeamCursor ibeam TQt::SizeVerCursor size_ver TQt::SizeHorCursor size_hor TQt::SizeBDiagCursor size_bdiag TQt::SizeFDiagCursor size_fdiag TQt::SizeAllCursor size_all TQt::SplitVCursor split_v TQt::SplitHCursor split_h TQt::PointingHandCursor pointing_hand TQt::ForbiddenCursor forbidden TQt::WhatsThisCursor
.TE
.fi
</center>

@ -604,7 +604,7 @@ Set this property's value with setConfirmUpdate() and get this property's value
.SH "DateFormat dateFormat"
This property holds the format used for displaying date/time values.
.PP
The dateFormat property is used for displaying date/time values in the table. The default value is Qt::LocalDate.
The dateFormat property is used for displaying date/time values in the table. The default value is TQt::LocalDate.
.PP
Set this property's value with setDateFormat() and get this property's value with dateFormat().
.SH "TQString falseText"

@ -52,7 +52,7 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "int \fBweekNumber\fR ( int * yearNumber = 0 ) const"
.br
.ti -1c
.BI "TQString \fBtoString\fR ( Qt::DateFormat f = Qt::TextDate ) const"
.BI "TQString \fBtoString\fR ( TQt::DateFormat f = TQt::TextDate ) const"
.br
.ti -1c
.BI "TQString \fBtoString\fR ( const TQString & format ) const"
@ -115,10 +115,10 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "QDate \fBcurrentDate\fR ()"
.br
.ti -1c
.BI "QDate \fBcurrentDate\fR ( Qt::TimeSpec ts )"
.BI "QDate \fBcurrentDate\fR ( TQt::TimeSpec ts )"
.br
.ti -1c
.BI "QDate \fBfromString\fR ( const TQString & s, Qt::DateFormat f = Qt::TextDate )"
.BI "QDate \fBfromString\fR ( const TQString & s, TQt::DateFormat f = TQt::TextDate )"
.br
.ti -1c
.BI "bool \fBisValid\fR ( int y, int m, int d )"
@ -181,10 +181,10 @@ See also addDays() and addYears().
Returns a QDate object containing a date \fInyears\fR later than the date of this object (or earlier if \fInyears\fR is negative).
.PP
See also addDays() and addMonths().
.SH "QDate QDate::currentDate ( Qt::TimeSpec ts )\fC [static]\fR"
.SH "QDate QDate::currentDate ( TQt::TimeSpec ts )\fC [static]\fR"
Returns the current date, as reported by the system clock, for the TimeSpec \fIts\fR. The default TimeSpec is LocalTime.
.PP
See also QTime::currentTime(), QDateTime::currentDateTime(), and Qt::TimeSpec.
See also QTime::currentTime(), QDateTime::currentDateTime(), and TQt::TimeSpec.
.PP
Example: dclock/dclock.cpp.
.SH "QDate QDate::currentDate ()\fC [static]\fR"
@ -237,12 +237,12 @@ Example:
.fi
.PP
See also addDays().
.SH "QDate QDate::fromString ( const TQString & s, Qt::DateFormat f = Qt::TextDate )\fC [static]\fR"
.SH "QDate QDate::fromString ( const TQString & s, TQt::DateFormat f = TQt::TextDate )\fC [static]\fR"
Returns the QDate represented by the string \fIs\fR, using the format \fIf\fR, or an invalid date if the string cannot be parsed.
.PP
Note for Qt::TextDate: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings.
Note for TQt::TextDate: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings.
.PP
\fBWarning:\fR Qt::LocalDate cannot be used here.
\fBWarning:\fR TQt::LocalDate cannot be used here.
.SH "bool QDate::isNull () const"
Returns TRUE if the date is null; otherwise returns FALSE. A null date is invalid.
.PP
@ -361,16 +361,16 @@ l - l. Format Result dd.MM.yyyy 20.07.1969 ddd MMMM d yy
If the date is an invalid date, then TQString::null will be returned.
.PP
See also QDateTime::toString() and QTime::toString().
.SH "TQString QDate::toString ( Qt::DateFormat f = Qt::TextDate ) const"
.SH "TQString QDate::toString ( TQt::DateFormat f = TQt::TextDate ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the date as a string. The \fIf\fR parameter determines the format of the string.
.PP
If \fIf\fR is Qt::TextDate, the string format is "Sat May 20 1995" (using the shortDayName() and shortMonthName() functions to generate the string, so the day and month names are locale specific).
If \fIf\fR is TQt::TextDate, the string format is "Sat May 20 1995" (using the shortDayName() and shortMonthName() functions to generate the string, so the day and month names are locale specific).
.PP
If \fIf\fR is Qt::ISODate, the string format corresponds to the ISO 8601 specification for representations of dates, which is YYYY-MM-DD where YYYY is the year, MM is the month of the year (between 01 and 12), and DD is the day of the month between 01 and 31.
If \fIf\fR is TQt::ISODate, the string format corresponds to the ISO 8601 specification for representations of dates, which is YYYY-MM-DD where YYYY is the year, MM is the month of the year (between 01 and 12), and DD is the day of the month between 01 and 31.
.PP
If \fIf\fR is Qt::LocalDate, the string format depends on the locale settings of the system.
If \fIf\fR is TQt::LocalDate, the string format depends on the locale settings of the system.
.PP
If the date is an invalid date, then TQString::null will be returned.
.PP

@ -49,10 +49,10 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "void \fBsetTime_t\fR ( uint secsSince1Jan1970UTC )"
.br
.ti -1c
.BI "void \fBsetTime_t\fR ( uint secsSince1Jan1970UTC, Qt::TimeSpec ts )"
.BI "void \fBsetTime_t\fR ( uint secsSince1Jan1970UTC, TQt::TimeSpec ts )"
.br
.ti -1c
.BI "TQString \fBtoString\fR ( Qt::DateFormat f = Qt::TextDate ) const"
.BI "TQString \fBtoString\fR ( TQt::DateFormat f = TQt::TextDate ) const"
.br
.ti -1c
.BI "TQString \fBtoString\fR ( const TQString & format ) const"
@ -100,10 +100,10 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "QDateTime \fBcurrentDateTime\fR ()"
.br
.ti -1c
.BI "QDateTime \fBcurrentDateTime\fR ( Qt::TimeSpec ts )"
.BI "QDateTime \fBcurrentDateTime\fR ( TQt::TimeSpec ts )"
.br
.ti -1c
.BI "QDateTime \fBfromString\fR ( const TQString & s, Qt::DateFormat f = Qt::TextDate )"
.BI "QDateTime \fBfromString\fR ( const TQString & s, TQt::DateFormat f = TQt::TextDate )"
.br
.in -1c
.SH RELATED FUNCTION DOCUMENTATION
@ -158,10 +158,10 @@ Example: listviews/listviews.cpp.
Returns a QDateTime object containing a datetime \fInyears\fR years later than the datetime of this object (or earlier if \fInyears\fR is negative).
.PP
See also daysTo(), addDays(), addMonths(), and addSecs().
.SH "QDateTime QDateTime::currentDateTime ( Qt::TimeSpec ts )\fC [static]\fR"
.SH "QDateTime QDateTime::currentDateTime ( TQt::TimeSpec ts )\fC [static]\fR"
Returns the current datetime, as reported by the system clock, for the TimeSpec \fIts\fR. The default TimeSpec is LocalTime.
.PP
See also QDate::currentDate(), QTime::currentTime(), and Qt::TimeSpec.
See also QDate::currentDate(), QTime::currentTime(), and TQt::TimeSpec.
.PP
Example: listviews/listviews.cpp.
.SH "QDateTime QDateTime::currentDateTime ()\fC [static]\fR"
@ -178,12 +178,12 @@ See also setDate() and time().
Returns the number of days from this datetime to \fIdt\fR (which is negative if \fIdt\fR is earlier than this datetime).
.PP
See also addDays() and secsTo().
.SH "QDateTime QDateTime::fromString ( const TQString & s, Qt::DateFormat f = Qt::TextDate )\fC [static]\fR"
.SH "QDateTime QDateTime::fromString ( const TQString & s, TQt::DateFormat f = TQt::TextDate )\fC [static]\fR"
Returns the QDateTime represented by the string \fIs\fR, using the format \fIf\fR, or an invalid datetime if this is not possible.
.PP
Note for Qt::TextDate: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings.
Note for TQt::TextDate: It is recommended that you use the English short month names (e.g. "Jan"). Although localized month names can also be used, they depend on the user's locale settings.
.PP
\fBWarning:\fR Note that Qt::LocalDate cannot be used here.
\fBWarning:\fR Note that TQt::LocalDate cannot be used here.
.SH "bool QDateTime::isNull () const"
Returns TRUE if both the date and the time are null; otherwise returns FALSE. A null datetime is invalid.
.PP
@ -232,8 +232,8 @@ See also date() and setTime().
Sets the time part of this datetime to \fItime\fR.
.PP
See also time() and setDate().
.SH "void QDateTime::setTime_t ( uint secsSince1Jan1970UTC, Qt::TimeSpec ts )"
Sets the date and time to \fIts\fR time (Qt::LocalTime or Qt::UTC) given the number of seconds that have passed since 1970-01-01T00:00:00, Coordinated Universal Time (UTC). On systems that do not support timezones this function will behave as if local time were UTC.
.SH "void QDateTime::setTime_t ( uint secsSince1Jan1970UTC, TQt::TimeSpec ts )"
Sets the date and time to \fIts\fR time (TQt::LocalTime or TQt::UTC) given the number of seconds that have passed since 1970-01-01T00:00:00, Coordinated Universal Time (UTC). On systems that do not support timezones this function will behave as if local time were UTC.
.PP
On Windows, only a subset of \fIsecsSince1Jan1970UTC\fR values are supported, as Windows starts counting from 1980.
.PP
@ -281,16 +281,16 @@ l - l. Format Result dd.MM.yyyy 21.05.2001 ddd MMMM d yy Tue May 21 01 hh:mm:ss.
If the datetime is an invalid datetime, then TQString::null will be returned.
.PP
See also QDate::toString() and QTime::toString().
.SH "TQString QDateTime::toString ( Qt::DateFormat f = Qt::TextDate ) const"
.SH "TQString QDateTime::toString ( TQt::DateFormat f = TQt::TextDate ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the datetime as a string. The \fIf\fR parameter determines the format of the string.
.PP
If \fIf\fR is Qt::TextDate, the string format is "Wed May 20 03:40:13 1998" (using QDate::shortDayName(), QDate::shortMonthName(), and QTime::toString() to generate the string, so the day and month names will have localized names).
If \fIf\fR is TQt::TextDate, the string format is "Wed May 20 03:40:13 1998" (using QDate::shortDayName(), QDate::shortMonthName(), and QTime::toString() to generate the string, so the day and month names will have localized names).
.PP
If \fIf\fR is Qt::ISODate, the string format corresponds to the ISO 8601 extended specification for representations of dates and times, which is YYYY-MM-DDTHH:MM:SS.
If \fIf\fR is TQt::ISODate, the string format corresponds to the ISO 8601 extended specification for representations of dates and times, which is YYYY-MM-DDTHH:MM:SS.
.PP
If \fIf\fR is Qt::LocalDate, the string format depends on the locale settings of the system.
If \fIf\fR is TQt::LocalDate, the string format depends on the locale settings of the system.
.PP
If the format \fIf\fR is invalid or the datetime is invalid, toString() returns a null string.
.PP

@ -198,7 +198,7 @@ The widget flags \fIf\fR are passed on to the TQWidget constructor. If, for exam
.PP
\fBWarning:\fR In TQt 3.2, the \fImodal\fR flag is obsolete. There is now a setModal() function that can be used for obtaining a modal behavior when calling show(). This is rarely needed, because modal dialogs are usually invoked using exec(), which ignores the \fImodal\fR flag.
.PP
See also TQWidget::setWFlags() and Qt::WidgetFlags.
See also TQWidget::setWFlags() and TQt::WidgetFlags.
.SH "QDialog::~QDialog ()"
Destroys the QDialog, deleting all its children.
.SH "void QDialog::accept ()\fC [virtual protected slot]\fR"

@ -111,7 +111,7 @@ Inherited by QToolBar.
.BI "bool \fBnewLine\fR () const"
.br
.ti -1c
.BI "Qt::Orientation \fBorientation\fR () const"
.BI "TQt::Orientation \fBorientation\fR () const"
.br
.ti -1c
.BI "QBoxLayout * \fBboxLayout\fR ()"
@ -298,7 +298,7 @@ Returns TRUE if the dock window prefers to start a new line in the dock area; ot
Returns the dock window's preferred offset from the dock area's left edge (top edge for vertical dock areas). See the "offset" property for details.
.SH "bool QDockWindow::opaqueMoving () const"
Returns TRUE if the dock window will be shown normally whilst it is being moved; otherwise returns FALSE. See the "opaqueMoving" property for details.
.SH "Qt::Orientation QDockWindow::orientation () const"
.SH "TQt::Orientation QDockWindow::orientation () const"
Returns the orientation of the dock window.
.PP
See also orientationChanged().

@ -233,7 +233,7 @@ The bounding rectangle given by this function is somewhat larger than that calcu
.PP
The \fIintern\fR argument should not be used.
.PP
See also width(), QPainter::boundingRect(), and Qt::AlignmentFlags.
See also width(), QPainter::boundingRect(), and TQt::AlignmentFlags.
.SH "int QFontMetrics::charWidth ( const TQString & str, int pos ) const"
Returns the width of the character at position \fIpos\fR in the string \fIstr\fR.
.PP

@ -225,11 +225,11 @@ Examples:
.SH "void QGridLayout::addMultiCell ( QLayoutItem * item, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
Adds the \fIitem\fR to the cell grid, spanning multiple rows/columns.
.PP
The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR. Alignment is specified by \fIalignment\fR, which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR. Alignment is specified by \fIalignment\fR, which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
.SH "void QGridLayout::addMultiCellLayout ( QLayout * layout, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
Adds the layout \fIlayout\fR to the cell grid, spanning multiple rows/columns. The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR.
.PP
Alignment is specified by \fIalignment\fR, which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
Alignment is specified by \fIalignment\fR, which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
.PP
A non-zero alignment indicates that the layout should not grow to fill the available space but should be sized according to sizeHint().
.PP
@ -239,7 +239,7 @@ See also addLayout().
.SH "void QGridLayout::addMultiCellWidget ( TQWidget * w, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
Adds the widget \fIw\fR to the cell grid, spanning multiple rows/columns. The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR.
.PP
Alignment is specified by \fIalignment\fR, which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
Alignment is specified by \fIalignment\fR, which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
.PP
A non-zero alignment indicates that the widget should not grow to fill the available space but should be sized according to sizeHint().
.PP
@ -256,7 +256,7 @@ Use setRowSpacing() instead.
.SH "void QGridLayout::addWidget ( TQWidget * w, int row, int col, int alignment = 0 )"
Adds the widget \fIw\fR to the cell grid at \fIrow\fR, \fIcol\fR. The top-left position is (0, 0) by default.
.PP
Alignment is specified by \fIalignment\fR, which is a bitwise OR of Qt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
Alignment is specified by \fIalignment\fR, which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
.TP
You should not call this if you have enabled the auto-add facility of the layout.
.IP

@ -248,7 +248,7 @@ AlignHCenter aligns the title text centered.
.PP
The default alignment is AlignAuto.
.PP
See also Qt::AlignmentFlags.
See also TQt::AlignmentFlags.
.PP
Set this property's value with setAlignment() and get this property's value with alignment().
.SH "bool checkable"

@ -616,7 +616,7 @@ Returns a pointer to the item that contains point \fIpos\fR, which is given in c
.SH "QIconViewItem * QIconView::findItem ( const TQString & text, ComparisonFlags compare = BeginsWith ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns a pointer to the first item whose text begins with \fItext\fR, or 0 if no such item could be found. Use the \fIcompare\fR flag to control the comparison behaviour. (See Qt::StringComparisonMode.)
Returns a pointer to the first item whose text begins with \fItext\fR, or 0 if no such item could be found. Use the \fIcompare\fR flag to control the comparison behaviour. (See TQt::StringComparisonMode.)
.SH "QIconViewItem * QIconView::findLastVisibleItem ( const QRect & r ) const"
Finds the last item whose bounding rectangle overlaps \fIr\fR and returns a pointer to that item. \fIr\fR is given in content coordinates. Returns 0 if no item overlaps \fIr\fR.
.PP

@ -527,7 +527,7 @@ Returns \fC*this\fR if \fIdepth\fR is equal to the image depth, or a null image
.PP
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 \fIconversion_flags\fR to specify how you'd prefer this to happen.
.PP
See also Qt::ImageConversionFlags, depth(), and isNull().
See also TQt::ImageConversionFlags, depth(), and isNull().
.SH "TQImage TQImage::convertDepth ( int depth ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.SH "TQImage TQImage::convertDepthWithPalette ( int d, TQRgb * palette, int palette_count, int conversion_flags = 0 ) const"
@ -539,7 +539,7 @@ Note: currently no closest-color search is made. If colors are found that are no
.PP
Currently inefficient for non-32-bit images.
.PP
See also Qt::ImageConversionFlags.
See also TQt::ImageConversionFlags.
.SH "TQImage TQImage::copy () const"
Returns a deep copy of the image.
.PP
@ -553,7 +553,7 @@ The returned image is always \fIw\fR by \fIh\fR pixels in size, and is copied fr
.PP
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 \fIconversion_flags\fR to specify how you'd prefer this to happen.
.PP
See also bitBlt() and Qt::ImageConversionFlags.
See also bitBlt() and TQt::ImageConversionFlags.
.SH "TQImage TQImage::copy ( const QRect & r ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP

@ -103,7 +103,7 @@ Note that if the event is a multiple-key compressed event that is partly due to
.SH "int QKeyEvent::key () const"
Returns the code of the key that was pressed or released.
.PP
See Qt::Key for the list of keyboard codes. These codes are independent of the underlying window system.
See TQt::Key for the list of keyboard codes. These codes are independent of the underlying window system.
.PP
A value of either 0 or Key_unknown means that the event is not the result of a known key (e.g. it may be the result of a compose sequence or a keyboard macro, or due to key event compression).
.PP

@ -40,7 +40,7 @@ Inherits Qt.
.BI "bool \fBisEmpty\fR () const"
.br
.ti -1c
.BI "Qt::SequenceMatch \fBmatches\fR ( const QKeySequence & seq ) const"
.BI "TQt::SequenceMatch \fBmatches\fR ( const QKeySequence & seq ) const"
.br
.ti -1c
.BI "\fBoperator TQString\fR () const"
@ -115,8 +115,8 @@ Destroys the key sequence.
Returns the number of keys in the key sequence. The maximum is 4.
.SH "bool QKeySequence::isEmpty () const"
Returns TRUE if the key sequence is empty; otherwise returns FALSE.
.SH "Qt::SequenceMatch QKeySequence::matches ( const QKeySequence & seq ) const"
Matches the sequence with \fIseq\fR. Returns Qt::Identical if successful, Qt::PartialMatch for matching but incomplete \fIseq\fR, and Qt::NoMatch if the sequences have nothing in common. Returns Qt::NoMatch if \fIseq\fR is shorter.
.SH "TQt::SequenceMatch QKeySequence::matches ( const QKeySequence & seq ) const"
Matches the sequence with \fIseq\fR. Returns TQt::Identical if successful, TQt::PartialMatch for matching but incomplete \fIseq\fR, and TQt::NoMatch if the sequences have nothing in common. Returns TQt::NoMatch if \fIseq\fR is shorter.
.SH "QKeySequence::operator TQString () const"
Creates an accelerator string for the key sequence. For instance CTRL+Key_O gives "Ctrl+O". If the key sequence has multiple key codes they are returned comma-separated, e.g." Alt+X, Ctrl+Y, Z". The strings, "Ctrl", "Shift", etc. are translated (using TQObject::tr()) in the "QAccel" scope. If the key sequence has no keys, TQString::null is returned.
.PP

@ -339,13 +339,13 @@ Returns the label's text format. See the "textFormat" property for details.
.SH "Alignment alignment"
This property holds the alignment of the label's contents.
.PP
The alignment is a bitwise OR of Qt::AlignmentFlags and Qt::TextFlags values. The ExpandTabs, SingleLine and ShowPrefix flags apply only if the label contains plain text; otherwise they are ignored. The DontClip flag is always ignored. WordBreak applies to both rich text and plain text labels. The BreakAnywhere flag is not supported in QLabel.
The alignment is a bitwise OR of TQt::AlignmentFlags and TQt::TextFlags values. The ExpandTabs, SingleLine and ShowPrefix flags apply only if the label contains plain text; otherwise they are ignored. The DontClip flag is always ignored. WordBreak applies to both rich text and plain text labels. The BreakAnywhere flag is not supported in QLabel.
.PP
If the label has a buddy, the ShowPrefix flag is forced to TRUE.
.PP
The default alignment is \fCAlignAuto | AlignVCenter | ExpandTabs\fR if the label doesn't have a buddy and \fCAlignAuto | AlignVCenter | ExpandTabs | ShowPrefix\fR if the label has a buddy. If the label contains rich text, additionally WordBreak is turned on.
.PP
See also Qt::AlignmentFlags, setBuddy(), and text.
See also TQt::AlignmentFlags, setBuddy(), and text.
.PP
Set this property's value with setAlignment() and get this property's value with alignment().
.SH "BackgroundMode backgroundMode"
@ -401,7 +401,7 @@ Set this property's value with setText() and get this property's value with text
.SH "TextFormat textFormat"
This property holds the label's text format.
.PP
See the Qt::TextFormat enum for an explanation of the possible options.
See the TQt::TextFormat enum for an explanation of the possible options.
.PP
The default format is AutoText.
.PP

@ -84,7 +84,7 @@ isEmpty() returns whether the layout is empty. iterator() returns an iterator fo
See also QLayout, Widget Appearance and Style, and Layout Management.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QLayoutItem::QLayoutItem ( int alignment = 0 )"
Constructs a layout item with an \fIalignment\fR that is a bitwise OR of the Qt::AlignmentFlags. Not all subclasses support alignment.
Constructs a layout item with an \fIalignment\fR that is a bitwise OR of the TQt::AlignmentFlags. Not all subclasses support alignment.
.SH "QLayoutItem::~QLayoutItem ()\fC [virtual]\fR"
Destroys the QLayoutItem.
.SH "int QLayoutItem::alignment () const"
@ -176,7 +176,7 @@ Examples:
.PP
Reimplemented in QLayout, QSpacerItem, and QWidgetItem.
.SH "void QLayoutItem::setAlignment ( int a )\fC [virtual]\fR"
Sets the alignment of this item to \fIa\fR, which is a bitwise OR of the Qt::AlignmentFlags. Not all subclasses support alignment.
Sets the alignment of this item to \fIa\fR, which is a bitwise OR of the TQt::AlignmentFlags. Not all subclasses support alignment.
.PP
Example: chart/optionsform.cpp.
.SH "void QLayoutItem::setGeometry ( const QRect & r )\fC [pure virtual]\fR"

@ -553,11 +553,11 @@ See also inputMask and setValidator().
.SH "Alignment alignment"
This property holds the alignment of the line edit.
.PP
Possible Values are Qt::AlignAuto, Qt::AlignLeft, Qt::AlignRight and Qt::AlignHCenter.
Possible Values are TQt::AlignAuto, TQt::AlignLeft, TQt::AlignRight and TQt::AlignHCenter.
.PP
Attempting to set the alignment to an illegal flag combination does nothing.
.PP
See also Qt::AlignmentFlags.
See also TQt::AlignmentFlags.
.PP
Set this property's value with setAlignment() and get this property's value with alignment().
.SH "int cursorPosition"

@ -488,7 +488,7 @@ Constructs a new empty list box called \fIname\fR and with parent \fIparent\fR.
.PP
Performance is boosted by modifying the widget flags \fIf\fR so that only part of the QListBoxItem children is redrawn. This may be unsuitable for custom QListBoxItem classes, in which case WStaticContents and WNoAutoErase should be cleared immediately after construction.
.PP
See also TQWidget::clearWFlags() and Qt::WidgetFlags.
See also TQWidget::clearWFlags() and TQt::WidgetFlags.
.SH "QListBox::~QListBox ()"
Destroys the list box. Deletes all list box items.
.SH "bool QListBox::autoBottomScrollBar () const"
@ -606,7 +606,7 @@ Ensures that the current item is visible.
.SH "QListBoxItem * QListBox::findItem ( const TQString & text, ComparisonFlags compare = BeginsWith ) const"
Finds the first list box item that has the text \fItext\fR and returns it, or returns 0 of no such item could be found. The search starts from the current item if the current item exists, otherwise it starts from the first list box item. If \fCComparisonFlags\fR are specified in \fIcompare\fR then these flags are used, otherwise the default is a case-insensitive, "begins with" search.
.PP
See also Qt::StringComparisonMode.
See also TQt::StringComparisonMode.
.SH "int QListBox::findItem ( int yPos ) const\fC [protected]\fR"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP

@ -518,7 +518,7 @@ Constructs a new empty list view called \fIname\fR with parent \fIparent\fR.
.PP
Performance is boosted by modifying the widget flags \fIf\fR so that only part of the QListViewItem children is redrawn. This may be unsuitable for custom QListViewItem classes, in which case WStaticContents and WNoAutoErase should be cleared.
.PP
See also TQWidget::clearWFlags() and Qt::WidgetFlags.
See also TQWidget::clearWFlags() and TQt::WidgetFlags.
.SH "QListView::~QListView ()"
Destroys the list view, deleting all its items, and frees up all allocated resources.
.SH "int QListView::addColumn ( const TQString & label, int width = -1 )\fC [virtual]\fR"
@ -580,7 +580,7 @@ See also setOpen() and expanded().
.SH "int QListView::columnAlignment ( int column ) const"
Returns the alignment of column \fIcolumn\fR. The default is AlignAuto.
.PP
See also Qt::AlignmentFlags.
See also TQt::AlignmentFlags.
.SH "TQString QListView::columnText ( int c ) const"
Returns the text of column \fIc\fR.
.PP
@ -679,7 +679,7 @@ This signal is emitted when \fIitem\fR has been expanded, i.e. when the children
.PP
See also setOpen() and collapsed().
.SH "QListViewItem * QListView::findItem ( const TQString & text, int column, ComparisonFlags compare = ExactMatch | CaseSensitive ) const"
Finds the first list view item in column \fIcolumn\fR, that matches \fItext\fR and returns the item, or returns 0 of no such item could be found. The search starts from the current item if the current item exists, otherwise it starts from the first list view item. After reaching the last item the search continues from the first item. Pass OR-ed together Qt::StringComparisonMode values in the \fIcompare\fR flag, to control how the matching is performed. The default comparison mode is case-sensitive, exact match.
Finds the first list view item in column \fIcolumn\fR, that matches \fItext\fR and returns the item, or returns 0 of no such item could be found. The search starts from the current item if the current item exists, otherwise it starts from the first list view item. After reaching the last item the search continues from the first item. Pass OR-ed together TQt::StringComparisonMode values in the \fIcompare\fR flag, to control how the matching is performed. The default comparison mode is case-sensitive, exact match.
.SH "QListViewItem * QListView::firstChild () const"
Returns the first item in this QListView. Returns 0 if there is no first item.
.PP
@ -873,9 +873,9 @@ Returns the list view's selection mode. See the "selectionMode" property for det
.SH "void QListView::setAllColumnsShowFocus ( bool )\fC [virtual]\fR"
Sets whether items should show keyboard focus using all columns. See the "allColumnsShowFocus" property for details.
.SH "void QListView::setColumnAlignment ( int column, int align )\fC [virtual]\fR"
Sets column \fIcolumn\fR's alignment to \fIalign\fR. The alignment is ultimately passed to QListViewItem::paintCell() for each item in the list view. For horizontally aligned text with Qt::AlignLeft or Qt::AlignHCenter the ellipsis (...) will be to the right, for Qt::AlignRight the ellipsis will be to the left.
Sets column \fIcolumn\fR's alignment to \fIalign\fR. The alignment is ultimately passed to QListViewItem::paintCell() for each item in the list view. For horizontally aligned text with TQt::AlignLeft or TQt::AlignHCenter the ellipsis (...) will be to the right, for TQt::AlignRight the ellipsis will be to the left.
.PP
See also Qt::AlignmentFlags.
See also TQt::AlignmentFlags.
.PP
Example: listviews/listviews.cpp.
.SH "void QListView::setColumnText ( int column, const TQString & label )\fC [virtual]\fR"

@ -372,7 +372,7 @@ The main window will take care of the dock areas, and the geometry of the centra
.PP
QMainWindow provides a QToolTipGroup connected to the status bar. The function toolTipGroup() provides access to the default QToolTipGroup. It isn't possible to set a different tool tip group.
.PP
New dock windows and toolbars can be added to a QMainWindow using addDockWindow(). Dock windows can be moved using moveDockWindow() and removed with removeDockWindow(). QMainWindow allows default dock window (toolbar) docking in all its dock areas (Top, Left, Right, Bottom). You can use setDockEnabled() to enable and disable docking areas for dock windows. When adding or moving dock windows you can specify their 'edge' (dock area). The currently available edges are: Top, Left, Right, Bottom, Minimized (effectively a 'hidden' dock area) and TornOff (floating). See Qt::Dock for an explanation of these areas. Note that the *ToolBar functions are included for backward compatibility; all new code should use the *DockWindow functions. QToolbar is a subclass of QDockWindow so all functions that work with dock windows work on toolbars in the same way.
New dock windows and toolbars can be added to a QMainWindow using addDockWindow(). Dock windows can be moved using moveDockWindow() and removed with removeDockWindow(). QMainWindow allows default dock window (toolbar) docking in all its dock areas (Top, Left, Right, Bottom). You can use setDockEnabled() to enable and disable docking areas for dock windows. When adding or moving dock windows you can specify their 'edge' (dock area). The currently available edges are: Top, Left, Right, Bottom, Minimized (effectively a 'hidden' dock area) and TornOff (floating). See TQt::Dock for an explanation of these areas. Note that the *ToolBar functions are included for backward compatibility; all new code should use the *DockWindow functions. QToolbar is a subclass of QDockWindow so all functions that work with dock windows work on toolbars in the same way.
.PP
If the user clicks the close button, then the dock window is hidden. A dock window can be hidden or unhidden by the user by 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 names of every dock window; visible dock windows have a tick beside their names. The dock window menu is created automatically as required by createDockWindowMenu(). Since it may not always be appropriate for a dock window to appear on this menu the setAppropriate() function is used to inform the main window whether or not the dock window menu should include a particular dock window. Double clicking a dock window handle (usually on the left-hand side of the dock window) undocks (floats) the dock window. Double clicking a floating dock window's titlebar will dock the floating dock window. (See also QMainWindow::DockWindows.)
.PP

@ -824,7 +824,7 @@ Set this property's value with setText() and get this property's value with text
.SH "TextFormat textFormat"
This property holds the format of the text displayed by the message box.
.PP
The current text format used by the message box. See the Qt::TextFormat enum for an explanation of the possible options.
The current text format used by the message box. See the TQt::TextFormat enum for an explanation of the possible options.
.PP
The default format is AutoText.
.PP

@ -82,7 +82,7 @@ Constructs a mouse event object.
.PP
The \fItype\fR parameter must be one of QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::MouseMove.
.PP
The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIbutton\fR specifies the button that caused the event, which should be Qt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event.
The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIbutton\fR specifies the button that caused the event, which should be TQt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event.
.PP
The globalPos() is initialized to QCursor::pos(), which may not be appropriate. Use the other constructor to specify the global position explicitly.
.SH "QMouseEvent::QMouseEvent ( Type type, const QPoint & pos, const QPoint & globalPos, int button, int state )"
@ -90,7 +90,7 @@ Constructs a mouse event object.
.PP
The \fItype\fR parameter must be QEvent::MouseButtonPress, QEvent::MouseButtonRelease, QEvent::MouseButtonDblClick or QEvent::MouseMove.
.PP
The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIglobalPos\fR is the position in absolute coordinates. \fIbutton\fR specifies the button that caused the event, which should be Qt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event.
The \fIpos\fR parameter specifies the position relative to the receiving widget. \fIglobalPos\fR is the position in absolute coordinates. \fIbutton\fR specifies the button that caused the event, which should be TQt::NoButton (0), if \fItype\fR is MouseMove. \fIstate\fR is the ButtonState at the time of the event.
.SH "void QMouseEvent::accept ()"
Sets the accept flag of the mouse event object.
.PP
@ -106,7 +106,7 @@ Possible return values are LeftButton, RightButton, MidButton and NoButton.
.PP
Note that the returned value is always NoButton for mouse move events.
.PP
See also state() and Qt::ButtonState.
See also state() and TQt::ButtonState.
.PP
Examples:
.)l dclock/dclock.cpp, life/life.cpp, and t14/cannon.cpp.
@ -152,14 +152,14 @@ This value is mainly interesting for QEvent::MouseMove; for the other cases, but
.PP
The returned value is LeftButton, RightButton, MidButton, ShiftButton, ControlButton and AltButton OR'ed together.
.PP
See also button(), stateAfter(), and Qt::ButtonState.
See also button(), stateAfter(), and TQt::ButtonState.
.PP
Examples:
.)l popup/popup.cpp and showimg/showimg.cpp.
.SH "ButtonState QMouseEvent::stateAfter () const"
Returns the state of buttons after the event.
.PP
See also state() and Qt::ButtonState.
See also state() and TQt::ButtonState.
.SH "int QMouseEvent::x () const"
Returns the x-position of the mouse pointer, relative to the widget that received the event.
.PP

@ -28,7 +28,7 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter.
.BI "virtual HDC \fBhandle\fR () const"
.br
.ti -1c
.BI "virtual Qt::HANDLE \fBhandle\fR () const"
.BI "virtual TQt::HANDLE \fBhandle\fR () const"
.br
.ti -1c
.BI "Display * \fBx11Display\fR () const"
@ -43,7 +43,7 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter.
.BI "int \fBx11Cells\fR () const"
.br
.ti -1c
.BI "Qt::HANDLE \fBx11Colormap\fR () const"
.BI "TQt::HANDLE \fBx11Colormap\fR () const"
.br
.ti -1c
.BI "bool \fBx11DefaultColormap\fR () const"
@ -82,10 +82,10 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter.
.BI "int \fBx11AppCells\fR ()"
.br
.ti -1c
.BI "Qt::HANDLE \fBx11AppRootWindow\fR ()"
.BI "TQt::HANDLE \fBx11AppRootWindow\fR ()"
.br
.ti -1c
.BI "Qt::HANDLE \fBx11AppColormap\fR ()"
.BI "TQt::HANDLE \fBx11AppColormap\fR ()"
.br
.ti -1c
.BI "bool \fBx11AppDefaultColormap\fR ()"
@ -103,10 +103,10 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter.
.BI "int \fBx11AppCells\fR ( int screen )"
.br
.ti -1c
.BI "Qt::HANDLE \fBx11AppRootWindow\fR ( int screen )"
.BI "TQt::HANDLE \fBx11AppRootWindow\fR ( int screen )"
.br
.ti -1c
.BI "Qt::HANDLE \fBx11AppColormap\fR ( int screen )"
.BI "TQt::HANDLE \fBx11AppColormap\fR ( int screen )"
.br
.ti -1c
.BI "void * \fBx11AppVisual\fR ( int screen )"
@ -142,7 +142,7 @@ Inherited by TQWidget, QPixmap, QPicture, and QPrinter.
.SH RELATED FUNCTION DOCUMENTATION
.in +1c
.ti -1c
.BI "void \fBbitBlt\fR ( QPaintDevice * dst, int dx, int dy, const QPaintDevice * src, int sx, int sy, int sw, int sh, Qt::RasterOp rop, bool ignoreMask )"
.BI "void \fBbitBlt\fR ( QPaintDevice * dst, int dx, int dy, const QPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask )"
.br
.ti -1c
.BI "void \fBbitBlt\fR ( QPaintDevice * dst, const QPoint & dp, const QPaintDevice * src, const QRect & sr, RasterOp rop )"
@ -201,7 +201,7 @@ Destroys the paint device and frees window system resources.
Internal virtual function that interprets drawing commands from the painter.
.PP
Implemented by subclasses that have no direct support for drawing graphics (external paint devices, for example, QPicture).
.SH "Qt::HANDLE QPaintDevice::handle () const\fC [virtual]\fR"
.SH "TQt::HANDLE QPaintDevice::handle () const\fC [virtual]\fR"
Returns the window system handle of the paint device, for low-level access. Using this function is not portable.
.PP
The HANDLE type varies with platform; see ntqpaintdevice.h and ntqwindowdefs.h for details.
@ -225,11 +225,11 @@ This is an overloaded member function, provided for convenience. It behaves esse
Returns the number of entries in the colormap for screen \fIscreen\fR of the X display global to the application (X11 only). Using this function is not portable.
.PP
See also x11Colormap().
.SH "Qt::HANDLE QPaintDevice::x11AppColormap ()\fC [static]\fR"
.SH "TQt::HANDLE QPaintDevice::x11AppColormap ()\fC [static]\fR"
Returns the colormap for the default screen of the X display global to the application (X11 only). Using this function is not portable.
.PP
See also x11Cells().
.SH "Qt::HANDLE QPaintDevice::x11AppColormap ( int screen )\fC [static]\fR"
.SH "TQt::HANDLE QPaintDevice::x11AppColormap ( int screen )\fC [static]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the colormap for screen \fIscreen\fR of the X display global to the application (X11 only). Using this function is not portable.
@ -283,9 +283,9 @@ This is an overloaded member function, provided for convenience. It behaves esse
Returns the vertical DPI of the X11 display (X11 only) for the default screen. Using this function is not portable. See QPaintDeviceMetrics for portable access to related information. Using this function is not portable.
.PP
See also x11AppDpiX(), x11SetAppDpiY(), and QPaintDeviceMetrics::logicalDpiY().
.SH "Qt::HANDLE QPaintDevice::x11AppRootWindow ()\fC [static]\fR"
.SH "TQt::HANDLE QPaintDevice::x11AppRootWindow ()\fC [static]\fR"
Returns the root window for the default screen of the X display global to the applicatoin (X11 only). Using this function is not portable.
.SH "Qt::HANDLE QPaintDevice::x11AppRootWindow ( int screen )\fC [static]\fR"
.SH "TQt::HANDLE QPaintDevice::x11AppRootWindow ( int screen )\fC [static]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the root window for screen \fIscreen\fR of the X display global to the applicatoin (X11 only). Using this function is not portable.
@ -301,7 +301,7 @@ Returns the Visual for screen \fIscreen\fR of the X display global to the applic
Returns the number of entries in the colormap of the X display for the paint device (X11 only). Using this function is not portable.
.PP
See also x11Colormap().
.SH "Qt::HANDLE QPaintDevice::x11Colormap () const"
.SH "TQt::HANDLE QPaintDevice::x11Colormap () const"
Returns the colormap of the X display for the paint device (X11 only). Using this function is not portable.
.PP
See also x11Cells().
@ -340,10 +340,10 @@ Sets the value returned by x11AppDpiY() to \fIdpi\fR for the default screen. The
.SH "void * QPaintDevice::x11Visual () const"
Returns the Visual of the X display for the paint device (X11 only). Using this function is not portable.
.SH RELATED FUNCTION DOCUMENTATION
.SH "void bitBlt ( QPaintDevice * dst, int dx, int dy, const QPaintDevice * src, int sx, int sy, int sw, int sh, Qt::RasterOp rop, bool ignoreMask )"
.SH "void bitBlt ( QPaintDevice * dst, int dx, int dy, const QPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask )"
Copies a block of pixels from \fIsrc\fR to \fIdst\fR, perhaps merging each pixel according to the raster operation \fIrop\fR. \fIsx\fR, \fIsy\fR is the top-left pixel in \fIsrc\fR (0, 0) by default, \fIdx\fR, \fIdy\fR is the top-left position in \fIdst\fR and \fIsw\fR, \fIsh\fR is the size of the copied block (all of \fIsrc\fR by default).
.PP
The most common values for \fIrop\fR are CopyROP and XorROP; the Qt::RasterOp documentation defines all the possible values.
The most common values for \fIrop\fR are CopyROP and XorROP; the TQt::RasterOp documentation defines all the possible values.
.PP
If \fIignoreMask\fR is FALSE (the default) and \fIsrc\fR is a masked QPixmap, the entire blit is masked by \fIsrc\fR->mask().
.PP

@ -463,7 +463,7 @@ Mostly, all this is done inside a paint event. (In fact, 99% of all QPainter use
.br
QPainter paint( this );
.br
paint.setPen( Qt::blue );
paint.setPen( TQt::blue );
.br
paint.drawText( rect(), AlignCenter, "The Text" );
.br
@ -710,7 +710,7 @@ If several of the horizontal or several of the vertical alignment flags are set,
.PP
The \fIintern\fR parameter should not be used.
.PP
See also Qt::TextFlags.
See also TQt::TextFlags.
.SH "QRect QPainter::boundingRect ( const QRect & r, int flags, const TQString & str, int len = -1, QTextParag ** internal = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@ -718,7 +718,7 @@ Returns the bounding rectangle of the aligned text that would be printed with th
.PP
The \fIinternal\fR parameter should not be used.
.PP
See also drawText(), fontMetrics(), QFontMetrics::boundingRect(), and Qt::TextFlags.
See also drawText(), fontMetrics(), QFontMetrics::boundingRect(), and TQt::TextFlags.
.SH "const QBrush & QPainter::brush () const"
Returns the painter's current brush.
.PP
@ -821,7 +821,7 @@ Draws the image \fIi\fR at point \fIp\fR.
.PP
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 \fIconversion_flags\fR to specify how you'd prefer this to happen.
.PP
See also Qt::ImageConversionFlags.
See also TQt::ImageConversionFlags.
.SH "void QPainter::drawImage ( const QRect & r, const TQImage & i )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
@ -997,13 +997,13 @@ Draws the text from position \fIpos\fR, at point \fI(x, y)\fR. If \fIlen\fR is -
.SH "void QPainter::drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, QRect * br = 0, QTextParag ** internal = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws the given text within the rectangle starting at \fIx\fR, \fIy\fR, with width \fIw\fR and height \fIh\fR. If \fIlen\fR is -1 (the default) all the text is drawn, otherwise the first \fIlen\fR characters are drawn. The text's flags that are given in the \fIflags\fR parameter are Qt::AlignmentFlags and Qt::TextFlags OR'd together. \fIbr\fR (if not null) is set to the actual bounding rectangle of the output. The \fIinternal\fR parameter is for internal use only.
Draws the given text within the rectangle starting at \fIx\fR, \fIy\fR, with width \fIw\fR and height \fIh\fR. If \fIlen\fR is -1 (the default) all the text is drawn, otherwise the first \fIlen\fR characters are drawn. The text's flags that are given in the \fIflags\fR parameter are TQt::AlignmentFlags and TQt::TextFlags OR'd together. \fIbr\fR (if not null) is set to the actual bounding rectangle of the output. The \fIinternal\fR parameter is for internal use only.
.SH "void QPainter::drawText ( const QRect & r, int tf, const TQString & str, int len = -1, QRect * brect = 0, QTextParag ** internal = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Draws at most \fIlen\fR characters from \fIstr\fR in the rectangle \fIr\fR.
.PP
This function draws formatted text. The \fItf\fR text format is really of type Qt::AlignmentFlags and Qt::TextFlags OR'd together.
This function draws formatted text. The \fItf\fR text format is really of type TQt::AlignmentFlags and TQt::TextFlags OR'd together.
.PP
Horizontal alignment defaults to AlignAuto and vertical alignment defaults to AlignTop.
.PP
@ -1341,7 +1341,7 @@ See also pen() and QPen.
.SH "void QPainter::setRasterOp ( RasterOp r )"
Sets the raster operation to \fIr\fR. The default is CopyROP.
.PP
See also rasterOp() and Qt::RasterOp.
See also rasterOp() and TQt::RasterOp.
.SH "void QPainter::setTabArray ( int * ta )"
Sets the tab stop array to \fIta\fR. This puts tab stops at \fIta[0]\fR, \fIta[1]\fR and so on. The array is null-terminated.
.PP

@ -87,7 +87,7 @@ The QPen class defines how a QPainter should draw lines and outlines of shapes.
.PP
A pen has a style, width, color, cap style and join style.
.PP
The pen style defines the line type. The default pen style is Qt::SolidLine. Setting the style to NoPen tells the painter to not draw lines or outlines.
The pen style defines the line type. The default pen style is TQt::SolidLine. Setting the style to NoPen tells the painter to not draw lines or outlines.
.PP
When drawing 1 pixel wide diagonal lines you can either use a very fast algorithm (specified by a line width of 0, which is the default), or a slower but more accurate algorithm (specified by a line width of 1). For horizontal and vertical lines a line width of 0 is the same as a line width of 1. The cap and join style have no effect on 0-width lines.
.PP
@ -119,7 +119,7 @@ Example:
.br
.fi
.PP
See the Qt::PenStyle enum type for a complete list of pen styles.
See the TQt::PenStyle enum type for a complete list of pen styles.
.PP
With reference to the end points of lines, for wide (non-0-width) pens it depends on the cap style whether the end point is drawn or not. QPainter will try to make sure that the end point is drawn for 0-width pens, but this cannot be absolutely guaranteed because the underlying drawing engine is free to use any (typically accelerated) algorithm for drawing 0-width lines. On all tested systems, however, the end point of at least all non-diagonal lines are drawn.
.PP
@ -223,7 +223,7 @@ Example: themes/wood.cpp.
.SH "void QPen::setStyle ( PenStyle s )"
Sets the pen style to \fIs\fR.
.PP
See the Qt::PenStyle documentation for a list of all the styles.
See the TQt::PenStyle documentation for a list of all the styles.
.PP
\fBWarning:\fR On Mac OS X the style setting (other than NoPen and SolidLine) have no effect as they are not implemented by the underlying system.
.PP

@ -78,7 +78,7 @@ Inherited by QBitmap and QCanvasPixmap.
.BI "int \fBdepth\fR () const"
.br
.ti -1c
.BI "void \fBfill\fR ( const TQColor & fillColor = Qt::white )"
.BI "void \fBfill\fR ( const TQColor & fillColor = TQt::white )"
.br
.ti -1c
.BI "void \fBfill\fR ( const TQWidget * widget, int xofs, int yofs )"
@ -319,7 +319,7 @@ The \fIfileName\fR, \fIformat\fR and \fIconversion_flags\fR parameters are passe
.PP
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 \fIconversion_flags\fR to specify how you'd prefer this to happen.
.PP
See also Qt::ImageConversionFlags, isNull(), load(), loadFromData(), save(), and imageFormat().
See also TQt::ImageConversionFlags, isNull(), load(), loadFromData(), save(), and imageFormat().
.SH "QPixmap::QPixmap ( const char * xpm[] )"
Constructs a pixmap from \fIxpm\fR, which must be a valid XPM image.
.PP
@ -355,7 +355,7 @@ Destroys the pixmap.
.SH "bool QPixmap::convertFromImage ( const TQImage & img, int conversion_flags )"
Converts image \fIimg\fR and sets this pixmap. Returns TRUE if successful; otherwise returns FALSE.
.PP
The \fIconversion_flags\fR argument is a bitwise-OR of the Qt::ImageConversionFlags. Passing 0 for \fIconversion_flags\fR sets all the default options.
The \fIconversion_flags\fR argument is a bitwise-OR of the TQt::ImageConversionFlags. Passing 0 for \fIconversion_flags\fR sets all the default options.
.PP
Note that even though a QPixmap with depth 1 behaves much like a QBitmap, isQBitmap() returns FALSE.
.PP
@ -419,7 +419,7 @@ A pixmap is automatically detached by TQt whenever its contents is about to chan
It is possible to modify a pixmap without letting TQt know. You can first obtain the system-dependent handle() and then call system-specific functions (for instance, BitBlt under Windows) that modify the pixmap contents. In such cases, you can call detach() to cut the pixmap loose from other pixmaps that share data with this one.
.PP
detach() returns immediately if there is just a single reference or if the pixmap has not been initialized yet.
.SH "void QPixmap::fill ( const TQColor & fillColor = Qt::white )"
.SH "void QPixmap::fill ( const TQColor & fillColor = TQt::white )"
Fills the pixmap with the color \fIfillColor\fR.
.PP
Examples:

@ -37,7 +37,7 @@ Creates an image packer that writes PNG data to IO device \fIiod\fR using a \fIs
.PP
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 \fIconversionflags\fR to specify how you'd prefer this to happen.
.PP
See also Qt::ImageConversionFlags.
See also TQt::ImageConversionFlags.
.SH "bool QPNGImagePacker::packImage ( const TQImage & img )"
Adds the image \fIimg\fR to the PNG animation, analyzing the differences between this and the previous image to improve compression.
.SH "void QPNGImagePacker::setPixelAlignment ( int x )"

@ -264,7 +264,7 @@ This enum type is used to indicate whether QPrinter should print in color or not
.TP
\fCQPrinter::GrayScale\fR - print in grayscale, even on color printers. Might be a little faster than Color. This is the default.
.SH "QPrinter::Orientation"
This enum type (not to be confused with Qt::Orientation) is used to specify each page's orientation.
This enum type (not to be confused with TQt::Orientation) is used to specify each page's orientation.
.TP
\fCQPrinter::Portrait\fR - the page's height is greater than its width (the default).
.TP

@ -197,7 +197,7 @@ The minValue defaults to 0, the maxValue to 99, with a lineStep size of 1 and a
.SH "QScrollBar::QScrollBar ( Orientation orientation, TQWidget * parent, const char * name = 0 )"
Constructs a scroll bar.
.PP
The \fIorientation\fR must be Qt::Vertical or Qt::Horizontal.
The \fIorientation\fR must be TQt::Vertical or TQt::Horizontal.
.PP
The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructor.
.PP
@ -310,7 +310,7 @@ Set this property's value with setMinValue() and get this property's value with
.SH "Orientation orientation"
This property holds the orientation of the scroll bar.
.PP
The orientation must be Qt::Vertical (the default) or Qt::Horizontal.
The orientation must be TQt::Vertical (the default) or TQt::Horizontal.
.PP
Set this property's value with setOrientation() and get this property's value with orientation().
.SH "int pageStep"

@ -413,7 +413,7 @@ To enable drag-and-drop, you would setAcceptDrops(TRUE) on the QScrollView (beca
.PP
To handle mouse events on the scrolling area, subclass scrollview as you would subclass other widgets, but rather than reimplementing mousePressEvent(), reimplement contentsMousePressEvent() instead. The contents specific event handlers provide translated events in the coordinate system of the scrollview. If you reimplement mousePressEvent(), you'll get called only when part of the QScrollView is clicked: and the only such part is the "corner" (if you don't set a cornerWidget()) and the frame; everything else is covered up by the viewport, clipper or scroll bars.
.PP
When you construct a QScrollView, some of the widget flags apply to the viewport() instead of being sent to the TQWidget constructor for the QScrollView. This applies to WNoAutoErase, WStaticContents, and WPaintClever. See Qt::WidgetFlags for documentation about these flags. Here are some examples:
When you construct a QScrollView, some of the widget flags apply to the viewport() instead of being sent to the TQWidget constructor for the QScrollView. This applies to WNoAutoErase, WStaticContents, and WPaintClever. See TQt::WidgetFlags for documentation about these flags. Here are some examples:
.IP
.TP
An image-manipulation widget would use \fCWNoAutoErase|WStaticContents\fR because the widget draws all pixels itself, and when its size increases, it only needs a paint event for the new part because the old part remains unchanged.

@ -17,7 +17,7 @@ QSimpleRichText \- Small displayable piece of rich text
.BI "\fBQSimpleRichText\fR ( const TQString & text, const QFont & fnt, const TQString & context = TQString::null, const QStyleSheet * sheet = 0 )"
.br
.ti -1c
.BI "\fBQSimpleRichText\fR ( const TQString & text, const QFont & fnt, const TQString & context, const QStyleSheet * sheet, const QMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = Qt::blue, bool linkUnderline = TRUE )"
.BI "\fBQSimpleRichText\fR ( const TQString & text, const QFont & fnt, const TQString & context, const QStyleSheet * sheet, const QMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )"
.br
.ti -1c
.BI "\fB~QSimpleRichText\fR ()"
@ -88,7 +88,7 @@ The font is used as a basis for the text rendering. When using rich text renderi
\fIcontext\fR is the optional context of the rich text object. This becomes important if \fItext\fR contains relative references, for example within image tags. QSimpleRichText always uses the default mime source factory (see QMimeSourceFactory::defaultFactory()) to resolve those references. The context will then be used to calculate the absolute path. See QMimeSourceFactory::makeAbsolute() for details.
.PP
The \fIsheet\fR is an optional style sheet. If it is 0, the default style sheet will be used (see QStyleSheet::defaultSheet()).
.SH "QSimpleRichText::QSimpleRichText ( const TQString & text, const QFont & fnt, const TQString & context, const QStyleSheet * sheet, const QMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = Qt::blue, bool linkUnderline = TRUE )"
.SH "QSimpleRichText::QSimpleRichText ( const TQString & text, const QFont & fnt, const TQString & context, const QStyleSheet * sheet, const QMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )"
Constructs a QSimpleRichText from the rich text string \fItext\fR and the font \fIfnt\fR.
.PP
This is a slightly more complex constructor for QSimpleRichText that takes an additional mime source factory \fIfactory\fR, a page break parameter \fIpageBreak\fR and a bool \fIlinkUnderline\fR. \fIlinkColor\fR is only provided for compatibility, but has no effect, as QColorGroup's QColorGroup::link() color is used now.

@ -205,13 +205,13 @@ The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructo
.SH "QSlider::QSlider ( Orientation orientation, TQWidget * parent, const char * name = 0 )"
Constructs a slider.
.PP
The \fIorientation\fR must be Qt::Vertical or Qt::Horizontal.
The \fIorientation\fR must be TQt::Vertical or TQt::Horizontal.
.PP
The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructor.
.SH "QSlider::QSlider ( int minValue, int maxValue, int pageStep, int value, Orientation orientation, TQWidget * parent, const char * name = 0 )"
Constructs a slider whose value can never be smaller than \fIminValue\fR or greater than \fImaxValue\fR, whose page step size is \fIpageStep\fR and whose value is initially \fIvalue\fR (which is guaranteed to be in range using bound()).
.PP
If \fIorientation\fR is Qt::Vertical the slider is vertical and if it is Qt::Horizontal the slider is horizontal.
If \fIorientation\fR is TQt::Vertical the slider is vertical and if it is TQt::Horizontal the slider is horizontal.
.PP
The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructor.
.SH "QSlider::~QSlider ()"
@ -324,7 +324,7 @@ Set this property's value with setMinValue() and get this property's value with
.SH "Orientation orientation"
This property holds the slider's orientation.
.PP
The orientation must be Qt::Vertical (the default) or Qt::Horizontal.
The orientation must be TQt::Vertical (the default) or TQt::Horizontal.
.PP
Set this property's value with setOrientation() and get this property's value with orientation().
.SH "int pageStep"

@ -143,7 +143,7 @@ Makes the splash screen wait until the widget \fImainWin\fR is displayed before
.SH "void QSplashScreen::message ( const TQString & message, int alignment = AlignLeft, const TQColor & color = black )\fC [slot]\fR"
Draws the \fImessage\fR text onto the splash screen with color \fIcolor\fR and aligns the text according to the flags in \fIalignment\fR.
.PP
See also Qt::AlignmentFlags and clear().
See also TQt::AlignmentFlags and clear().
.SH "void QSplashScreen::messageChanged ( const TQString & message )\fC [signal]\fR"
This signal is emitted when the message on the splash screen changes. \fImessage\fR is the new message and is a null-string when the message has been removed.
.PP

@ -536,9 +536,9 @@ This enum represents a StyleHint. A StyleHint is a general look and/or feel hint
.TP
\fCQStyle::SH_ScrollBar_ScrollWhenPointerLeavesControl\fR - a boolean value. If TRUE, when clicking a scrollbar SubControl, holding the mouse button down and moving the pointer outside the SubControl, the scrollbar continues to scroll. If FALSE, the scollbar stops scrolling when the pointer leaves the SubControl.
.TP
\fCQStyle::SH_TabBar_Alignment\fR - the alignment for tabs in a QTabWidget. Possible values are Qt::AlignLeft, Qt::AlignCenter and Qt::AlignRight.
\fCQStyle::SH_TabBar_Alignment\fR - the alignment for tabs in a QTabWidget. Possible values are TQt::AlignLeft, TQt::AlignCenter and TQt::AlignRight.
.TP
\fCQStyle::SH_Header_ArrowAlignment\fR - the placement of the sorting indicator may appear in list or table headers. Possible values are Qt::Left or Qt::Right.
\fCQStyle::SH_Header_ArrowAlignment\fR - the placement of the sorting indicator may appear in list or table headers. Possible values are TQt::Left or TQt::Right.
.TP
\fCQStyle::SH_Slider_SnapToValue\fR - sliders snap to values while moving, like Windows
.TP
@ -546,7 +546,7 @@ This enum represents a StyleHint. A StyleHint is a general look and/or feel hint
.TP
\fCQStyle::SH_ProgressDialog_CenterCancelButton\fR - center button on progress dialogs, like Motif, otherwise right aligned.
.TP
\fCQStyle::SH_ProgressDialog_TextLabelAlignment\fR - Qt::AlignmentFlags -- text label alignment in progress dialogs; Center on windows, Auto|VCenter otherwise.
\fCQStyle::SH_ProgressDialog_TextLabelAlignment\fR - TQt::AlignmentFlags -- text label alignment in progress dialogs; Center on windows, Auto|VCenter otherwise.
.TP
\fCQStyle::SH_PrintDialog_RightAlignButtons\fR - right align buttons in the print dialog, like Windows.
.TP
@ -876,7 +876,7 @@ The rect \fIr\fR should be in screen coordinates.
.PP
See also drawControl() and ControlElement.
.SH "void QStyle::drawItem ( QPainter * p, const QRect & r, int flags, const QColorGroup & g, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const\fC [virtual]\fR"
Draws the \fItext\fR or \fIpixmap\fR in rectangle \fIr\fR using painter \fIp\fR and color group \fIg\fR. The pen color is specified with \fIpenColor\fR. The \fIenabled\fR bool indicates whether or not the item is enabled; when reimplementing this bool should influence how the item is drawn. If \fIlen\fR is -1 (the default) all the \fItext\fR is drawn; otherwise only the first \fIlen\fR characters of \fItext\fR are drawn. The text is aligned and wrapped according to the alignment \fIflags\fR (see Qt::AlignmentFlags).
Draws the \fItext\fR or \fIpixmap\fR in rectangle \fIr\fR using painter \fIp\fR and color group \fIg\fR. The pen color is specified with \fIpenColor\fR. The \fIenabled\fR bool indicates whether or not the item is enabled; when reimplementing this bool should influence how the item is drawn. If \fIlen\fR is -1 (the default) all the \fItext\fR is drawn; otherwise only the first \fIlen\fR characters of \fItext\fR are drawn. The text is aligned and wrapped according to the alignment \fIflags\fR (see TQt::AlignmentFlags).
.PP
By default, if both the text and the pixmap are not null, the pixmap is drawn and the text is ignored.
.SH "void QStyle::drawPrimitive ( PrimitiveElement pe, QPainter * p, const QRect & r, const QColorGroup & cg, SFlags flags = Style_Default, const QStyleOption & opt = QStyleOption::Default ) const\fC [pure virtual]\fR"
@ -929,7 +929,7 @@ See also StyleFlags.
.PP
Example: themes/wood.cpp.
.SH "QRect QStyle::itemRect ( QPainter * p, const QRect & r, int flags, bool enabled, const QPixmap * pixmap, const TQString & text, int len = -1 ) const\fC [virtual]\fR"
Returns the appropriate area (see below) within rectangle \fIr\fR in which to draw the \fItext\fR or \fIpixmap\fR using painter \fIp\fR. If \fIlen\fR is -1 (the default) all the \fItext\fR is drawn; otherwise only the first \fIlen\fR characters of \fItext\fR are drawn. The text is aligned in accordance with the alignment \fIflags\fR (see Qt::AlignmentFlags). The \fIenabled\fR bool indicates whether or not the item is enabled.
Returns the appropriate area (see below) within rectangle \fIr\fR in which to draw the \fItext\fR or \fIpixmap\fR using painter \fIp\fR. If \fIlen\fR is -1 (the default) all the \fItext\fR is drawn; otherwise only the first \fIlen\fR characters of \fItext\fR are drawn. The text is aligned in accordance with the alignment \fIflags\fR (see TQt::AlignmentFlags). The \fIenabled\fR bool indicates whether or not the item is enabled.
.PP
If \fIr\fR is larger than the area needed to render the \fItext\fR the rectangle that is returned will be offset within \fIr\fR in accordance with the alignment \fIflags\fR. For example if \fIflags\fR is AlignCenter the returned rectangle will be centered within \fIr\fR. If \fIr\fR is smaller than the area needed the rectangle that is returned will be \fIlarger\fR than \fIr\fR (the smallest rectangle large enough to render the \fItext\fR or \fIpixmap\fR).
.PP

@ -50,7 +50,7 @@ QStyleOption \- Optional parameters for QStyle functions
.BI "\fBQStyleOption\fR ( QCheckListItem * i )"
.br
.ti -1c
.BI "\fBQStyleOption\fR ( Qt::ArrowType a )"
.BI "\fBQStyleOption\fR ( TQt::ArrowType a )"
.br
.ti -1c
.BI "\fBQStyleOption\fR ( const QRect & r )"
@ -101,7 +101,7 @@ QStyleOption \- Optional parameters for QStyle functions
.BI "QListViewItem * \fBlistViewItem\fR () const"
.br
.ti -1c
.BI "Qt::ArrowType \fBarrowType\fR () const"
.BI "TQt::ArrowType \fBarrowType\fR () const"
.br
.ti -1c
.BI "QRect \fBrect\fR () const"
@ -154,13 +154,13 @@ Pass a QTab, \fIt\fR.
Pass a QListViewItem, \fIi\fR.
.SH "QStyleOption::QStyleOption ( QCheckListItem * i )"
Pass a QCheckListItem, \fIi\fR.
.SH "QStyleOption::QStyleOption ( Qt::ArrowType a )"
Pass an Qt::ArrowType, \fIa\fR.
.SH "QStyleOption::QStyleOption ( TQt::ArrowType a )"
Pass an TQt::ArrowType, \fIa\fR.
.SH "QStyleOption::QStyleOption ( const QRect & r )"
Pass a QRect, \fIr\fR.
.SH "QStyleOption::QStyleOption ( TQWidget * w )"
Pass a TQWidget, \fIw\fR.
.SH "Qt::ArrowType QStyleOption::arrowType () const"
.SH "TQt::ArrowType QStyleOption::arrowType () const"
Returns an arrow type if the appropriate constructor was called; otherwise the return value is undefined.
.SH "QCheckListItem * QStyleOption::checkListItem () const"
Returns a check list item if the appropriate constructor was called; otherwise the return value is undefined.

@ -260,7 +260,7 @@ Destroys the style. Note that QStyleSheetItem objects become owned by QStyleShee
.SH "int QStyleSheetItem::alignment () const"
Returns the alignment of this style. Possible values are AlignAuto, AlignLeft, AlignRight, AlignCenter or AlignJustify.
.PP
See also setAlignment() and Qt::AlignmentFlags.
See also setAlignment() and TQt::AlignmentFlags.
.SH "bool QStyleSheetItem::allowedInContext ( const QStyleSheetItem * s ) const"
Returns TRUE if this style can be nested into an element of style \fIs\fR; otherwise returns FALSE.
.PP
@ -358,7 +358,7 @@ See also setSelfNesting().
.SH "void QStyleSheetItem::setAlignment ( int f )"
Sets the alignment to \fIf\fR. This only makes sense for styles with a display mode of DisplayBlock. Possible values are AlignAuto, AlignLeft, AlignRight, AlignCenter or AlignJustify.
.PP
See also alignment(), displayMode(), and Qt::AlignmentFlags.
See also alignment(), displayMode(), and TQt::AlignmentFlags.
.SH "void QStyleSheetItem::setAnchor ( bool anc )"
If \fIanc\fR is TRUE, sets this style to be an anchor (hypertext link); otherwise sets it to not be an anchor. Elements in this style link to other documents or anchors.
.PP

@ -127,7 +127,7 @@ However, you may occasionally need to say \fCQt::black\fR instead of just \fCbla
.PP
See also Miscellaneous Classes.
.SS "Member Type Documentation"
.SH "Qt::AlignmentFlags"
.SH "TQt::AlignmentFlags"
This enum type is used to describe alignment. It contains horizontal and vertical flags.
.PP
The horizontal flags are:
@ -163,13 +163,13 @@ Masks:
\fCQt::AlignVertical_Mask\fR
.PP
Conflicting combinations of flags have undefined meanings.
.SH "Qt::AnchorAttribute"
.SH "TQt::AnchorAttribute"
An anchor has one or more of the following attributes:
.TP
\fCQt::AnchorName\fR - the name attribute of the anchor. This attribute is used when scrolling to an anchor in the document.
.TP
\fCQt::AnchorHref\fR - the href attribute of the anchor. This attribute is used when a link is clicked to determine what content to load.
.SH "Qt::ArrowType"
.SH "TQt::ArrowType"
.TP
\fCQt::UpArrow\fR
.TP
@ -178,13 +178,13 @@ An anchor has one or more of the following attributes:
\fCQt::LeftArrow\fR
.TP
\fCQt::RightArrow\fR
.SH "Qt::BGMode"
.SH "TQt::BGMode"
Background mode
.TP
\fCQt::TransparentMode\fR
.TP
\fCQt::OpaqueMode\fR
.SH "Qt::BackgroundMode"
.SH "TQt::BackgroundMode"
This enum describes how the background of a widget changes, as the widget's palette changes.
.PP
The background is what the widget contains when paintEvent() is called. To minimize flicker, this should be the most common color or pixmap in the widget. For PaletteBackground, use colorGroup().brush( QColorGroup::Background ), and so on.
@ -234,7 +234,7 @@ The final three values have special meaning:
Although FixedColor and FixedPixmap are sometimes just right, if you use them, make sure that you test your application when the desktop color scheme has been changed. (On X11, a quick way to test this is e.g. "./myapp -bg paleblue". On Windows, you must use the control panel.)
.PP
See also TQWidget::backgroundMode, TQWidget::backgroundMode, TQWidget::setBackgroundPixmap(), and TQWidget::paletteBackgroundColor.
.SH "Qt::BrushStyle"
.SH "TQt::BrushStyle"
.TP
\fCQt::NoBrush\fR
.TP
@ -273,7 +273,7 @@ See also TQWidget::backgroundMode, TQWidget::backgroundMode, TQWidget::setBackgr
.B "[Image Omitted]"
.PP
</center>
.SH "Qt::ButtonState"
.SH "TQt::ButtonState"
This enum type describes the state of the mouse and the modifier buttons.
.TP
\fCQt::NoButton\fR - used when the button state does not refer to any button (see QMouseEvent::button()).
@ -297,7 +297,7 @@ This enum type describes the state of the mouse and the modifier buttons.
\fCQt::KeyButtonMask\fR - a mask for ShiftButton, ControlButton, AltButton and MetaButton.
.TP
\fCQt::MouseButtonMask\fR - a mask for LeftButton, RightButton and MidButton.
.SH "Qt::Corner"
.SH "TQt::Corner"
This enum type specifies a corner in a rectangle:
.TP
\fCQt::TopLeft\fR - top left corner
@ -307,7 +307,7 @@ This enum type specifies a corner in a rectangle:
\fCQt::BottomLeft\fR - bottom left corner
.TP
\fCQt::BottomRight\fR - bottom right corner
.SH "Qt::CursorShape"
.SH "TQt::CursorShape"
This enum type defines the various cursors that can be used.
.TP
\fCQt::ArrowCursor\fR - standard arrow cursor
@ -353,14 +353,14 @@ ArrowCursor is the default for widgets in a normal state.
.B "[Image Omitted]"
.PP
</center>
.SH "Qt::DateFormat"
.SH "TQt::DateFormat"
.TP
\fCQt::TextDate\fR - (default) TQt format
.TP
\fCQt::ISODate\fR - ISO 8601 extended format (YYYY-MM-DD, or with time, YYYY-MM-DDTHH:MM:SS)
.TP
\fCQt::LocalDate\fR - locale dependent format
.SH "Qt::Dock"
.SH "TQt::Dock"
Each dock window can be in one of the following positions:
.TP
\fCQt::DockTop\fR - above the central widget, below the menu bar.
@ -376,7 +376,7 @@ Each dock window can be in one of the following positions:
\fCQt::DockTornOff\fR - the dock window floats as its own top level window which always stays on top of the main window.
.TP
\fCQt::DockUnmanaged\fR - not managed by a QMainWindow.
.SH "Qt::GUIStyle"
.SH "TQt::GUIStyle"
\fBThis type is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.TP
\fCQt::WindowsStyle\fR
@ -388,7 +388,7 @@ Each dock window can be in one of the following positions:
\fCQt::Win3Style\fR
.TP
\fCQt::PMStyle\fR
.SH "Qt::ImageConversionFlags"
.SH "TQt::ImageConversionFlags"
The conversion flag is a bitwise-OR of the following values. The options marked "(default)" are set if no other values from the list are included (since the defaults are zero):
.PP
Color/Mono preference (ignored for QBitmap)
@ -436,7 +436,7 @@ The following are not values that are used directly, but masks for the above cla
\fCQt::DitherMode_Mask\fR - Mask for the mode that determines the preference of color matching versus dithering.
.PP
Using 0 as the conversion flag sets all the default options.
.SH "Qt::Key"
.SH "TQt::Key"
The key names used by Qt.
.TP
\fCQt::Key_Escape\fR
@ -1006,7 +1006,7 @@ Multimedia keys
\fCQt::Key_Direction_L\fR - internal use only
.TP
\fCQt::Key_Direction_R\fR - internal use only
.SH "Qt::MacintoshVersion"
.SH "TQt::MacintoshVersion"
.TP
\fCQt::MV_Unknown\fR - Version cannot be detected
.TP
@ -1031,7 +1031,7 @@ Multimedia keys
\fCQt::MV_PANTHER\fR - 10.3 Codename
.TP
\fCQt::MV_TIGER\fR - 10.4 Codename
.SH "Qt::Modifier"
.SH "TQt::Modifier"
This enum type describes the keyboard modifier keys supported by Qt.
.TP
\fCQt::SHIFT\fR - the Shift keys provided on all standard keyboards.
@ -1045,7 +1045,7 @@ This enum type describes the keyboard modifier keys supported by Qt.
\fCQt::MODIFIER_MASK\fR - is a mask of Shift, Ctrl, Alt and Meta.
.TP
\fCQt::UNICODE_ACCEL\fR - the accelerator is specified as a Unicode code point, not as a TQt Key.
.SH "Qt::Orientation"
.SH "TQt::Orientation"
This type is used to signify an object's orientation.
.TP
\fCQt::Horizontal\fR
@ -1053,7 +1053,7 @@ This type is used to signify an object's orientation.
\fCQt::Vertical\fR
.PP
Orientation is used with QScrollBar for example.
.SH "Qt::PaintUnit"
.SH "TQt::PaintUnit"
.TP
\fCQt::PixelUnit\fR
.TP
@ -1066,7 +1066,7 @@ Orientation is used with QScrollBar for example.
\fCQt::HiEnglishUnit\fR - \fIobsolete\fR
.TP
\fCQt::TwipsUnit\fR - \fIobsolete\fR
.SH "Qt::PenCapStyle"
.SH "TQt::PenCapStyle"
This enum type defines the pen cap styles supported by Qt, i.e. the line end caps that can be drawn using QPainter.
.TP
\fCQt::FlatCap\fR - a square line end that does not cover the end point of the line.
@ -1082,7 +1082,7 @@ This enum type defines the pen cap styles supported by Qt, i.e. the line end cap
.B "[Image Omitted]"
.PP
</center>
.SH "Qt::PenJoinStyle"
.SH "TQt::PenJoinStyle"
This enum type defines the pen join styles supported by Qt, i.e. which joins between two connected lines can be drawn using QPainter.
.TP
\fCQt::MiterJoin\fR - The outer edges of the lines are extended to meet at an angle, and this area is filled.
@ -1098,7 +1098,7 @@ This enum type defines the pen join styles supported by Qt, i.e. which joins bet
.B "[Image Omitted]"
.PP
</center>
.SH "Qt::PenStyle"
.SH "TQt::PenStyle"
This enum type defines the pen styles that can be drawn using QPainter. The styles are
.TP
\fCQt::NoPen\fR - no line at all. For example, QPainter::drawRect() fills but does not draw any boundary line.
@ -1120,7 +1120,7 @@ This enum type defines the pen styles that can be drawn using QPainter. The styl
.B "[Image Omitted]"
.PP
</center>
.SH "Qt::RasterOp"
.SH "TQt::RasterOp"
This enum type is used to describe the way things are written to the paint device. Each bit of the \fIsrc\fR (what you write) interacts with the corresponding bit of the \fIdst\fR pixel.
.TP
\fCQt::CopyROP\fR - dst = src
@ -1162,20 +1162,20 @@ This enum type is used to describe the way things are written to the paint devic
By far the most useful ones are CopyROP and XorROP.
.PP
On Qt/Embedded, only CopyROP, XorROP, and NotROP are supported.
.SH "Qt::SequenceMatch"
.SH "TQt::SequenceMatch"
.TP
\fCQt::NoMatch\fR - Sequences have nothing in common
.TP
\fCQt::PartialMatch\fR - Sequences match partially, but are not complete
.TP
\fCQt::Identical\fR - Sequences do not differ
.SH "Qt::SortOrder"
.SH "TQt::SortOrder"
This enum describes how the items in a widget are sorted.
.TP
\fCQt::Ascending\fR - The items are sorted ascending e.g. starts with 'AAA' ends with 'ZZZ' in Latin-1 locales
.TP
\fCQt::Descending\fR - The items are sorted descending e.g. starts with 'ZZZ' ends with 'AAA' in Latin-1 locales
.SH "Qt::StringComparisonMode"
.SH "TQt::StringComparisonMode"
This enum type is used to set the string comparison mode when searching for an item. It is used by QListBox, QListView and QIconView, for example. We'll refer to the string being searched as the 'target' string.
.TP
\fCQt::CaseSensitive\fR - The strings must match case sensitively.
@ -1191,7 +1191,7 @@ This enum type is used to set the string comparison mode when searching for an i
If you OR these flags together (excluding CaseSensitive), the search criteria be applied in the following order: ExactMatch, BeginsWith, EndsWith, Contains.
.PP
Matching is case-insensitive unless CaseSensitive is set. CaseSensitive can be OR-ed with any combination of the other flags.
.SH "Qt::TextFlags"
.SH "TQt::TextFlags"
This enum type is used to define some modifier flags. Some of these flags only make sense in the context of printing:
.TP
\fCQt::SingleLine\fR - Treats all whitespace as spaces and prints just one line.
@ -1211,7 +1211,7 @@ This enum type is used to define some modifier flags. Some of these flags only m
You can use as many modifier flags as you want, except that SingleLine and WordBreak cannot be combined.
.PP
Flags that are inappropriate for a given use (e.g. ShowPrefix to QGridLayout::addWidget()) are generally ignored.
.SH "Qt::TextFormat"
.SH "TQt::TextFormat"
This enum is used in widgets that can display both plain text and rich text, e.g. QLabel. It is used for deciding whether a text string should be interpreted as one or the other. This is normally done by passing one of the enum values to a setTextFormat() function.
.TP
\fCQt::PlainText\fR - The text string is interpreted as a plain text string.
@ -1221,12 +1221,12 @@ This enum is used in widgets that can display both plain text and rich text, e.g
\fCQt::AutoText\fR - The text string is interpreted as for RichText if QStyleSheet::mightBeRichText() returns TRUE, otherwise as PlainText.
.TP
\fCQt::LogText\fR - A special, limited text format which is only used by QTextEdit in an optimized mode.
.SH "Qt::TimeSpec"
.SH "TQt::TimeSpec"
.TP
\fCQt::LocalTime\fR - Locale dependent time (Timezones and Daylight Savings Time)
.TP
\fCQt::UTC\fR - Coordinated Universal Time, replaces Greenwich Time
.SH "Qt::UIEffect"
.SH "TQt::UIEffect"
.TP
\fCQt::UI_General\fR
.TP
@ -1241,7 +1241,7 @@ This enum is used in widgets that can display both plain text and rich text, e.g
\fCQt::UI_FadeTooltip\fR
.TP
\fCQt::UI_AnimateToolBox\fR - Reserved
.SH "Qt::WidgetFlags"
.SH "TQt::WidgetFlags"
.PP
This enum type is used to specify various window-system properties for the widget. They are fairly unusual but necessary in a few cases. Some of these flags depend on whether the underlying window manager supports them. (See the toplevel example for an explanation and example of their use.)
@ -1337,7 +1337,7 @@ Internal flags.
\fCQt::WStyle_Mask\fR
.TP
\fCQt::WType_Mask\fR
.SH "Qt::WidgetState"
.SH "TQt::WidgetState"
Internal flags.
.TP
\fCQt::WState_Created\fR
@ -1389,7 +1389,7 @@ Internal flags.
\fCQt::WState_OwnSizePolicy\fR
.TP
\fCQt::WState_FullScreen\fR
.SH "Qt::WindowState"
.SH "TQt::WindowState"
.PP
This enum type is used to specify the current state of a top-level window.
@ -1405,7 +1405,7 @@ The states are
\fCQt::WindowFullScreen\fR - The window fills the entire screen without any frame around it.
.TP
\fCQt::WindowActive\fR - The window is the active window, i.e. it has keyboard focus.
.SH "Qt::WindowsVersion"
.SH "TQt::WindowsVersion"
.TP
\fCQt::WV_32s\fR - Windows 3.1 with Win 32s
.TP

@ -596,13 +596,13 @@ Creates an empty table object called \fIname\fR as a child of \fIparent\fR.
.PP
Call setNumRows() and setNumCols() to set the table size before populating the table if you're using QTableItems.
.PP
See also TQWidget::clearWFlags() and Qt::WidgetFlags.
See also TQWidget::clearWFlags() and TQt::WidgetFlags.
.SH "QTable::QTable ( int numRows, int numCols, TQWidget * parent = 0, const char * name = 0 )"
Constructs an empty table called \fIname\fR with \fInumRows\fR rows and \fInumCols\fR columns. The table is a child of \fIparent\fR.
.PP
If you're using QTableItems to populate the table's cells, you can create QTableItem, QComboTableItem and QCheckTableItem items and insert them into the table using setItem(). (See the notes on large tables for an alternative to using QTableItems.)
.PP
See also TQWidget::clearWFlags() and Qt::WidgetFlags.
See also TQWidget::clearWFlags() and TQt::WidgetFlags.
.SH "QTable::~QTable ()"
Releases all the resources used by the QTable object, including all QTableItems and their widgets.
.SH "void QTable::activateNextCell ()\fC [virtual protected]\fR"
@ -666,7 +666,7 @@ See also removeSelection().
.SH "void QTable::clicked ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR"
This signal is emitted when mouse button \fIbutton\fR is clicked. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR.
.PP
See also Qt::ButtonState.
See also TQt::ButtonState.
.PP
Example: chart/setdataform.cpp.
.SH "int QTable::columnAt ( int x ) const\fC [virtual]\fR"
@ -773,7 +773,7 @@ See also numSelections.
.SH "void QTable::doubleClicked ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR"
This signal is emitted when mouse button \fIbutton\fR is double-clicked. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR.
.PP
See also Qt::ButtonState.
See also TQt::ButtonState.
.SH "bool QTable::dragEnabled () const\fC [slot]\fR"
If this function returns TRUE, the table supports dragging.
.PP
@ -973,7 +973,7 @@ Example: chart/setdataform.cpp.
.SH "void QTable::pressed ( int row, int col, int button, const QPoint & mousePos )\fC [signal]\fR"
This signal is emitted when mouse button \fIbutton\fR is pressed. The cell where the event took place is at \fIrow\fR, \fIcol\fR, and the mouse's position is in \fImousePos\fR.
.PP
See also Qt::ButtonState.
See also TQt::ButtonState.
.SH "void QTable::removeColumn ( int col )\fC [virtual slot]\fR"
Removes column \fIcol\fR, and deletes all its cells including any table items and widgets the cells may contain. Also clears the selection(s).
.PP

@ -228,7 +228,7 @@ If the table item is in a table (i.e. was inserted with setItem()), it will be r
.SH "int QTableItem::alignment () const\fC [virtual]\fR"
The alignment function returns how the text contents of the cell are aligned when drawn. The default implementation aligns numbers to the right and any other text to the left.
.PP
See also Qt::AlignmentFlags.
See also TQt::AlignmentFlags.
.SH "int QTableItem::col () const"
Returns the column where the table item is located. If the cell spans multiple columns, this function returns the left-most column.
.PP

@ -49,10 +49,10 @@ Inherits TQWidget.
.BI "void \fBsetTabEnabled\fR ( TQWidget * w, bool enable )"
.br
.ti -1c
.BI "void \fBsetCornerWidget\fR ( TQWidget * w, Qt::Corner corner = Qt::TopRight )"
.BI "void \fBsetCornerWidget\fR ( TQWidget * w, TQt::Corner corner = TQt::TopRight )"
.br
.ti -1c
.BI "TQWidget * \fBcornerWidget\fR ( Qt::Corner corner = Qt::TopRight ) const"
.BI "TQWidget * \fBcornerWidget\fR ( TQt::Corner corner = TQt::TopRight ) const"
.br
.ti -1c
.BI "TQString \fBtabLabel\fR ( TQWidget * w ) const"
@ -250,7 +250,7 @@ Defines a new \fIlabel\fR for page \fIw\fR's tab.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Defines a new \fIiconset\fR and a new \fIlabel\fR for page \fIw\fR's tab.
.SH "TQWidget * QTabWidget::cornerWidget ( Qt::Corner corner = Qt::TopRight ) const"
.SH "TQWidget * QTabWidget::cornerWidget ( TQt::Corner corner = TQt::TopRight ) const"
Returns the widget shown in the \fIcorner\fR of the tab widget or 0.
.SH "int QTabWidget::count () const"
Returns the number of tabs in the tab bar. See the "count" property for details.
@ -304,7 +304,7 @@ See also addTab(), showPage(), and QWidgetStack::removeWidget().
Removes the tab tool tip for page \fIw\fR. If the page does not have a tip, nothing happens.
.PP
See also setTabToolTip() and tabToolTip().
.SH "void QTabWidget::setCornerWidget ( TQWidget * w, Qt::Corner corner = Qt::TopRight )"
.SH "void QTabWidget::setCornerWidget ( TQWidget * w, TQt::Corner corner = TQt::TopRight )"
Sets widget \fIw\fR to be the shown in the specified \fIcorner\fR of the tab widget.
.PP
Only the horizontal element of the \fIcorner\fR will be used.

@ -555,7 +555,7 @@ QTextEdit can display images (using QMimeSourceFactory), lists and tables. If th
.PP
If you want a text browser with more navigation use QTextBrowser. If you just need to display a small piece of rich text use QLabel or QSimpleRichText.
.PP
If you create a new QTextEdit, and want to allow the user to edit rich text, call setTextFormat(Qt::RichText) to ensure that the text is treated as rich text. (Rich text uses HTML tags to set text formatting attributes. See QStyleSheet for information on the HTML tags that are supported.). If you don't call setTextFormat() explicitly the text edit will guess from the text itself whether it is rich text or plain text. This means that if the text looks like HTML or XML it will probably be interpreted as rich text, so you should call setTextFormat(Qt::PlainText) to preserve such text.
If you create a new QTextEdit, and want to allow the user to edit rich text, call setTextFormat(TQt::RichText) to ensure that the text is treated as rich text. (Rich text uses HTML tags to set text formatting attributes. See QStyleSheet for information on the HTML tags that are supported.). If you don't call setTextFormat() explicitly the text edit will guess from the text itself whether it is rich text or plain text. This means that if the text looks like HTML or XML it will probably be interpreted as rich text, so you should call setTextFormat(TQt::PlainText) to preserve such text.
.PP
Note that we do not intend to add a full-featured web browser widget to TQt (because that would easily double Qt's size and only a few applications would benefit from it). The rich text support in TQt is designed to provide a fast, portable and efficient way to add reasonable online help facilities to applications, and to provide a basis for rich text editors.
.SH "Using QTextEdit as a Display Widget"
@ -639,7 +639,7 @@ Stylesheets can also be used in LogText mode. To create and use a custom tag, yo
.br
QTextEdit * log = new QTextEdit( this );
.br
log->setTextFormat( Qt::LogText );
log->setTextFormat( TQt::LogText );
.br
QStyleSheetItem * item = new QStyleSheetItem( log->styleSheet(), "mytag" );
.br
@ -1089,7 +1089,7 @@ This signal is emitted whenever the selection changes.
.PP
See also setSelection() and copyAvailable().
.SH "void QTextEdit::setAlignment ( int a )\fC [virtual slot]\fR"
Sets the alignment of the current paragraph to \fIa\fR. Valid alignments are Qt::AlignLeft, Qt::AlignRight, Qt::AlignJustify and Qt::AlignCenter (which centers horizontally).
Sets the alignment of the current paragraph to \fIa\fR. Valid alignments are TQt::AlignLeft, TQt::AlignRight, TQt::AlignJustify and TQt::AlignCenter (which centers horizontally).
.PP
Reimplemented in QMultiLineEdit.
.SH "void QTextEdit::setAutoFormatting ( uint features )"

@ -45,7 +45,7 @@ Inherits Qt.
.SS "Static Public Members"
.in +1c
.ti -1c
.BI "Qt::HANDLE \fBcurrentThread\fR ()"
.BI "TQt::HANDLE \fBcurrentThread\fR ()"
.br
.ti -1c
.BI "void \fBexit\fR ()"
@ -156,7 +156,7 @@ If \fIstackSize\fR is greater than zero, the maximum stack size is set to \fIsta
QThread destructor.
.PP
Note that deleting a QThread object will not stop the execution of the thread it represents. Deleting a running QThread (i.e. finished() returns FALSE) will probably result in a program crash. You can wait() on a thread to make sure that it has finished.
.SH "Qt::HANDLE QThread::currentThread ()\fC [static]\fR"
.SH "TQt::HANDLE QThread::currentThread ()\fC [static]\fR"
This returns the thread handle of the currently executing thread.
.PP
\fBWarning:\fR The handle returned by this function is used for internal purposes and should \fInot\fR be used in any application code. On Windows, the returned value is a pseudo handle for the current thread, and it cannot be used for numerical comparison.

@ -40,7 +40,7 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "int \fBmsec\fR () const"
.br
.ti -1c
.BI "TQString \fBtoString\fR ( Qt::DateFormat f = Qt::TextDate ) const"
.BI "TQString \fBtoString\fR ( TQt::DateFormat f = TQt::TextDate ) const"
.br
.ti -1c
.BI "TQString \fBtoString\fR ( const TQString & format ) const"
@ -94,10 +94,10 @@ All the functions in this class are reentrant when TQt is built with thread supp
.BI "QTime \fBcurrentTime\fR ()"
.br
.ti -1c
.BI "QTime \fBcurrentTime\fR ( Qt::TimeSpec ts )"
.BI "QTime \fBcurrentTime\fR ( TQt::TimeSpec ts )"
.br
.ti -1c
.BI "QTime \fBfromString\fR ( const TQString & s, Qt::DateFormat f = Qt::TextDate )"
.BI "QTime \fBfromString\fR ( const TQString & s, TQt::DateFormat f = TQt::TextDate )"
.br
.ti -1c
.BI "bool \fBisValid\fR ( int h, int m, int s, int ms = 0 )"
@ -171,12 +171,12 @@ Example:
.fi
.PP
See also addMSecs(), secsTo(), and QDateTime::addSecs().
.SH "QTime QTime::currentTime ( Qt::TimeSpec ts )\fC [static]\fR"
.SH "QTime QTime::currentTime ( TQt::TimeSpec ts )\fC [static]\fR"
Returns the current time as reported by the system clock, for the TimeSpec \fIts\fR. The default TimeSpec is LocalTime.
.PP
Note that the accuracy depends on the accuracy of the underlying operating system; not all systems provide 1-millisecond accuracy.
.PP
See also Qt::TimeSpec.
See also TQt::TimeSpec.
.PP
Examples:
.)l aclock/aclock.cpp, dclock/dclock.cpp, t12/cannon.cpp, and tictac/tictac.cpp.
@ -196,10 +196,10 @@ Note that the accuracy depends on the accuracy of the underlying operating syste
\fBWarning:\fR If the system's clock setting has been changed since the last time start() or restart() was called, the result is undefined. This can happen when daylight savings time is turned on or off.
.PP
See also start() and restart().
.SH "QTime QTime::fromString ( const TQString & s, Qt::DateFormat f = Qt::TextDate )\fC [static]\fR"
.SH "QTime QTime::fromString ( const TQString & s, TQt::DateFormat f = TQt::TextDate )\fC [static]\fR"
Returns the representation \fIs\fR as a QTime using the format \fIf\fR, or an invalid time if this is not possible.
.PP
\fBWarning:\fR Note that Qt::LocalDate cannot be used here.
\fBWarning:\fR Note that TQt::LocalDate cannot be used here.
.SH "int QTime::hour () const"
Returns the hour part (0..23) of the time.
.PP
@ -324,16 +324,16 @@ l - l. Format Result hh:mm:ss.zzz 14:13:09.042 h:m:s ap
If the time is an invalid time, then TQString::null will be returned.
.PP
See also QDate::toString() and QDateTime::toString().
.SH "TQString QTime::toString ( Qt::DateFormat f = Qt::TextDate ) const"
.SH "TQString QTime::toString ( TQt::DateFormat f = TQt::TextDate ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the time as a string. Milliseconds are not included. The \fIf\fR parameter determines the format of the string.
.PP
If \fIf\fR is Qt::TextDate, the string format is HH:MM:SS; e.g. 1 second before midnight would be "23:59:59".
If \fIf\fR is TQt::TextDate, the string format is HH:MM:SS; e.g. 1 second before midnight would be "23:59:59".
.PP
If \fIf\fR is Qt::ISODate, the string format corresponds to the ISO 8601 extended specification for representations of dates, which is also HH:MM:SS.
If \fIf\fR is TQt::ISODate, the string format corresponds to the ISO 8601 extended specification for representations of dates, which is also HH:MM:SS.
.PP
If \fIf\fR is Qt::LocalDate, the string format depends on the locale settings of the system.
If \fIf\fR is TQt::LocalDate, the string format depends on the locale settings of the system.
.PP
If the time is an invalid time, then TQString::null will be returned.
.SH RELATED FUNCTION DOCUMENTATION

@ -956,13 +956,13 @@ See also asCursor().
.SH "const QDate QVariant::toDate () const"
Returns the variant as a QDate if the variant can be cast to Date; otherwise returns an invalid date.
.PP
Note that if the type() is String, CString or ByteArray an invalid date will be returned if the string cannot be parsed as a Qt::ISODate format date.
Note that if the type() is String, CString or ByteArray an invalid date will be returned if the string cannot be parsed as a TQt::ISODate format date.
.PP
See also asDate() and canCast().
.SH "const QDateTime QVariant::toDateTime () const"
Returns the variant as a QDateTime if the variant can be cast to DateTime; otherwise returns an invalid QDateTime.
.PP
Note that if the type() is String, CString or ByteArray an invalid QDateTime will be returned if the string cannot be parsed as a Qt::ISODate format date/time.
Note that if the type() is String, CString or ByteArray an invalid QDateTime will be returned if the string cannot be parsed as a TQt::ISODate format date/time.
.PP
See also asDateTime().
.SH "double QVariant::toDouble ( bool * ok = 0 ) const"
@ -1106,7 +1106,7 @@ See also asStringList().
.SH "const QTime QVariant::toTime () const"
Returns the variant as a QTime if the variant can be cast to Time; otherwise returns an invalid date.
.PP
Note that if the type() is String, CString or ByteArray an invalid time will be returned if the string cannot be parsed as a Qt::ISODate format time.
Note that if the type() is String, CString or ByteArray an invalid time will be returned if the string cannot be parsed as a TQt::ISODate format time.
.PP
See also asTime().
.SH "uint QVariant::toUInt ( bool * ok = 0 ) const"

@ -1139,7 +1139,7 @@ If \fIparent\fR is 0, the new widget becomes a top-level window. If \fIparent\fR
.PP
The \fIname\fR is sent to the TQObject constructor.
.PP
The widget flags argument, \fIf\fR, is normally 0, but it can be set to customize the window frame of a top-level widget (i.e. \fIparent\fR must be 0). To customize the frame, set the WStyle_Customize flag OR'ed with any of the Qt::WidgetFlags.
The widget flags argument, \fIf\fR, is normally 0, but it can be set to customize the window frame of a top-level widget (i.e. \fIparent\fR must be 0). To customize the frame, set the WStyle_Customize flag OR'ed with any of the TQt::WidgetFlags.
.PP
If you add a child widget to an already visible widget you must explicitly show the child to make it visible.
.PP
@ -1218,7 +1218,7 @@ See also setMask().
.SH "void TQWidget::clearWFlags ( WFlags f )\fC [protected]\fR"
Clears the widget flags \fIf\fR.
.PP
Widget flags are a combination of Qt::WidgetFlags.
Widget flags are a combination of TQt::WidgetFlags.
.PP
See also testWFlags(), getWFlags(), and setWFlags().
.SH "QRegion TQWidget::clipRegion () const"
@ -1469,7 +1469,7 @@ Returns the geometry of the widget relative to its parent and excluding the wind
.SH "WFlags TQWidget::getWFlags () const\fC [protected]\fR"
Returns the widget flags for this this widget.
.PP
Widget flags are a combination of Qt::WidgetFlags.
Widget flags are a combination of TQt::WidgetFlags.
.PP
See also testWFlags(), setWFlags(), and clearWFlags().
.SH "void TQWidget::grabKeyboard ()"
@ -2124,7 +2124,7 @@ Not all platforms support this compression, in which case turning it on will hav
.PP
See also QKeyEvent::text().
.SH "void TQWidget::setMask ( const QBitmap & bitmap )\fC [virtual]\fR"
Causes only the pixels of the widget for which \fIbitmap\fR has a corresponding 1 bit to be visible. Use Qt::color0 to draw transparent regions and Qt::color1 to draw opaque regions of the bitmap.
Causes only the pixels of the widget for which \fIbitmap\fR has a corresponding 1 bit to be visible. Use TQt::color0 to draw transparent regions and TQt::color1 to draw opaque regions of the bitmap.
.PP
If the region includes pixels outside the rect() of the widget, window system controls in that area may or may not be visible, depending on the platform.
.PP
@ -2259,13 +2259,13 @@ Sets whether updates are enabled to \fIenable\fR. See the "updatesEnabled" prope
.SH "void TQWidget::setWFlags ( WFlags f )\fC [virtual protected]\fR"
Sets the widget flags \fIf\fR.
.PP
Widget flags are a combination of Qt::WidgetFlags.
Widget flags are a combination of TQt::WidgetFlags.
.PP
See also testWFlags(), getWFlags(), and clearWFlags().
.SH "void TQWidget::setWindowOpacity ( double level )"
Sets the level of opacity for the window to \fIlevel\fR. See the "windowOpacity" property for details.
.SH "void TQWidget::setWindowState ( uint windowState )"
Sets the window state to \fIwindowState\fR. The window state is a OR'ed combination of Qt::WindowState: WindowMinimized, WindowMaximized, WindowFullScreen and WindowActive.
Sets the window state to \fIwindowState\fR. The window state is a OR'ed combination of TQt::WindowState: WindowMinimized, WindowMaximized, WindowFullScreen and WindowActive.
.PP
If the window is not visible (i.e. isVisible() returns FALSE), the window state will take effect when show() is called. For visible windows, the change is immediate. For example, to toggle between full-screen and mormal mode, use the following code:
.PP
@ -2285,7 +2285,7 @@ In order to restore and activate a minimized window (while preserving its maximi
.PP
Note: On some window systems WindowActive is not immediate, and may be ignored in certain cases.
.PP
See also Qt::WindowState and windowState().
See also TQt::WindowState and windowState().
.SH "void TQWidget::show ()\fC [virtual slot]\fR"
Shows the widget and its child widgets.
.PP
@ -2385,7 +2385,7 @@ See also QTabletEvent::ignore(), QTabletEvent::accept(), event(), and QTabletEve
.SH "WFlags TQWidget::testWFlags ( WFlags f ) const"
Returns the bitwise AND of the widget flags and \fIf\fR.
.PP
Widget flags are a combination of Qt::WidgetFlags.
Widget flags are a combination of TQt::WidgetFlags.
.PP
If you want to test for the presence of multiple flags (or composite flags such as WStyle_Splash), test the return value for equality against the argument. For example:
.PP
@ -2506,9 +2506,9 @@ See also setActiveWindow(), isActiveWindow, update(), and palette.
.SH "double TQWidget::windowOpacity () const"
Returns the level of opacity for the window. See the "windowOpacity" property for details.
.SH "uint TQWidget::windowState () const"
Returns the current window state. The window state is a OR'ed combination of Qt::WindowState: WindowMinimized, WindowMaximized, WindowFullScreen and WindowActive.
Returns the current window state. The window state is a OR'ed combination of TQt::WindowState: WindowMinimized, WindowMaximized, WindowFullScreen and WindowActive.
.PP
See also Qt::WindowState and setWindowState().
See also TQt::WindowState and setWindowState().
.SH "int TQWidget::x () const"
Returns the x coordinate of the widget relative to its parent including any window frame. See the "x" property for details.
.SH "bool TQWidget::x11Event ( XEvent * )\fC [virtual protected]\fR"

@ -46,7 +46,7 @@ Subclasses call this function to send a key event. The server may additionally f
.PP
<center>.nf
.TS
l - l. Parameter Meaning \fIunicode\fR The Unicode value for the key, or 0xFFFF is none is appropriate. \fIkeycode\fR The TQt keycode for the key (see Qt::Key for the list of codes). \fImodifiers\fR The set of modifier keys (see Qt::Modifier). \fIisPress\fR Whether this is a press or a release. \fIautoRepeat\fR
l - l. Parameter Meaning \fIunicode\fR The Unicode value for the key, or 0xFFFF is none is appropriate. \fIkeycode\fR The TQt keycode for the key (see TQt::Key for the list of codes). \fImodifiers\fR The set of modifier keys (see TQt::Modifier). \fIisPress\fR Whether this is a press or a release. \fIautoRepeat\fR
.TE
.fi
</center>

@ -125,29 +125,29 @@ Header files that you might need to add #include directives for include:
Qt 3.x is namespace clean. A few global identifiers that had been
left in TQt 2.x have been discarded.
Enumeration \l Qt::CursorShape and its values are now part of the
Enumeration \l TQt::CursorShape and its values are now part of the
special \c TQt class defined in ntqnamespace.h. If you get compilation
errors about these being missing (unlikely, since most of your code will
be in classes that inherit from the TQt namespace class), then apply
the following changes:
\list
\i \c QCursorShape becomes \c Qt::CursorShape
\i \c ArrowCursor becomes \c Qt::ArrowCursor
\i \c UpArrowCursor becomes \c Qt::UpArrowCursor
\i \c CrossCursor becomes \c Qt::CrossCursor
\i \c WaitCursor becomes \c Qt::WaitCursor
\i \c IbeamCursor becomes \c Qt::IbeamCursor
\i \c SizeVerCursor becomes \c Qt::SizeVerCursor
\i \c SizeHorCursor becomes \c Qt::SizeHorCursor
\i \c SizeBDiagCursor becomes \c Qt::SizeBDiagCursor
\i \c SizeFDiagCursor becomes \c Qt::SizeFDiagCursor
\i \c SizeAllCursor becomes \c Qt::SizeAllCursor
\i \c BlankCursor becomes \c Qt::BlankCursor
\i \c SplitVCursor becomes \c Qt::SplitVCursor
\i \c SplitHCursor becomes \c Qt::SplitHCursor
\i \c PointingHandCursor becomes \c Qt::PointingHandCursor
\i \c BitmapCursor becomes \c Qt::BitmapCursor
\i \c QCursorShape becomes \c TQt::CursorShape
\i \c ArrowCursor becomes \c TQt::ArrowCursor
\i \c UpArrowCursor becomes \c TQt::UpArrowCursor
\i \c CrossCursor becomes \c TQt::CrossCursor
\i \c WaitCursor becomes \c TQt::WaitCursor
\i \c IbeamCursor becomes \c TQt::IbeamCursor
\i \c SizeVerCursor becomes \c TQt::SizeVerCursor
\i \c SizeHorCursor becomes \c TQt::SizeHorCursor
\i \c SizeBDiagCursor becomes \c TQt::SizeBDiagCursor
\i \c SizeFDiagCursor becomes \c TQt::SizeFDiagCursor
\i \c SizeAllCursor becomes \c TQt::SizeAllCursor
\i \c BlankCursor becomes \c TQt::BlankCursor
\i \c SplitVCursor becomes \c TQt::SplitVCursor
\i \c SplitHCursor becomes \c TQt::SplitHCursor
\i \c PointingHandCursor becomes \c TQt::PointingHandCursor
\i \c BitmapCursor becomes \c TQt::BitmapCursor
\endlist
The names of some debugging macro variables have been changed. We have

@ -2604,7 +2604,7 @@ And then we set up Ctrl+Q to do the same thing as Alt+Q. Some
people are more used to Ctrl+Q (and anyway it shows how do do it).
CTRL, Key_Enter, Key_Return and Key_Q are all constants provided by
Qt. They're actually Qt::Key_Enter, etc., but practically all classes
TQt. They're actually TQt::Key_Enter, etc., but practically all classes
inherit the \l TQt namespace class.
\printline QGridLayout

@ -41,26 +41,26 @@ require 'uconv'
# translation table for lazy sorting
raw2key = {
"0y1120" => "UNITIZE(Qt::Key_Multi_key)",
"0y1250" => "UNITIZE(Qt::Key_Dead_Grave)",
"0y1251" => "UNITIZE(Qt::Key_Dead_Acute)",
"0y1252" => "UNITIZE(Qt::Key_Dead_Circumflex)",
"0y1253" => "UNITIZE(Qt::Key_Dead_Tilde)",
"0y1254" => "UNITIZE(Qt::Key_Dead_Macron)",
"0y1255" => "UNITIZE(Qt::Key_Dead_Breve)",
"0y1256" => "UNITIZE(Qt::Key_Dead_Abovedot)",
"0y1257" => "UNITIZE(Qt::Key_Dead_Diaeresis)",
"0y1258" => "UNITIZE(Qt::Key_Dead_Abovering)",
"0y1259" => "UNITIZE(Qt::Key_Dead_Doubleacute)",
"0y125a" => "UNITIZE(Qt::Key_Dead_Caron)",
"0y125b" => "UNITIZE(Qt::Key_Dead_Cedilla)",
"0y125c" => "UNITIZE(Qt::Key_Dead_Ogonek)",
"0y125d" => "UNITIZE(Qt::Key_Dead_Iota)",
"0y125e" => "UNITIZE(Qt::Key_Dead_Voiced_Sound)",
"0y125f" => "UNITIZE(Qt::Key_Dead_Semivoiced_Sound)",
"0y1260" => "UNITIZE(Qt::Key_Dead_Belowdot)",
"0y1261" => "UNITIZE(Qt::Key_Dead_Hook)",
"0y1262" => "UNITIZE(Qt::Key_Dead_Horn)",
"0y1120" => "UNITIZE(TQt::Key_Multi_key)",
"0y1250" => "UNITIZE(TQt::Key_Dead_Grave)",
"0y1251" => "UNITIZE(TQt::Key_Dead_Acute)",
"0y1252" => "UNITIZE(TQt::Key_Dead_Circumflex)",
"0y1253" => "UNITIZE(TQt::Key_Dead_Tilde)",
"0y1254" => "UNITIZE(TQt::Key_Dead_Macron)",
"0y1255" => "UNITIZE(TQt::Key_Dead_Breve)",
"0y1256" => "UNITIZE(TQt::Key_Dead_Abovedot)",
"0y1257" => "UNITIZE(TQt::Key_Dead_Diaeresis)",
"0y1258" => "UNITIZE(TQt::Key_Dead_Abovering)",
"0y1259" => "UNITIZE(TQt::Key_Dead_Doubleacute)",
"0y125a" => "UNITIZE(TQt::Key_Dead_Caron)",
"0y125b" => "UNITIZE(TQt::Key_Dead_Cedilla)",
"0y125c" => "UNITIZE(TQt::Key_Dead_Ogonek)",
"0y125d" => "UNITIZE(TQt::Key_Dead_Iota)",
"0y125e" => "UNITIZE(TQt::Key_Dead_Voiced_Sound)",
"0y125f" => "UNITIZE(TQt::Key_Dead_Semivoiced_Sound)",
"0y1260" => "UNITIZE(TQt::Key_Dead_Belowdot)",
"0y1261" => "UNITIZE(TQt::Key_Dead_Hook)",
"0y1262" => "UNITIZE(TQt::Key_Dead_Horn)",
}
# X's KeySym to Unicode translation table. The unicode value is

Loading…
Cancel
Save