<trbgcolor=#f0f0f0><td><b><ahref="ntqsplashscreen.html">TQSplashScreen</a></b><td>Splash screen that can be shown during application startup
<trbgcolor=#f0f0f0><td><b><ahref="ntqsplitter.html">TQSplitter</a></b><td>Implements a splitter widget
<trbgcolor=#f0f0f0><td><b><ahref="tqsplashscreen.html">TQSplashScreen</a></b><td>Splash screen that can be shown during application startup
<trbgcolor=#f0f0f0><td><b><ahref="tqsplitter.html">TQSplitter</a></b><td>Implements a splitter widget
<trbgcolor=#f0f0f0><td><b><ahref="tqsql.html">TQSql</a></b><td>Namespace for TQt SQL identifiers that need to be global-like
<trbgcolor=#f0f0f0><td><b><ahref="tqsqlcursor.html">TQSqlCursor</a></b><td>Browsing and editing of SQL tables and views
<trbgcolor=#f0f0f0><td><b><ahref="tqsqldatabase.html">TQSqlDatabase</a></b><td>Used to create SQL database connections and to provide transaction handling
<trbgcolor=#f0f0f0><td><b><ahref="tqvaluelistiterator.html">TQValueListIterator</a></b><td>Iterator for TQValueList
<trbgcolor=#f0f0f0><td><b><ahref="tqvaluestack.html">TQValueStack</a></b><td>Value-based template class that provides a stack
<trbgcolor=#f0f0f0><td><b><ahref="tqvaluevector.html">TQValueVector</a></b><td>Value-based template class that provides a dynamic array
<trbgcolor=#f0f0f0><td><b><ahref="ntqvariant.html">TQVariant</a></b><td>Acts like a union for the most common TQt data types
<trbgcolor=#f0f0f0><td><b><ahref="tqvariant.html">TQVariant</a></b><td>Acts like a union for the most common TQt data types
<trbgcolor=#f0f0f0><td><b><ahref="tqwmatrix.html">TQWMatrix</a></b><td>2D transformations of a coordinate system
<trbgcolor=#f0f0f0><td><b><ahref="tqwaitcondition.html">TQWaitCondition</a></b><td>Allows waiting/waking for conditions between threads
<trbgcolor=#f0f0f0><td><b><ahref="tqwhatsthis.html">TQWhatsThis</a></b><td>Simple description of any widget, i.e. answering the question "What's this?"
<p>The implementation file is <tt>printpanel.cpp</tt>.</p>
<pre> /*
<ahref="tqlabel.html">TQLabel</a> *lab = new <ahref="tqlabel.html">TQLabel</a>( <ahref="tqobject.html#tr">tr</a>("<b>TROLL PRINT</b>"), this );
<p> A popup widget is a special top level widget that sets the <ahref="ntqt.html#WidgetFlags-enum">WType_Popup</a> widget flag, e.g. the <ahref="tqpopupmenu.html">TQPopupMenu</a> widget. When the
<p> A popup widget is a special top level widget that sets the <ahref="tqt.html#WidgetFlags-enum">WType_Popup</a> widget flag, e.g. the <ahref="tqpopupmenu.html">TQPopupMenu</a> widget. When the
application opens a popup widget, all events are sent to the popup.
Normal widgets and modal widgets cannot be accessed before the popup
widget is closed.
@ -914,14 +914,14 @@ soon as a matching translation is found.
<p><p>See also <ahref="#removeTranslator">removeTranslator</a>(), <ahref="#translate">translate</a>(), and <ahref="tqtranslator.html#load">TQTranslator::load</a>().
Enables the UI effect <em>effect</em> if <em>enable</em> is TRUE, otherwise
the effect will not be used.
<p> Note: All effects are disabled on screens running at less than
16-bit color depth.
<p><p>See also <ahref="#isEffectEnabled">isEffectEnabled</a>(), <ahref="ntqt.html#UIEffect-enum">TQt::UIEffect</a>, and <ahref="#setDesktopSettingsAware">setDesktopSettingsAware</a>().
<p><p>See also <ahref="#isEffectEnabled">isEffectEnabled</a>(), <ahref="tqt.html#UIEffect-enum">TQt::UIEffect</a>, and <ahref="#setDesktopSettingsAware">setDesktopSettingsAware</a>().
@ -40,7 +40,7 @@ are available from third parties, and as add-ons to TQt; see <a href="http://www
Solutions</a>, and <ahref="http://www.trolltech.com/freesoftware/index.html">User contributed TQt
additions</a>.
<p>
<p> Below we have three views seperated by <ahref="ntqsplitter.html">TQSplitter</a>s. At the
<p> Below we have three views seperated by <ahref="tqsplitter.html">TQSplitter</a>s. At the
top-left there's a <ahref="tqlistbox.html">TQListBox</a>, at the top-right there's a <ahref="tqlistview.html">TQListView</a> with a <ahref="tqheader.html">TQHeader</a> and two <ahref="tqscrollbar.html">TQScrollBar</a>s. And at the
bottom there's a <ahref="tqiconview.html">TQIconView</a>.
<p>This property holds the action's accelerator key.
<p>The keycodes can be found in <a href="ntqt.html#Key-enum">TQt::Key</a> and <a href="ntqt.html#Modifier-enum">TQt::Modifier</a>. There
<p>The keycodes can be found in <a href="tqt.html#Key-enum">TQt::Key</a> and <a href="tqt.html#Modifier-enum">TQt::Modifier</a>. There
is no default accelerator key.
<p>Set this property's value with <a href="tqaction.html#setAccel">setAccel</a>() and get this property's value with <a href="tqaction.html#accel">accel</a>().
<p>This property holds the format used for displaying date/time values.
<p>The dateFormat property is used for displaying date/time values in
the table. The default value is <a href="ntqt.html#DateFormat-enum">TQt::LocalDate</a>.
the table. The default value is <a href="tqt.html#DateFormat-enum">TQt::LocalDate</a>.
<p>Set this property's value with <a href="tqdatatable.html#setDateFormat">setDateFormat</a>() and get this property's value with <a href="tqdatatable.html#dateFormat">dateFormat</a>().
</doc>
@ -1406,14 +1406,14 @@ frame and the outermost pixel of <a href="tqframe.html#contentsRect">conte
alignment can be specified by the alignment parameter.
<p> The alignment is one of the following flags:
<ul>
<li> <a href="ntqt.html#AlignmentFlags-enum">AlignAuto</a> aligns the title according to the language,
<li> <a href="tqt.html#AlignmentFlags-enum">AlignAuto</a> aligns the title according to the language,
usually to the left.
<li> <a href="ntqt.html#AlignmentFlags-enum">AlignLeft</a> aligns the title text to the left.
<li> <a href="ntqt.html#AlignmentFlags-enum">AlignRight</a> aligns the title text to the right.
<li> <a href="ntqt.html#AlignmentFlags-enum">AlignHCenter</a> aligns the title text centered.
<li> <a href="tqt.html#AlignmentFlags-enum">AlignLeft</a> aligns the title text to the left.
<li> <a href="tqt.html#AlignmentFlags-enum">AlignRight</a> aligns the title text to the right.
<li> <a href="tqt.html#AlignmentFlags-enum">AlignHCenter</a> aligns the title text centered.
</ul>
<p> The default alignment is <a href="ntqt.html#AlignmentFlags-enum">AlignAuto</a>.
<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p> The default alignment is <a href="tqt.html#AlignmentFlags-enum">AlignAuto</a>.
<p> <p>See also <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p>Set this property's value with <a href="tqgroupbox.html#setAlignment">setAlignment</a>() and get this property's value with <a href="tqgroupbox.html#alignment">alignment</a>().
</doc>
@ -1531,7 +1531,7 @@ pixel.
<name>TQHeader::orientation</name>
<doc href="tqheader.html#orientation-prop">
<p>This property holds the header's orientation.
<p>The orientation is either <a href="ntqt.html#Orientation-enum">Vertical</a> or <a href="ntqt.html#Orientation-enum">Horizontal</a> (the
<p>The orientation is either <a href="tqt.html#Orientation-enum">Vertical</a> or <a href="tqt.html#Orientation-enum">Horizontal</a> (the
default).
<p> Call <a href="tqheader.html#setOrientation">setOrientation</a>() before adding labels if you don't provide a
size parameter otherwise the sizes will be incorrect.
@ -1837,16 +1837,16 @@ of 0.
<name>TQLabel::alignment</name>
<doc href="tqlabel.html#alignment-prop">
<p>This property holds the alignment of the label's contents.
<p>The alignment is a bitwise OR of <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <a href="ntqt.html#TextFlags-enum">TQt::TextFlags</a> values. The <a href="ntqt.html#TextFlags-enum">ExpandTabs</a>, <a href="ntqt.html#TextFlags-enum">SingleLine</a> and <a href="ntqt.html#TextFlags-enum">ShowPrefix</a> flags apply only if the label contains plain text;
otherwise they are ignored. The <a href="ntqt.html#TextFlags-enum">DontClip</a> flag is always
ignored. <a href="ntqt.html#TextFlags-enum">WordBreak</a> applies to both rich text and plain text
labels. The <a href="ntqt.html#TextFlags-enum">BreakAnywhere</a> flag is not supported in TQLabel.
<p> If the label has a buddy, the <a href="ntqt.html#TextFlags-enum">ShowPrefix</a> flag is forced to
<p>The alignment is a bitwise OR of <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <a href="tqt.html#TextFlags-enum">TQt::TextFlags</a> values. The <a href="tqt.html#TextFlags-enum">ExpandTabs</a>, <a href="tqt.html#TextFlags-enum">SingleLine</a> and <a href="tqt.html#TextFlags-enum">ShowPrefix</a> flags apply only if the label contains plain text;
otherwise they are ignored. The <a href="tqt.html#TextFlags-enum">DontClip</a> flag is always
ignored. <a href="tqt.html#TextFlags-enum">WordBreak</a> applies to both rich text and plain text
labels. The <a href="tqt.html#TextFlags-enum">BreakAnywhere</a> flag is not supported in TQLabel.
<p> If the label has a buddy, the <a href="tqt.html#TextFlags-enum">ShowPrefix</a> flag is forced to
TRUE.
<p> The default alignment is <tt>AlignAuto | AlignVCenter | ExpandTabs</tt>
if the label doesn't have a buddy and <tt>AlignAuto | AlignVCenter | ExpandTabs | ShowPrefix</tt> if the label has a buddy. If the label
contains rich text, additionally <a href="ntqt.html#TextFlags-enum">WordBreak</a> is turned on.
<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>, <a href="tqlabel.html#setBuddy">setBuddy</a>(), and <a href="tqlabel.html#text-prop">text</a>.
contains rich text, additionally <a href="tqt.html#TextFlags-enum">WordBreak</a> is turned on.
<p> <p>See also <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>, <a href="tqlabel.html#setBuddy">setBuddy</a>(), and <a href="tqlabel.html#text-prop">text</a>.
<p>Set this property's value with <a href="tqlabel.html#setAlignment">setAlignment</a>() and get this property's value with <a href="tqlabel.html#alignment">alignment</a>().
<p>This property holds the label's text indent in pixels.
<p>If a label displays text, the indent applies to the left edge if
<a href="tqlabel.html#alignment">alignment</a>() is <a href="ntqt.html#AlignmentFlags-enum">AlignLeft</a>, to the right edge if alignment() is
<a href="ntqt.html#AlignmentFlags-enum">AlignRight</a>, to the top edge if alignment() is <a href="ntqt.html#AlignmentFlags-enum">AlignTop</a>, and
to to the bottom edge if alignment() is <a href="ntqt.html#AlignmentFlags-enum">AlignBottom</a>.
<a href="tqlabel.html#alignment">alignment</a>() is <a href="tqt.html#AlignmentFlags-enum">AlignLeft</a>, to the right edge if alignment() is
<a href="tqt.html#AlignmentFlags-enum">AlignRight</a>, to the top edge if alignment() is <a href="tqt.html#AlignmentFlags-enum">AlignTop</a>, and
to to the bottom edge if alignment() is <a href="tqt.html#AlignmentFlags-enum">AlignBottom</a>.
<p> If indent is negative, or if no indent has been set, the label
computes the effective indent as follows: If <a href="tqframe.html#frameWidth">frameWidth</a>() is 0,
the effective indent becomes 0. If frameWidth() is greater than 0,
@ -1901,7 +1901,7 @@ pixmap to fill the available space.
the text clears any previous content, unless they are the same.
<p> The text will be interpreted either as a plain text or as a rich
text, depending on the text format setting; see <a href="tqlabel.html#setTextFormat">setTextFormat</a>().
The default setting is <a href="ntqt.html#TextFormat-enum">AutoText</a>, i.e. TQLabel will try to
The default setting is <a href="tqt.html#TextFormat-enum">AutoText</a>, i.e. TQLabel will try to
auto-detect the format of the text set.
<p> If the text is interpreted as a plain text and a buddy has been
set, the buddy accelerator key is updated from the new text.
@ -1921,9 +1921,9 @@ and can also provide a scrollbar when necessary.
<name>TQLabel::textFormat</name>
<doc href="tqlabel.html#textFormat-prop">
<p>This property holds the label's text format.
<p>See the <a href="ntqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible
<p>See the <a href="tqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible
options.
<p> The default format is <a href="ntqt.html#TextFormat-enum">AutoText</a>.
<p> The default format is <a href="tqt.html#TextFormat-enum">AutoText</a>.
<p> <p>See also <a href="tqlabel.html#text-prop">text</a>.
<p>Set this property's value with <a href="tqlabel.html#setTextFormat">setTextFormat</a>() and get this property's value with <a href="tqlabel.html#textFormat">textFormat</a>().
@ -1975,10 +1975,10 @@ should not override the widget's spacing.
<name>TQLineEdit::alignment</name>
<doc href="tqlineedit.html#alignment-prop">
<p>This property holds the alignment of the line edit.
<p>Possible Values are <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignAuto</a>, <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignLeft</a>, <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignRight</a> and <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignHCenter</a>.
<p>Possible Values are <a href="tqt.html#AlignmentFlags-enum">TQt::AlignAuto</a>, <a href="tqt.html#AlignmentFlags-enum">TQt::AlignLeft</a>, <a href="tqt.html#AlignmentFlags-enum">TQt::AlignRight</a> and <a href="tqt.html#AlignmentFlags-enum">TQt::AlignHCenter</a>.
<p> Attempting to set the alignment to an illegal flag combination
does nothing.
<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p> <p>See also <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p>Set this property's value with <a href="tqlineedit.html#setAlignment">setAlignment</a>() and get this property's value with <a href="tqlineedit.html#alignment">alignment</a>().
</doc>
@ -2492,7 +2492,7 @@ views.
<p>If TRUE (the default), the user will be able to move movable dock
windows from one TQMainWindow dock area to another, including the
<tt>TearOff</tt> area (i.e. where the dock window floats freely as a
window in its own right), and the <a href="ntqt.html#Dock-enum">Minimized</a> area (where only
window in its own right), and the <a href="tqt.html#Dock-enum">Minimized</a> area (where only
the dock window's handle is shown below the menu bar). Moveable
dock windows can also be moved within TQMainWindow dock areas, i.e.
to rearrange them within a dock area.
@ -2628,7 +2628,7 @@ Windows GUI styles; you may want to draw two pixmaps.
<doc href="tqmessagebox.html#text-prop">
<p>This property holds the message box text to be displayed.
<p>The text will be interpreted either as a plain text or as rich
text, depending on the text format setting (<a href="tqmessagebox.html#textFormat-prop">TQMessageBox::textFormat</a>). The default setting is <a href="ntqt.html#TextFormat-enum">AutoText</a>, i.e.
text, depending on the text format setting (<a href="tqmessagebox.html#textFormat-prop">TQMessageBox::textFormat</a>). The default setting is <a href="tqt.html#TextFormat-enum">AutoText</a>, i.e.
the message box will try to auto-detect the format of the text.
<p> The default value of this property is <a href="tqstring.html#TQString-null">TQString::null</a>.
<p> <p>See also <a href="tqmessagebox.html#textFormat-prop">textFormat</a>.
@ -2640,8 +2640,8 @@ the message box will try to auto-detect the format of the text.
<name>TQMessageBox::textFormat</name>
<doc href="tqmessagebox.html#textFormat-prop">
<p>This property holds the format of the text displayed by the message box.
<p>The current text format used by the message box. See the <a href="ntqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible options.
<p> The default format is <a href="ntqt.html#TextFormat-enum">AutoText</a>.
<p>The current text format used by the message box. See the <a href="tqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible options.
<p> The default format is <a href="tqt.html#TextFormat-enum">AutoText</a>.
<p> <p>See also <a href="tqmessagebox.html#text-prop">text</a>.
<p>Set this property's value with <a href="tqmessagebox.html#setTextFormat">setTextFormat</a>() and get this property's value with <a href="tqmessagebox.html#textFormat">textFormat</a>().
@ -2650,9 +2650,9 @@ the message box will try to auto-detect the format of the text.
<property>
<name>TQMultiLineEdit::alignment</name>
<doc href="tqmultilineedit.html#alignment-prop"> <p>This property holds the editor's paragraph alignment.
<p>Sets the alignment to flag, which must be <a href="ntqt.html#AlignmentFlags-enum">AlignLeft</a>, <a href="ntqt.html#AlignmentFlags-enum">AlignHCenter</a> or <a href="ntqt.html#AlignmentFlags-enum">AlignRight</a>.
<p>Sets the alignment to flag, which must be <a href="tqt.html#AlignmentFlags-enum">AlignLeft</a>, <a href="tqt.html#AlignmentFlags-enum">AlignHCenter</a> or <a href="tqt.html#AlignmentFlags-enum">AlignRight</a>.
<p> If flag is an illegal flag nothing happens.
<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p> <p>See also <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p>Set this property's value with <a href="tqmultilineedit.html#setAlignment">setAlignment</a>() and get this property's value with <a href="tqmultilineedit.html#alignment">alignment</a>().
</doc>
@ -3003,7 +3003,7 @@ adjusted if necessary to ensure that the range remains valid.
<name>TQScrollBar::orientation</name>
<doc href="tqscrollbar.html#orientation-prop">
<p>This property holds the orientation of the scroll bar.
<p>The orientation must be <a href="ntqt.html#Orientation-enum">TQt::Vertical</a> (the default) or <a href="ntqt.html#Orientation-enum">TQt::Horizontal</a>.
<p>The orientation must be <a href="tqt.html#Orientation-enum">TQt::Vertical</a> (the default) or <a href="tqt.html#Orientation-enum">TQt::Horizontal</a>.
<p>Set this property's value with <a href="tqscrollbar.html#setOrientation">setOrientation</a>() and get this property's value with <a href="tqscrollbar.html#orientation">orientation</a>().
</doc>
@ -3176,7 +3176,7 @@ if necessary, to ensure that the range remains valid.
<name>TQSlider::orientation</name>
<doc href="tqslider.html#orientation-prop">
<p>This property holds the slider's orientation.
<p>The orientation must be <a href="ntqt.html#Orientation-enum">TQt::Vertical</a> (the default) or <a href="ntqt.html#Orientation-enum">TQt::Horizontal</a>.
<p>The orientation must be <a href="tqt.html#Orientation-enum">TQt::Vertical</a> (the default) or <a href="tqt.html#Orientation-enum">TQt::Horizontal</a>.
<p>Set this property's value with <a href="tqslider.html#setOrientation">setOrientation</a>() and get this property's value with <a href="tqslider.html#orientation">orientation</a>().
</doc>
@ -3402,42 +3402,42 @@ you to the lowest and vice versa.
<p>Set this property's value with <a href="ntqsplitter.html#setChildrenCollapsible">setChildrenCollapsible</a>() and get this property's value with <a href="ntqsplitter.html#childrenCollapsible">childrenCollapsible</a>().
<p>Set this property's value with <a href="tqsplitter.html#setChildrenCollapsible">setChildrenCollapsible</a>() and get this property's value with <a href="tqsplitter.html#childrenCollapsible">childrenCollapsible</a>().
</doc>
</property>
<property>
<name>QSplitter::handleWidth</name>
<doc href="ntqsplitter.html#handleWidth-prop">
<name>TQSplitter::handleWidth</name>
<doc href="tqsplitter.html#handleWidth-prop">
<p>This property holds the width of the splitter handle.
<p>
<p>Set this property's value with <a href="ntqsplitter.html#setHandleWidth">setHandleWidth</a>() and get this property's value with <a href="ntqsplitter.html#handleWidth">handleWidth</a>().
<p>Set this property's value with <a href="tqsplitter.html#setHandleWidth">setHandleWidth</a>() and get this property's value with <a href="tqsplitter.html#handleWidth">handleWidth</a>().
</doc>
</property>
<property>
<name>QSplitter::opaqueResize</name>
<doc href="ntqsplitter.html#opaqueResize-prop">
<name>TQSplitter::opaqueResize</name>
<doc href="tqsplitter.html#opaqueResize-prop">
<p>This property holds whether resizing is opaque.
<p>Opaque resizing is off by default.
<p>Set this property's value with <a href="ntqsplitter.html#setOpaqueResize">setOpaqueResize</a>() and get this property's value with <a href="ntqsplitter.html#opaqueResize">opaqueResize</a>().
<p>Set this property's value with <a href="tqsplitter.html#setOpaqueResize">setOpaqueResize</a>() and get this property's value with <a href="tqsplitter.html#opaqueResize">opaqueResize</a>().
</doc>
</property>
<property>
<name>QSplitter::orientation</name>
<doc href="ntqsplitter.html#orientation-prop">
<name>TQSplitter::orientation</name>
<doc href="tqsplitter.html#orientation-prop">
<p>This property holds the orientation of the splitter.
<p>By default the orientation is horizontal (the widgets are side by
side). The possible orientations are <a href="ntqt.html#Orientation-enum">Horizontal</a> and
<p>Set this property's value with <a href="ntqsplitter.html#setOrientation">setOrientation</a>() and get this property's value with <a href="ntqsplitter.html#orientation">orientation</a>().
<p>Set this property's value with <a href="tqsplitter.html#setOrientation">setOrientation</a>() and get this property's value with <a href="tqsplitter.html#orientation">orientation</a>().
</doc>
</property>
<property>
@ -3843,7 +3843,7 @@ to disable all automatic formatting.
<name>TQTextEdit::documentTitle</name>
<doc href="tqtextedit.html#documentTitle-prop">
<p>This property holds the title of the document parsed from the text.
<p>For <a href="ntqt.html#TextFormat-enum">PlainText</a> the title will be an empty string. For <a href="ntqt.html#TextFormat-enum">RichText</a> the title will be the text between the <tt>&lt;title&gt;</tt> tags,
<p>For <a href="tqt.html#TextFormat-enum">PlainText</a> the title will be an empty string. For <a href="tqt.html#TextFormat-enum">RichText</a> the title will be the text between the <tt>&lt;title&gt;</tt> tags,
if present, otherwise an empty string.
<p>Get this property's value with <a href="tqtextedit.html#documentTitle">documentTitle</a>().
@ -3921,8 +3921,8 @@ text and select text; modifying the text is not possible.
<name>TQTextEdit::selectedText</name>
<doc href="tqtextedit.html#selectedText-prop">
<p>This property holds the selected text (from selection 0) or an empty string if there is no currently selected text (in selection 0).
<p>The text is always returned as <a href="ntqt.html#TextFormat-enum">PlainText</a> if the <a href="tqtextedit.html#textFormat">textFormat</a>() is
<a href="ntqt.html#TextFormat-enum">PlainText</a> or <a href="ntqt.html#TextFormat-enum">AutoText</a>, otherwise it is returned as HTML.
<p>The text is always returned as <a href="tqt.html#TextFormat-enum">PlainText</a> if the <a href="tqtextedit.html#textFormat">textFormat</a>() is
<a href="tqt.html#TextFormat-enum">PlainText</a> or <a href="tqt.html#TextFormat-enum">AutoText</a>, otherwise it is returned as HTML.
<p> <p>See also <a href="tqtextedit.html#hasSelectedText-prop">hasSelectedText</a>.
<p>Get this property's value with <a href="tqtextedit.html#selectedText">selectedText</a>().
@ -3953,7 +3953,7 @@ the focus chain. The default is FALSE.
<p>There is no default text.
<p> On setting, any previous text is deleted.
<p> The text may be interpreted either as plain text or as rich text,
depending on the <a href="tqtextedit.html#textFormat">textFormat</a>(). The default setting is <a href="ntqt.html#TextFormat-enum">AutoText</a>,
depending on the <a href="tqtextedit.html#textFormat">textFormat</a>(). The default setting is <a href="tqt.html#TextFormat-enum">AutoText</a>,
i.e. the text edit auto-detects the format of the text.
<p> For richtext, calling <a href="tqtextedit.html#text">text</a>() on an editable TQTextEdit will cause
the text to be regenerated from the textedit. This may mean that
@ -3980,7 +3980,7 @@ defined in the default stylesheet <a href="tqstylesheet.html#defaultSheet">
limited set of formatting tags (color, bold, underline and italic
settings).
<li> AutoText - this is the default. The text edit autodetects which
rendering style is best, <a href="ntqt.html#TextFormat-enum">PlainText</a> or <a href="ntqt.html#TextFormat-enum">RichText</a>. This is done
rendering style is best, <a href="tqt.html#TextFormat-enum">PlainText</a> or <a href="tqt.html#TextFormat-enum">RichText</a>. This is done
by using the <a href="tqstylesheet.html#mightBeRichText">TQStyleSheet::mightBeRichText</a>() function.
</ul>
@ -4293,21 +4293,21 @@ background mode.
<p>This property holds the color role used for painting the background of the widget.
<p>setPaletteBackgroundColor() reads this property to determine which
entry of the <a href="tqwidget.html#palette-prop">palette</a> to set.
<p> For most widgets the default suffices (<a href="ntqt.html#BackgroundMode-enum">PaletteBackground</a>,
typically gray), but some need to use <a href="ntqt.html#BackgroundMode-enum">PaletteBase</a> (the
<p> For most widgets the default suffices (<a href="tqt.html#BackgroundMode-enum">PaletteBackground</a>,
typically gray), but some need to use <a href="tqt.html#BackgroundMode-enum">PaletteBase</a> (the
background color for text output, typically white) or another
role.
<p> <a href="tqlistbox.html">TQListBox</a>, which is "sunken" and uses the base color to contrast
with its environment, does this in its constructor:
<p> You will never need to set the background mode of a built-in
widget in Qt, but you might consider setting it in your custom
widgets, so that <a href="tqwidget.html#setPaletteBackgroundColor">setPaletteBackgroundColor</a>() works as expected.
<p> Note that two of the BackgroundMode values make no sense for
<a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>(), namely <a href="ntqt.html#BackgroundMode-enum">FixedPixmap</a> and <a href="ntqt.html#BackgroundMode-enum">FixedColor</a>. You
<a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>(), namely <a href="tqt.html#BackgroundMode-enum">FixedPixmap</a> and <a href="tqt.html#BackgroundMode-enum">FixedColor</a>. You
must call <a href="tqwidget.html#setBackgroundPixmap">setBackgroundPixmap</a>() and setPaletteBackgroundColor()
instead.
@ -4391,11 +4391,11 @@ inactive widget has the <a href="tqpalette.html#inactive">TQPalette::inact
<doc href="tqwidget.html#cursor-prop">
<p>This property holds the cursor shape for this widget.
<p>The mouse cursor will assume this shape when it's over this
widget. See the <a href="ntqt.html#CursorShape-enum">list of predefined cursor
widget. See the <a href="tqt.html#CursorShape-enum">list of predefined cursor
objects</a> for a range of useful shapes.
<p> An editor widget might use an I-beam cursor:
<p> If no cursor has been set, or after a call to <a href="tqwidget.html#unsetCursor">unsetCursor</a>(), the
@ -4663,7 +4663,7 @@ getting any input.
<name>TQWidget::isPopup</name>
<doc href="tqwidget.html#isPopup-prop">
<p>This property holds whether the widget is a popup widget.
<p>A popup widget is created by specifying the <a href="ntqt.html#WidgetFlags">widget flag</a> <a href="ntqt.html#WidgetFlags-enum">WType_Popup</a> to the widget constructor. A popup widget is also a
<p>A popup widget is created by specifying the <a href="tqt.html#WidgetFlags">widget flag</a> <a href="tqt.html#WidgetFlags-enum">WType_Popup</a> to the widget constructor. A popup widget is also a
top-level widget.
<p> <p>See also <a href="tqwidget.html#isTopLevel-prop">isTopLevel</a>.
@ -4683,7 +4683,7 @@ etc. If supported by the window manager, it will also have a
common taskbar entry with its parent.
<p> <a href="tqdialog.html">TQDialog</a> and <a href="tqmainwindow.html">TQMainWindow</a> widgets are by default top-level, even if
a parent widget is specified in the constructor. This behavior is
specified by the <a href="ntqt.html#WidgetFlags-enum">WType_TopLevel</a> widget flag.
specified by the <a href="tqt.html#WidgetFlags-enum">WType_TopLevel</a> widget flag.
<p> <p>See also <a href="tqwidget.html#topLevelWidget">topLevelWidget</a>(), <a href="tqwidget.html#isDialog-prop">isDialog</a>, <a href="tqwidget.html#isModal-prop">isModal</a>, <a href="tqwidget.html#isPopup-prop">isPopup</a>, <a href="tqwidget.html#isDesktop-prop">isDesktop</a>, and <a href="tqwidget.html#parentWidget">parentWidget</a>().
<p>Get this property's value with <a href="tqwidget.html#isTopLevel">isTopLevel</a>().
@ -4879,7 +4879,7 @@ background and foreground appearance only.
convenience function that creates and sets a modified <a href="tqpalette.html">TQPalette</a>
with <a href="tqwidget.html#setPalette">setPalette</a>(). The palette is modified according to the
widget's background mode. For example, if the background mode is
<a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the color used for the palette's <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set.
<a href="tqt.html#BackgroundMode-enum">PaletteButton</a> the color used for the palette's <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set.
<p> If there is a background pixmap (set using
<a href="tqwidget.html#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap</a>()), then the return value of this
function is indeterminate.
@ -4898,7 +4898,7 @@ function is indeterminate.
convenience function that creates and sets a modified <a href="tqpalette.html">TQPalette</a>
with <a href="tqwidget.html#setPalette">setPalette</a>(). The palette is modified according to the
widget's background mode. For example, if the background mode is
<a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the pixmap used for the palette's
<a href="tqt.html#BackgroundMode-enum">PaletteButton</a> the pixmap used for the palette's
<a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set.
<p> If there is a plain background color (set using
<a href="tqwidget.html#setPaletteBackgroundColor">setPaletteBackgroundColor</a>()), then this function returns 0.
@ -4914,7 +4914,7 @@ widget's background mode. For example, if the background mode is
<p>setPaletteForegroundColor() is a convenience function that creates
and sets a modified <a href="tqpalette.html">TQPalette</a> with <a href="tqwidget.html#setPalette">setPalette</a>(). The palette is
modified according to the widget's <em>background mode</em>. For
example, if the background mode is <a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the palette entry
example, if the background mode is <a href="tqt.html#BackgroundMode-enum">PaletteButton</a> the palette entry
<a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ButtonText</a> is set to color.
<p> <p>See also <a href="tqwidget.html#palette-prop">palette</a>, <a href="ntqapplication.html#setPalette">QApplication::setPalette</a>(), <a href="tqwidget.html#backgroundMode-prop">backgroundMode</a>, <a href="tqwidget.html#foregroundColor">foregroundColor</a>(), <a href="tqwidget.html#backgroundMode-prop">backgroundMode</a>, and <a href="tqwidget.html#setEraseColor">setEraseColor</a>().
<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><h1align=center>Complete Member List for TQt</h1>
<p>This is the complete list of member functions for
<ahref="ntqt.html">TQt</a>, including inherited members.
<ahref="tqt.html">TQt</a>, including inherited members.
<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><h1align=center>Complete Member List for TQVariant</h1>
<p>This is the complete list of member functions for
<ahref="ntqvariant.html">TQVariant</a>, including inherited members.
@ -512,7 +512,7 @@ close means that the window is going away for good.
}
</pre>
<p> If the text hasn't been edited, we just accept the event. The window
will be closed, and because we used the <em>WDestructiveClose</em><ahref="ntqt.html#WidgetFlags">widget flag</a> in the <ahref="#ApplicationWindow"><i>ApplicationWindow()</i> constructor</a>,
will be closed, and because we used the <em>WDestructiveClose</em><ahref="tqt.html#WidgetFlags">widget flag</a> in the <ahref="#ApplicationWindow"><i>ApplicationWindow()</i> constructor</a>,
manipulated using <ahref="#insertItem">insertItem</a>(), <ahref="#removeItem">removeItem</a>(), <ahref="#clear">clear</a>(), <ahref="#key">key</a>() and
<ahref="#findKey">findKey</a>().
<p> Each accelerator item consists of an identifier and a <ahref="tqkeysequence.html">TQKeySequence</a>. A single key sequence consists of a keyboard code
combined with modifiers (<ahref="ntqt.html#Modifier-enum">SHIFT</a>, <ahref="ntqt.html#Modifier-enum">CTRL</a>, <ahref="ntqt.html#Modifier-enum">ALT</a> or <ahref="ntqt.html#Modifier-enum">UNICODE_ACCEL</a>). For example, <tt>CTRL + Key_P</tt> could be a shortcut
for printing a document. The key codes are listed in <ahref="tqnamespace-h.html">tqnamespace.h</a>. As an alternative, use <ahref="ntqt.html#Modifier-enum">UNICODE_ACCEL</a> with the
unicode code point of the character. For example, <tt>UNICODE_ACCEL + 'A'</tt> gives the same accelerator as <ahref="ntqt.html#Key-enum">Key_A</a>.
combined with modifiers (<ahref="tqt.html#Modifier-enum">SHIFT</a>, <ahref="tqt.html#Modifier-enum">CTRL</a>, <ahref="tqt.html#Modifier-enum">ALT</a> or <ahref="tqt.html#Modifier-enum">UNICODE_ACCEL</a>). For example, <tt>CTRL + Key_P</tt> could be a shortcut
for printing a document. The key codes are listed in <ahref="tqnamespace-h.html">tqnamespace.h</a>. As an alternative, use <ahref="tqt.html#Modifier-enum">UNICODE_ACCEL</a> with the
unicode code point of the character. For example, <tt>UNICODE_ACCEL + 'A'</tt> gives the same accelerator as <ahref="tqt.html#Key-enum">Key_A</a>.
<p> When an accelerator key is pressed, the accelerator sends out the
signal <ahref="#activated">activated</a>() with a number that identifies this particular
accelerator item. Accelerator items can also be individually
@ -223,7 +223,7 @@ negative identifier less than -1.
a-><ahref="#insertItem">insertItem</a>( CTRL + Key_P, 200 ); // Ctrl+P, e.g. to print document
a-><ahref="#insertItem">insertItem</a>( ALT + Key_X, 201 ); // Alt+X, e.g. to quit
a-><ahref="#insertItem">insertItem</a>( UNICODE_ACCEL + 'q', 202 ); // Unicode 'q', e.g. to quit
a-><ahref="#insertItem">insertItem</a>( <ahref="ntqt.html#Key-enum">Key_D</a> ); // gets a unique negative id < -1
a-><ahref="#insertItem">insertItem</a>( <ahref="tqt.html#Key-enum">Key_D</a> ); // gets a unique negative id < -1
a-><ahref="#insertItem">insertItem</a>( CTRL + SHIFT + Key_P ); // gets a unique negative id < -1
the <ahref="tqlayout.html#mainWidget">mainWidget</a>()), divides it up into a row of boxes, and makes
each managed widget fill one box.
<p><center><imgsrc="tqhbox-m.png"alt="Horizontal box with five child widgets"></center>
<p> If the TQBoxLayout's orientation is <ahref="ntqt.html#Orientation-enum">Horizontal</a> the boxes are
<p> If the TQBoxLayout's orientation is <ahref="tqt.html#Orientation-enum">Horizontal</a> the boxes are
placed in a row, with suitable sizes. Each widget (or other box)
will get at least its minimum size and at most its maximum size.
Any excess space is shared according to the stretch factors (more
about that below).
<p><center><imgsrc="tqvbox-m.png"alt="Vertical box with five child widgets"></center>
<p> If the TQBoxLayout's orientation is <ahref="ntqt.html#Orientation-enum">Vertical</a>, the boxes are
<p> If the TQBoxLayout's orientation is <ahref="tqt.html#Orientation-enum">Vertical</a>, the boxes are
placed in a column, again with suitable sizes.
<p> The easiest way to create a TQBoxLayout is to use one of the
convenience classes, e.g. <ahref="tqhboxlayout.html">TQHBoxLayout</a> (for <ahref="ntqt.html#Orientation-enum">Horizontal</a> boxes) or
<ahref="tqvboxlayout.html">TQVBoxLayout</a> (for <ahref="ntqt.html#Orientation-enum">Vertical</a> boxes). You can also use the
convenience classes, e.g. <ahref="tqhboxlayout.html">TQHBoxLayout</a> (for <ahref="tqt.html#Orientation-enum">Horizontal</a> boxes) or
<ahref="tqvboxlayout.html">TQVBoxLayout</a> (for <ahref="tqt.html#Orientation-enum">Vertical</a> boxes). You can also use the
TQBoxLayout constructor directly, specifying its direction as <ahref="#Direction-enum">LeftToRight</a>, <ahref="#Direction-enum">Down</a>, <ahref="#Direction-enum">RightToLeft</a> or <ahref="#Direction-enum">Up</a>.
<p> If the TQBoxLayout is not the top-level layout (i.e. it is not
managing all of the widget's area and children), you must add it
@ -224,7 +224,7 @@ factors grow more.
a stretch factor greater than zero, the space is distributed
according to the TQWidget:sizePolicy() of each widget that's
involved.
<p> Alignment is specified by <em>alignment</em> which is a bitwise OR of <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> values. The default alignment is 0, which means
<p> Alignment is specified by <em>alignment</em> which is a bitwise OR of <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> values. The default alignment is 0, which means
that the widget fills the entire cell.
<p> From TQt 3.0, the <em>alignment</em> parameter is interpreted more
aggressively than in previous versions of TQt. A non-default
@ -243,7 +243,7 @@ work in this direction; the stretch stretches in this direction.
Returns whether this layout can make use of more space than
<ahref="#sizeHint">sizeHint</a>(). A value of <ahref="ntqt.html#Orientation-enum">Vertical</a> or <ahref="ntqt.html#Orientation-enum">Horizontal</a> means that it wants
<ahref="#sizeHint">sizeHint</a>(). A value of <ahref="tqt.html#Orientation-enum">Vertical</a> or <ahref="tqt.html#Orientation-enum">Horizontal</a> means that it wants
to grow in only one dimension, whereas <tt>BothDirections</tt> means that
it wants to grow in both dimensions.
@ -304,7 +304,7 @@ a stretch factor greater than zero, the space is distributed
according to the TQWidget:sizePolicy() of each widget that's
involved.
<p> Alignment is specified by <em>alignment</em>, which is a bitwise OR of
<ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> values. The default alignment is 0, which
<ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> values. The default alignment is 0, which
means that the widget fills the entire cell.
<p> From TQt 3.0, the <em>alignment</em> parameter is interpreted more
aggressively than in previous versions of TQt. A non-default
Constructs a button group with title <em>title</em>. Child widgets will
be arranged in <em>strips</em> rows or columns (depending on <em>orientation</em>).
@ -189,7 +189,7 @@ See the <a href="tqbuttongroup.html#radioButtonExclusive-prop">"radioButtonExclu
Moves the <ahref="focus.html#keyboard-focus">keyboard focus</a> according to <em>key</em>, and if appropriate
checks the new focus item.
<p> This function does nothing unless the keyboard focus points to one
of the button group members and <em>key</em> is one of <ahref="ntqt.html#Key-enum">Key_Up</a>, <ahref="ntqt.html#Key-enum">Key_Down</a>, <ahref="ntqt.html#Key-enum">Key_Left</a> and <ahref="ntqt.html#Key-enum">Key_Right</a>.
of the button group members and <em>key</em> is one of <ahref="tqt.html#Key-enum">Key_Up</a>, <ahref="tqt.html#Key-enum">Key_Down</a>, <ahref="tqt.html#Key-enum">Key_Left</a> and <ahref="tqt.html#Key-enum">Key_Right</a>.
<p>Inherited by <ahref="tqcanvassprite.html">TQCanvasSprite</a>, <ahref="tqcanvaspolygonalitem.html">TQCanvasPolygonalItem</a>, and <ahref="tqcanvastext.html">TQCanvasText</a>.
<p><ahref="tqcanvasitem-members.html">List of all member functions.</a>
<p> Returns the button state (a combination of mouse buttons and
keyboard modifiers), i.e. what buttons and keys were being
pressed immediately before the event was generated.
<p> The returned value is <ahref="ntqt.html#ButtonState-enum">LeftButton</a>, <ahref="ntqt.html#ButtonState-enum">RightButton</a>, <ahref="ntqt.html#ButtonState-enum">MidButton</a>,
<ahref="ntqt.html#ButtonState-enum">ShiftButton</a>, <ahref="ntqt.html#ButtonState-enum">ControlButton</a> and <ahref="ntqt.html#ButtonState-enum">AltButton</a> OR'ed together.
<p> The returned value is <ahref="tqt.html#ButtonState-enum">LeftButton</a>, <ahref="tqt.html#ButtonState-enum">RightButton</a>, <ahref="tqt.html#ButtonState-enum">MidButton</a>,
<ahref="tqt.html#ButtonState-enum">ShiftButton</a>, <ahref="tqt.html#ButtonState-enum">ControlButton</a> and <ahref="tqt.html#ButtonState-enum">AltButton</a> OR'ed together.
@ -129,7 +129,7 @@ data to. The <a href="tqfile.html">TQFile</a> class is an example of an IO devic
<p> Each item written to the stream is written in a predefined binary
format that varies depending on the item's type. Supported TQt
types include <ahref="tqbrush.html">TQBrush</a>, <ahref="tqcolor.html">TQColor</a>, <ahref="tqdatetime.html">TQDateTime</a>, <ahref="tqfont.html">TQFont</a>, <ahref="tqpixmap.html">TQPixmap</a>, <ahref="tqstring.html">TQString</a>,
<ahref="ntqvariant.html">TQVariant</a> and many others. For the complete list of all TQt types
<ahref="tqvariant.html">TQVariant</a> and many others. For the complete list of all TQt types
supporting data streaming see the <ahref="datastreamformat.html">Format of the TQDataStream operators</a>.
<p> For integers it is best to always cast to a TQt integer type for
writing, and to read back into the same TQt integer type. This
@ -217,7 +217,7 @@ read, then that number of bytes is read into the preallocated
char*; writeBytes() writes a TQ_UINT32 containing the length of the
data, followed by the data. Notice that any encoding/decoding of
the data (apart from the length TQ_UINT32) must be done by you.
<p><p>See also <ahref="tqtextstream.html">TQTextStream</a>, <ahref="ntqvariant.html">TQVariant</a>, and <ahref="io.html">Input/Output and Networking</a>.
<p><p>See also <ahref="tqtextstream.html">TQTextStream</a>, <ahref="tqvariant.html">TQVariant</a>, and <ahref="io.html">Input/Output and Networking</a>.
<p><p>See also <ahref="#confirmCancels-prop">confirmCancels</a>, <ahref="#confirmEdits-prop">confirmEdits</a>, <ahref="#confirmInsert-prop">confirmInsert</a>, and <ahref="#confirmDelete-prop">confirmDelete</a>.
<p>Set this property's value with <ahref="#setConfirmUpdate">setConfirmUpdate</a>() and get this property's value with <ahref="#confirmUpdate">confirmUpdate</a>().
<p>This property holds the format used for displaying date/time values.
<p>The dateFormat property is used for displaying date/time values in
the table. The default value is <ahref="ntqt.html#DateFormat-enum">TQt::LocalDate</a>.
the table. The default value is <ahref="tqt.html#DateFormat-enum">TQt::LocalDate</a>.
<p>Set this property's value with <ahref="#setDateFormat">setDateFormat</a>() and get this property's value with <ahref="#dateFormat">dateFormat</a>().
Returns the current date, as reported by the system clock, for the
TimeSpec <em>ts</em>. The default TimeSpec is LocalTime.
<p><p>See also <ahref="tqtime.html#currentTime">TQTime::currentTime</a>(), <ahref="tqdatetime.html#currentDateTime">TQDateTime::currentDateTime</a>(), and <ahref="ntqt.html#TimeSpec-enum">TQt::TimeSpec</a>.
<p><p>See also <ahref="tqtime.html#currentTime">TQTime::currentTime</a>(), <ahref="tqdatetime.html#currentDateTime">TQDateTime::currentDateTime</a>(), and <ahref="tqt.html#TimeSpec-enum">TQt::TimeSpec</a>.
@ -158,11 +158,11 @@ later than the datetime of this object (or earlier if <em>nyears</em> is
negative).
<p><p>See also <ahref="#daysTo">daysTo</a>(), <ahref="#addDays">addDays</a>(), <ahref="#addMonths">addMonths</a>(), and <ahref="#addSecs">addSecs</a>().
Returns the current datetime, as reported by the system clock, for the
TimeSpec <em>ts</em>. The default TimeSpec is LocalTime.
<p><p>See also <ahref="tqdate.html#currentDate">TQDate::currentDate</a>(), <ahref="tqtime.html#currentTime">TQTime::currentTime</a>(), and <ahref="ntqt.html#TimeSpec-enum">TQt::TimeSpec</a>.
<p><p>See also <ahref="tqdate.html#currentDate">TQDate::currentDate</a>(), <ahref="tqtime.html#currentTime">TQTime::currentTime</a>(), and <ahref="tqt.html#TimeSpec-enum">TQt::TimeSpec</a>.
Sets the date and time to <em>ts</em> time (<ahref="ntqt.html#TimeSpec-enum">TQt::LocalTime</a> or <ahref="ntqt.html#TimeSpec-enum">TQt::UTC</a>) given the number of seconds that have passed since
Sets the date and time to <em>ts</em> time (<ahref="tqt.html#TimeSpec-enum">TQt::LocalTime</a> or <ahref="tqt.html#TimeSpec-enum">TQt::UTC</a>) 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
@ -148,9 +148,9 @@ full dialog that shows all the options. Typically an extensible
dialog will initially appear as a partial dialog, but with a
"More" toggle button. If the user presses the "More" button down,
the full dialog will appear. The extension widget will be resized
to its <ahref="tqwidget.html#sizeHint">sizeHint</a>(). If orientation is <ahref="ntqt.html#Orientation-enum">Horizontal</a> the extension
to its <ahref="tqwidget.html#sizeHint">sizeHint</a>(). If orientation is <ahref="tqt.html#Orientation-enum">Horizontal</a> the extension
widget's <ahref="tqwidget.html#height">height</a>() will be expanded to the height() of the dialog.
If the orientation is <ahref="ntqt.html#Orientation-enum">Vertical</a> the extension widget's <ahref="tqwidget.html#width">width</a>()
If the orientation is <ahref="tqt.html#Orientation-enum">Vertical</a> the extension widget's <ahref="tqwidget.html#width">width</a>()
will be expanded to the width() of the dialog. Extensibility is
controlled with <ahref="#setExtension">setExtension</a>(), <ahref="#setOrientation">setOrientation</a>() and
<ahref="#showExtension">showExtension</a>().
@ -163,7 +163,7 @@ required, e.g. to indicate whether the user pressed "OK" or
<ahref="#reject">reject</a>() slots, and <ahref="#exec">exec</a>() will return <ahref="#DialogCode-enum">Accepted</a> or <ahref="#DialogCode-enum">Rejected</a>
as appropriate. The exec() call returns the result of the dialog.
The result is also available from <ahref="#result">result</a>() if the dialog has not
been destroyed. If the <ahref="ntqt.html#WidgetFlags-enum">WDestructiveClose</a> flag is set, the
been destroyed. If the <ahref="tqt.html#WidgetFlags-enum">WDestructiveClose</a> flag is set, the
dialog is deleted after exec() returns.
<p><aname="examples"></a>
<h3> Examples
@ -222,7 +222,7 @@ WStyle_Title | WStyle_SysMenu in <em>f</em>.
<ahref="#setModal">setModal</a>() function that can be used for obtaining a modal behavior
when calling <ahref="#show">show</a>(). This is rarely needed, because modal dialogs
are usually invoked using <ahref="#exec">exec</a>(), which ignores the <em>modal</em> flag.
<p><p>See also <ahref="tqwidget.html#setWFlags">TQWidget::setWFlags</a>() and <ahref="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
<p><p>See also <ahref="tqwidget.html#setWFlags">TQWidget::setWFlags</a>() and <ahref="tqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
@ -238,7 +238,7 @@ Hides the modal dialog and sets the result code to <a href="#DialogCode-enum">Ac
</h3> Closes the dialog and sets its result code to <em>r</em>. If this dialog
is shown with <ahref="#exec">exec</a>(), <ahref="#done">done</a>() causes the local event loop to finish,
and exec() to return <em>r</em>.
<p> As with <ahref="tqwidget.html#close">TQWidget::close</a>(), done() deletes the dialog if the <ahref="ntqt.html#WidgetFlags-enum">WDestructiveClose</a> flag is set. If the dialog is the application's
<p> As with <ahref="tqwidget.html#close">TQWidget::close</a>(), done() deletes the dialog if the <ahref="tqt.html#WidgetFlags-enum">WDestructiveClose</a> flag is set. If the dialog is the application's
main widget, the application terminates. If the dialog is the
last window closed, the <ahref="ntqapplication.html#lastWindowClosed">TQApplication::lastWindowClosed</a>() signal is
emitted.
@ -265,7 +265,7 @@ See the <a href="tqdialog.html#modal-prop">"modal"</a> property for details.
If <em>orientation</em> is <ahref="ntqt.html#Orientation-enum">Horizontal</a>, the extension will be displayed
to the right of the dialog's main area. If <em>orientation</em> is <ahref="ntqt.html#Orientation-enum">Vertical</a>, the extension will be displayed below the dialog's main
If <em>orientation</em> is <ahref="tqt.html#Orientation-enum">Horizontal</a>, the extension will be displayed
to the right of the dialog's main area. If <em>orientation</em> is <ahref="tqt.html#Orientation-enum">Vertical</a>, the extension will be displayed below the dialog's main
area.
<p><p>See also <ahref="#orientation">orientation</a>() and <ahref="#setExtension">setExtension</a>().
@ -147,7 +147,7 @@ the parent if you want it floated.
<p> In the example above we create a new <ahref="tqtoolbar.html">TQToolBar</a> in the constructor
of a <ahref="tqmainwindow.html">TQMainWindow</a> subclass (so that the <em>this</em> pointer points to
the TQMainWindow). By default the toolbar will be added to the <ahref="ntqt.html#Dock-enum">Top</a> dock area, but we've moved it to the <ahref="ntqt.html#Dock-enum">Left</a> dock area.
the TQMainWindow). By default the toolbar will be added to the <ahref="tqt.html#Dock-enum">Top</a> dock area, but we've moved it to the <ahref="tqt.html#Dock-enum">Left</a> dock area.
<p> A dock window is often used to contain a single widget. In these
cases the widget can be set by calling <ahref="#setWidget">setWidget</a>(). If you're
constructing a dock window that contains multiple widgets, e.g. a
@ -220,7 +220,7 @@ Constructs a TQDockWindow with parent <em>parent</em>, called <em>name</em> and
with widget flags <em>f</em>.
<p> If <em>p</em> is <ahref="#Place-enum">InDock</a>, the dock window is docked into a dock area
and <em>parent</em><em>must</em> be a <ahref="tqdockarea.html">TQDockArea</a> or a <ahref="tqmainwindow.html">TQMainWindow</a>. If the <em>parent</em> is a TQMainWindow the dock window will be docked in the main
window's <ahref="ntqt.html#Dock-enum">Top</a> dock area.
window's <ahref="tqt.html#Dock-enum">Top</a> dock area.
<p> If <em>p</em> is <ahref="#Place-enum">OutsideDock</a>, the dock window is created as a floating
window.
<p> We recommend creating the dock area <ahref="#Place-enum">InDock</a> with a TQMainWindow
@ -310,12 +310,12 @@ See the <a href="tqdockwindow.html#offset-prop">"offset"</a> property for detail
@ -230,7 +230,7 @@ necessary for multi-line text to align correctly. Also,
fontHeight() and <ahref="#lineSpacing">lineSpacing</a>() are used to calculate the height,
rather than individual character heights.
<p> The <em>intern</em> argument should not be used.
<p><p>See also <ahref="#width">width</a>(), <ahref="tqpainter.html#boundingRect">TQPainter::boundingRect</a>(), and <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p><p>See also <ahref="#width">width</a>(), <ahref="tqpainter.html#boundingRect">TQPainter::boundingRect</a>(), and <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
@ -218,7 +218,7 @@ automatically added to the parent layout as it is constructed.
</h3>
Adds the <em>item</em> to the cell grid, spanning multiple rows/columns.
<p> The cell will span from <em>fromRow</em>, <em>fromCol</em> to <em>toRow</em>, <em>toCol</em>. Alignment is specified by <em>alignment</em>, which is a bitwise
OR of <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> values. The default alignment is 0,
OR of <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> values. The default alignment is 0,
which means that the widget fills the entire cell.
Returns whether this layout can make use of more space than
<ahref="#sizeHint">sizeHint</a>(). A value of <ahref="ntqt.html#Orientation-enum">Vertical</a> or <ahref="ntqt.html#Orientation-enum">Horizontal</a> means that it wants
<ahref="#sizeHint">sizeHint</a>(). A value of <ahref="tqt.html#Orientation-enum">Vertical</a> or <ahref="tqt.html#Orientation-enum">Horizontal</a> means that it wants
to grow in only one dimension, whereas <tt>BothDirections</tt> means that
(if <ahref="#orientation">orientation</a>() is <ahref="tqt.html#Orientation-enum">Horizontal</a>) or height (if orientation() is
<ahref="tqt.html#Orientation-enum">Vertical</a>).
<p> Use this method to separate the widgets in the group box or to
skip the next free cell. For performance reasons, call this method
after calling <ahref="#setColumnLayout">setColumnLayout</a>() or by changing the <ahref="#columns-prop">TQGroupBox::columns</a> or <ahref="#orientation-prop">TQGroupBox::orientation</a> properties. It is
@ -189,7 +189,7 @@ See the <a href="tqgroupbox.html#checked-prop">"checked"</a> property for detail
@ -397,7 +397,7 @@ converted image. The original image is not changed.
converted.
<p> If the image needs to be modified to fit in a lower-resolution
result (e.g. converting from 32-bit to 8-bit), use the <em>conversion_flags</em> to specify how you'd prefer this to happen.
<p><p>See also <ahref="ntqt.html#ImageConversionFlags-enum">TQt::ImageConversionFlags</a>, <ahref="#depth">depth</a>(), and <ahref="#isNull">isNull</a>().
<p><p>See also <ahref="tqt.html#ImageConversionFlags-enum">TQt::ImageConversionFlags</a>, <ahref="#depth">depth</a>(), and <ahref="#isNull">isNull</a>().
<p> Returns the keyboard modifier flags that existed immediately
before the event occurred.
<p> The returned value is <ahref="ntqt.html#ButtonState-enum">ShiftButton</a>, <ahref="ntqt.html#ButtonState-enum">ControlButton</a>, <ahref="ntqt.html#ButtonState-enum">AltButton</a>
and <ahref="ntqt.html#ButtonState-enum">MetaButton</a> OR'ed together.
<p> The returned value is <ahref="tqt.html#ButtonState-enum">ShiftButton</a>, <ahref="tqt.html#ButtonState-enum">ControlButton</a>, <ahref="tqt.html#ButtonState-enum">AltButton</a>
and <ahref="tqt.html#ButtonState-enum">MetaButton</a> OR'ed together.
<p><p>See also <ahref="#stateAfter">stateAfter</a>().
<p><ahref="tqkeysequence-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@ -67,12 +67,12 @@ The TQKeySequence class encapsulates a key sequence as used
by accelerators.
<p>
<p> A key sequence consists of up to four keyboard codes, each
optionally combined with modifiers, e.g. <ahref="ntqt.html#Modifier-enum">SHIFT</a>, <ahref="ntqt.html#Modifier-enum">CTRL</a>, <ahref="ntqt.html#Modifier-enum">ALT</a>, <ahref="ntqt.html#Modifier-enum">META</a>, or <ahref="ntqt.html#Modifier-enum">UNICODE_ACCEL</a>. For example, <tt>CTRL + Key_P</tt>
optionally combined with modifiers, e.g. <ahref="tqt.html#Modifier-enum">SHIFT</a>, <ahref="tqt.html#Modifier-enum">CTRL</a>, <ahref="tqt.html#Modifier-enum">ALT</a>, <ahref="tqt.html#Modifier-enum">META</a>, or <ahref="tqt.html#Modifier-enum">UNICODE_ACCEL</a>. For example, <tt>CTRL + Key_P</tt>
might be a sequence used as a shortcut for printing a document.
The key codes are listed in <ahref="tqnamespace-h.html">tqnamespace.h</a>. As an alternative,
use <ahref="ntqt.html#Modifier-enum">UNICODE_ACCEL</a> with the unicode code point of the character.
use <ahref="tqt.html#Modifier-enum">UNICODE_ACCEL</a> with the unicode code point of the character.
For example, <tt>UNICODE_ACCEL + 'A'</tt> gives the same key sequence
as <ahref="ntqt.html#Key-enum">Key_A</a>.
as <ahref="tqt.html#Key-enum">Key_A</a>.
<p> Key sequences can be constructed either from an integer key code,
or from a human readable translatable string such as
"Ctrl+X,Alt+Space". A key sequence can be cast to a <ahref="tqstring.html">TQString</a> to
@ -109,14 +109,14 @@ necessary, but it provides some context for the human translator.
</h3>
Constructs a key sequence that has a single <em>key</em>.
<p> The key codes are listed in <ahref="tqnamespace-h.html">tqnamespace.h</a> and can be
combined with modifiers, e.g. with <ahref="ntqt.html#Modifier-enum">SHIFT</a>, <ahref="ntqt.html#Modifier-enum">CTRL</a>, <ahref="ntqt.html#Modifier-enum">ALT</a>, <ahref="ntqt.html#Modifier-enum">META</a> or <ahref="ntqt.html#Modifier-enum">UNICODE_ACCEL</a>.
combined with modifiers, e.g. with <ahref="tqt.html#Modifier-enum">SHIFT</a>, <ahref="tqt.html#Modifier-enum">CTRL</a>, <ahref="tqt.html#Modifier-enum">ALT</a>, <ahref="tqt.html#Modifier-enum">META</a> or <ahref="tqt.html#Modifier-enum">UNICODE_ACCEL</a>.
Constructs a key sequence with up to 4 keys <em>k1</em>, <em>k2</em>,
<em>k3</em> and <em>k4</em>.
<p> The key codes are listed in <ahref="tqnamespace-h.html">tqnamespace.h</a> and can be
combined with modifiers, e.g. with <ahref="ntqt.html#Modifier-enum">SHIFT</a>, <ahref="ntqt.html#Modifier-enum">CTRL</a>, <ahref="ntqt.html#Modifier-enum">ALT</a>, <ahref="ntqt.html#Modifier-enum">META</a> or <ahref="ntqt.html#Modifier-enum">UNICODE_ACCEL</a>.
combined with modifiers, e.g. with <ahref="tqt.html#Modifier-enum">SHIFT</a>, <ahref="tqt.html#Modifier-enum">CTRL</a>, <ahref="tqt.html#Modifier-enum">ALT</a>, <ahref="tqt.html#Modifier-enum">META</a> or <ahref="tqt.html#Modifier-enum">UNICODE_ACCEL</a>.
Constructs a label that displays the text, <em>text</em>.
<p> The <em>parent</em>, <em>name</em> and <ahref="ntqt.html#WidgetFlags">widget flag</a><em>f</em>, arguments are passed
<p> The <em>parent</em>, <em>name</em> and <ahref="tqt.html#WidgetFlags">widget flag</a><em>f</em>, arguments are passed
to the <ahref="tqframe.html">TQFrame</a> constructor.
<p><p>See also <ahref="#text-prop">text</a>, <ahref="#alignment-prop">alignment</a>, <ahref="tqframe.html#setFrameStyle">setFrameStyle</a>(), and <ahref="#indent-prop">indent</a>.
@ -167,7 +167,7 @@ buddy widget, <em>buddy</em>.
an ampersand, &), and the text is in plain text format, when the
user presses Alt+ the underlined letter, focus is passed to the
buddy widget.
<p> The <em>parent</em>, <em>name</em> and <ahref="ntqt.html#WidgetFlags">widget flag</a>, <em>f</em>, arguments are passed
<p> The <em>parent</em>, <em>name</em> and <ahref="tqt.html#WidgetFlags">widget flag</a>, <em>f</em>, arguments are passed
to the <ahref="tqframe.html">TQFrame</a> constructor.
<p><p>See also <ahref="#text-prop">text</a>, <ahref="#setBuddy">setBuddy</a>(), <ahref="#alignment-prop">alignment</a>, <ahref="tqframe.html#setFrameStyle">setFrameStyle</a>(), and <ahref="#indent-prop">indent</a>.
@ -243,7 +243,7 @@ the <a href="focus.html#keyboard-focus">keyboard focus</a> is transferred to the
<p> The buddy mechanism is only available for TQLabels that contain
plain text in which one letter is prefixed with an ampersand, &.
This letter is set as the accelerator key. The letter is displayed
underlined, and the '&' is not displayed (i.e. the <ahref="ntqt.html#TextFlags-enum">ShowPrefix</a>
underlined, and the '&' is not displayed (i.e. the <ahref="tqt.html#TextFlags-enum">ShowPrefix</a>
alignment flag is turned on; see <ahref="#setAlignment">setAlignment</a>()).
<p> In a dialog, you might create two data entry widgets and a label
for each, and set up the geometry layout so each label is just to
@ -320,31 +320,31 @@ See the <a href="tqlabel.html#scaledContents-prop">"scaledContents"</a> property
<p>This property holds the alignment of the label's contents.
<p>The alignment is a bitwise OR of <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <ahref="ntqt.html#TextFlags-enum">TQt::TextFlags</a> values. The <ahref="ntqt.html#TextFlags-enum">ExpandTabs</a>, <ahref="ntqt.html#TextFlags-enum">SingleLine</a> and <ahref="ntqt.html#TextFlags-enum">ShowPrefix</a> flags apply only if the label contains plain text;
otherwise they are ignored. The <ahref="ntqt.html#TextFlags-enum">DontClip</a> flag is always
ignored. <ahref="ntqt.html#TextFlags-enum">WordBreak</a> applies to both rich text and plain text
labels. The <ahref="ntqt.html#TextFlags-enum">BreakAnywhere</a> flag is not supported in TQLabel.
<p> If the label has a buddy, the <ahref="ntqt.html#TextFlags-enum">ShowPrefix</a> flag is forced to
<p>The alignment is a bitwise OR of <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <ahref="tqt.html#TextFlags-enum">TQt::TextFlags</a> values. The <ahref="tqt.html#TextFlags-enum">ExpandTabs</a>, <ahref="tqt.html#TextFlags-enum">SingleLine</a> and <ahref="tqt.html#TextFlags-enum">ShowPrefix</a> flags apply only if the label contains plain text;
otherwise they are ignored. The <ahref="tqt.html#TextFlags-enum">DontClip</a> flag is always
ignored. <ahref="tqt.html#TextFlags-enum">WordBreak</a> applies to both rich text and plain text
labels. The <ahref="tqt.html#TextFlags-enum">BreakAnywhere</a> flag is not supported in TQLabel.
<p> If the label has a buddy, the <ahref="tqt.html#TextFlags-enum">ShowPrefix</a> flag is forced to
TRUE.
<p> The default alignment is <tt>AlignAuto | AlignVCenter | ExpandTabs</tt>
if the label doesn't have a buddy and <tt>AlignAuto | AlignVCenter | ExpandTabs | ShowPrefix</tt> if the label has a buddy. If the label
contains rich text, additionally <ahref="ntqt.html#TextFlags-enum">WordBreak</a> is turned on.
<p><p>See also <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>, <ahref="#setBuddy">setBuddy</a>(), and <ahref="#text-prop">text</a>.
contains rich text, additionally <ahref="tqt.html#TextFlags-enum">WordBreak</a> is turned on.
<p><p>See also <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>, <ahref="#setBuddy">setBuddy</a>(), and <ahref="#text-prop">text</a>.
<p>Set this property's value with <ahref="#setAlignment">setAlignment</a>() and get this property's value with <ahref="#alignment">alignment</a>().
<p>See the <ahref="ntqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible
<p>See the <ahref="tqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible
options.
<p> The default format is <ahref="ntqt.html#TextFormat-enum">AutoText</a>.
<p> The default format is <ahref="tqt.html#TextFormat-enum">AutoText</a>.
<p><p>See also <ahref="#text-prop">text</a>.
<p>Set this property's value with <ahref="#setTextFormat">setTextFormat</a>() and get this property's value with <ahref="#textFormat">textFormat</a>().
Returns whether this layout can make use of more space than
<ahref="tqlayoutitem.html#sizeHint">sizeHint</a>(). A value of <ahref="ntqt.html#Orientation-enum">Vertical</a> or <ahref="ntqt.html#Orientation-enum">Horizontal</a> means that it wants
<ahref="tqlayoutitem.html#sizeHint">sizeHint</a>(). A value of <ahref="tqt.html#Orientation-enum">Vertical</a> or <ahref="tqt.html#Orientation-enum">Horizontal</a> means that it wants
to grow in only one dimension, whereas <tt>BothDirections</tt> means that
it wants to grow in both dimensions.
<p> The default implementation returns <tt>BothDirections</tt>.
<p>This property holds the alignment of the line edit.
<p>Possible Values are <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignAuto</a>, <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignLeft</a>, <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignRight</a> and <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignHCenter</a>.
<p>Possible Values are <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignAuto</a>, <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignLeft</a>, <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignRight</a> and <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignHCenter</a>.
<p> Attempting to set the alignment to an illegal flag combination
does nothing.
<p><p>See also <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p><p>See also <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p>Set this property's value with <ahref="#setAlignment">setAlignment</a>() and get this property's value with <ahref="#alignment">alignment</a>().
Constructs a new empty list box called <em>name</em> and with parent <em>parent</em>.
<p> Performance is boosted by modifying the widget flags <em>f</em> so that
only part of the <ahref="tqlistboxitem.html">TQListBoxItem</a> children is redrawn. This may be
unsuitable for custom TQListBoxItem classes, in which case <ahref="ntqt.html#WidgetFlags-enum">WStaticContents</a> and <ahref="ntqt.html#WidgetFlags-enum">WNoAutoErase</a> should be cleared
unsuitable for custom TQListBoxItem classes, in which case <ahref="tqt.html#WidgetFlags-enum">WStaticContents</a> and <ahref="tqt.html#WidgetFlags-enum">WNoAutoErase</a> should be cleared
immediately after construction.
<p><p>See also <ahref="tqwidget.html#clearWFlags">TQWidget::clearWFlags</a>() and <ahref="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
<p><p>See also <ahref="tqwidget.html#clearWFlags">TQWidget::clearWFlags</a>() and <ahref="tqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
@ -397,8 +397,8 @@ width of the item with the largest width in the column.
Constructs a new empty list view called <em>name</em> with parent <em>parent</em>.
<p> Performance is boosted by modifying the widget flags <em>f</em> so that
only part of the <ahref="tqlistviewitem.html">TQListViewItem</a> children is redrawn. This may be
unsuitable for custom TQListViewItem classes, in which case <ahref="ntqt.html#WidgetFlags-enum">WStaticContents</a> and <ahref="ntqt.html#WidgetFlags-enum">WNoAutoErase</a> should be cleared.
<p><p>See also <ahref="tqwidget.html#clearWFlags">TQWidget::clearWFlags</a>() and <ahref="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
unsuitable for custom TQListViewItem classes, in which case <ahref="tqt.html#WidgetFlags-enum">WStaticContents</a> and <ahref="tqt.html#WidgetFlags-enum">WNoAutoErase</a> should be cleared.
<p><p>See also <ahref="tqwidget.html#clearWFlags">TQWidget::clearWFlags</a>() and <ahref="tqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
@ -198,7 +198,7 @@ will be called when the menu item is clicked.
<p> This extract shows the creation of a toolbar with one toolbar
button. TQMainWindow supplies four dock areas for toolbars. When a
toolbar is created as a child of a TQMainWindow (or derived class)
instance it will be placed in a dock area (the <ahref="ntqt.html#Dock-enum">Top</a> dock area by
instance it will be placed in a dock area (the <ahref="tqt.html#Dock-enum">Top</a> dock area by
default). The slot will be called when the toolbar button is
clicked. Any dock window can be added to a dock area either using
<ahref="#addDockWindow">addDockWindow</a>(), or by creating a dock window with the TQMainWindow
@ -267,10 +267,10 @@ group.
<p> New dock windows and toolbars can be added to a TQMainWindow using
<ahref="#addDockWindow">addDockWindow</a>(). Dock windows can be moved using <ahref="#moveDockWindow">moveDockWindow</a>()
and removed with <ahref="#removeDockWindow">removeDockWindow</a>(). TQMainWindow allows default
dock window (toolbar) docking in all its dock areas (<ahref="ntqt.html#Dock-enum">Top</a>, <ahref="ntqt.html#Dock-enum">Left</a>, <ahref="ntqt.html#Dock-enum">Right</a>, <ahref="ntqt.html#Dock-enum">Bottom</a>). You can use <ahref="#setDockEnabled">setDockEnabled</a>() to
dock window (toolbar) docking in all its dock areas (<ahref="tqt.html#Dock-enum">Top</a>, <ahref="tqt.html#Dock-enum">Left</a>, <ahref="tqt.html#Dock-enum">Right</a>, <ahref="tqt.html#Dock-enum">Bottom</a>). You can use <ahref="#setDockEnabled">setDockEnabled</a>() 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: <ahref="ntqt.html#Dock-enum">Top</a>, <ahref="ntqt.html#Dock-enum">Left</a>, <ahref="ntqt.html#Dock-enum">Right</a>, <ahref="ntqt.html#Dock-enum">Bottom</a>, <ahref="ntqt.html#Dock-enum">Minimized</a> (effectively a 'hidden' dock area) and <ahref="ntqt.html#Dock-enum">TornOff</a> (floating). See <ahref="ntqt.html#Dock-enum">TQt::Dock</a> for an explanation of these
currently available edges are: <ahref="tqt.html#Dock-enum">Top</a>, <ahref="tqt.html#Dock-enum">Left</a>, <ahref="tqt.html#Dock-enum">Right</a>, <ahref="tqt.html#Dock-enum">Bottom</a>, <ahref="tqt.html#Dock-enum">Minimized</a> (effectively a 'hidden' dock area) and <ahref="tqt.html#Dock-enum">TornOff</a> (floating). See <ahref="tqt.html#Dock-enum">TQt::Dock</a> for an explanation of these
areas. Note that the *ToolBar functions are included for backward
compatibility; all new code should use the *DockWindow functions.
TQToolbar is a subclass of <ahref="tqdockwindow.html">TQDockWindow</a> so all functions that work
@ -308,15 +308,15 @@ to rearrange the order of some toolbars. Dock windows can also be
dragged outside any docking area (undocked or 'floated'). Being
able to drag dock windows can be enabled (the default) and
disabled using <ahref="#setDockWindowsMovable">setDockWindowsMovable</a>().
<p> The <ahref="ntqt.html#Dock-enum">Minimized</a> edge is a hidden dock area. If this dock area is
<p> The <ahref="tqt.html#Dock-enum">Minimized</a> edge is a hidden dock area. If this dock area is
enabled the user can hide (minimize) a dock window or show (restore)
a minimized dock window by clicking the dock window handle. If the
user hovers the mouse cursor over one of the handles, the caption of
the dock window is displayed in a tool tip (see
<ahref="tqwidget.html#caption">TQDockWindow::caption</a>() or <ahref="tqtoolbar.html#label">TQToolBar::label</a>()), so if you enable the
<ahref="ntqt.html#Dock-enum">Minimized</a> dock area, it is best to specify a meaningful caption
<ahref="tqt.html#Dock-enum">Minimized</a> dock area, it is best to specify a meaningful caption
or label for each dock window. To minimize a dock window
programmatically use <ahref="#moveDockWindow">moveDockWindow</a>() with an edge of <ahref="ntqt.html#Dock-enum">Minimized</a>.
programmatically use <ahref="#moveDockWindow">moveDockWindow</a>() with an edge of <ahref="tqt.html#Dock-enum">Minimized</a>.
<p> Dock windows are moved transparently by default, i.e. during the
drag an outline rectangle is drawn on the screen representing the
position of the dock window as it moves. If you want the dock
@ -336,7 +336,7 @@ windows.
<p> The main window's menu bar is fixed (at the top) by default. If
you want a movable menu bar, create a <ahref="tqmenubar.html">TQMenuBar</a> as a stretchable
widget inside its own movable dock window and restrict this dock
window to only live within the <ahref="ntqt.html#Dock-enum">Top</a> or <ahref="ntqt.html#Dock-enum">Bottom</a> dock:
window to only live within the <ahref="tqt.html#Dock-enum">Top</a> or <ahref="tqt.html#Dock-enum">Bottom</a> dock:
<p><pre>
<ahref="tqtoolbar.html">TQToolBar</a> *tb = new <ahref="tqtoolbar.html">TQToolBar</a>( this );
This function will line up dock windows within the visible dock
areas (<ahref="ntqt.html#Dock-enum">Top</a>, <ahref="ntqt.html#Dock-enum">Left</a>, <ahref="ntqt.html#Dock-enum">Right</a> and <ahref="ntqt.html#Dock-enum">Bottom</a>) as compactly as
areas (<ahref="tqt.html#Dock-enum">Top</a>, <ahref="tqt.html#Dock-enum">Left</a>, <ahref="tqt.html#Dock-enum">Right</a> and <ahref="tqt.html#Dock-enum">Bottom</a>) as compactly as
possible.
<p> If <em>keepNewLines</em> is TRUE, all dock windows stay on their
original lines. If <em>keepNewLines</em> is FALSE then newlines may be
@ -644,15 +644,15 @@ Returns the menu bar for this window.
<p> If there isn't one, then <ahref="#menuBar">menuBar</a>() creates an empty menu bar.
<p><p>See also <ahref="#statusBar">statusBar</a>().
@ -864,7 +864,7 @@ be used for popup menus, for example:
<p>If TRUE (the default), the user will be able to move movable dock
windows from one TQMainWindow dock area to another, including the
<tt>TearOff</tt> area (i.e. where the dock window floats freely as a
window in its own right), and the <ahref="ntqt.html#Dock-enum">Minimized</a> area (where only
window in its own right), and the <ahref="tqt.html#Dock-enum">Minimized</a> area (where only
the dock window's handle is shown below the menu bar). Moveable
dock windows can also be moved within TQMainWindow dock areas, i.e.
to rearrange them within a dock area.
@ -925,7 +925,7 @@ and for connecting to the main window's widget's
</h3>
<p> Writes the layout (sizes and positions) of the dock windows in the
dock areas of the TQMainWindow <em>mainWindow</em>, including <ahref="ntqt.html#Dock-enum">Minimized</a> and <ahref="ntqt.html#Dock-enum">TornOff</a> dock windows, to the text stream <em>ts</em>.
dock areas of the TQMainWindow <em>mainWindow</em>, including <ahref="tqt.html#Dock-enum">Minimized</a> and <ahref="tqt.html#Dock-enum">TornOff</a> dock windows, to the text stream <em>ts</em>.
<p> This can be used, for example, in conjunction with <ahref="tqsettings.html">TQSettings</a> to
save the user's layout when the \mainWindow receives a closeEvent.
<p><p>See also <ahref="#operator-gt-gt">operator>></a>() and <ahref="tqwidget.html#closeEvent">closeEvent</a>().
@ -935,7 +935,7 @@ save the user's layout when the \mainWindow receives a closeEvent.
<p> Reads the layout (sizes and positions) of the dock windows in the
dock areas of the TQMainWindow <em>mainWindow</em> from the text stream,
<em>ts</em>, including <ahref="ntqt.html#Dock-enum">Minimized</a> and <ahref="ntqt.html#Dock-enum">TornOff</a> dock windows.
<em>ts</em>, including <ahref="tqt.html#Dock-enum">Minimized</a> and <ahref="tqt.html#Dock-enum">TornOff</a> dock windows.
Restores the dock windows and dock areas to these sizes and
positions. The layout information must be in the format produced
by <ahref="#operator-lt-lt">operator<<</a>().
<p> TQMap is a TQt implementation of an STL-like map container. It can
be used in your application if the standard <tt>map</tt> is not
available on all your target platforms. TQMap is part of the <ahref="ntqtl.html">TQt Template Library</a>.
available on all your target platforms. TQMap is part of the <ahref="tqtl.html">TQt Template Library</a>.
<p> TQMap<Key, Data> defines a template instance to create a
dictionary with keys of type Key and values of type Data. TQMap
does not store pointers to the members of the map; instead, it
@ -258,7 +258,7 @@ to pass an iterator to <a href="#remove">remove</a>(). Another way is to pass a
value to remove(), which will delete the entry with the requested
key. In addition you can clear the entire map using the <ahref="#clear">clear</a>()
method.
<p><p>See also <ahref="tqmapiterator.html">TQMapIterator</a>, <ahref="ntqtl.html">TQt Template Library Classes</a>, <ahref="shared.html">Implicitly and Explicitly Shared Classes</a>, and <ahref="tools.html">Non-GUI Classes</a>.
<p><p>See also <ahref="tqmapiterator.html">TQMapIterator</a>, <ahref="tqtl.html">TQt Template Library Classes</a>, <ahref="shared.html">Implicitly and Explicitly Shared Classes</a>, and <ahref="tools.html">Non-GUI Classes</a>.
<p>This property holds the message box text to be displayed.
<p>The text will be interpreted either as a plain text or as rich
text, depending on the text format setting (<ahref="#textFormat-prop">TQMessageBox::textFormat</a>). The default setting is <ahref="ntqt.html#TextFormat-enum">AutoText</a>, i.e.
text, depending on the text format setting (<ahref="#textFormat-prop">TQMessageBox::textFormat</a>). The default setting is <ahref="tqt.html#TextFormat-enum">AutoText</a>, i.e.
the message box will try to auto-detect the format of the text.
<p> The default value of this property is <ahref="tqstring.html#TQString-null">TQString::null</a>.
<p><p>See also <ahref="#textFormat-prop">textFormat</a>.
<p>Set this property's value with <ahref="#setText">setText</a>() and get this property's value with <ahref="#text">text</a>().
<p>This property holds the format of the text displayed by the message box.
<p>The current text format used by the message box. See the <ahref="ntqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible options.
<p> The default format is <ahref="ntqt.html#TextFormat-enum">AutoText</a>.
<p>The current text format used by the message box. See the <ahref="tqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible options.
<p> The default format is <ahref="tqt.html#TextFormat-enum">AutoText</a>.
<p><p>See also <ahref="#text-prop">text</a>.
<p>Set this property's value with <ahref="#setTextFormat">setTextFormat</a>() and get this property's value with <ahref="#textFormat">textFormat</a>().
<p> The <em>pos</em> parameter specifies the position relative to the
receiving widget. <em>button</em> specifies the <ahref="ntqt.html#ButtonState-enum">button</a> that caused the event, which should be <ahref="ntqt.html#ButtonState-enum">TQt::NoButton</a> (0), if <em>type</em> is <ahref="tqevent.html#Type-enum">MouseMove</a>. <em>state</em> is the
<ahref="ntqt.html#ButtonState-enum">ButtonState</a> at the time of the
receiving widget. <em>button</em> specifies the <ahref="tqt.html#ButtonState-enum">button</a> that caused the event, which should be <ahref="tqt.html#ButtonState-enum">TQt::NoButton</a> (0), if <em>type</em> is <ahref="tqevent.html#Type-enum">MouseMove</a>. <em>state</em> is the
<ahref="tqt.html#ButtonState-enum">ButtonState</a> at the time of the
event.
<p> The <ahref="#globalPos">globalPos</a>() is initialized to <ahref="tqcursor.html#pos">TQCursor::pos</a>(), which may not be
appropriate. Use the other constructor to specify the global
@ -106,8 +106,8 @@ position explicitly.
<p> The <em>type</em> parameter must be <ahref="tqevent.html#Type-enum">TQEvent::MouseButtonPress</a>, <ahref="tqevent.html#Type-enum">TQEvent::MouseButtonRelease</a>, <ahref="tqevent.html#Type-enum">TQEvent::MouseButtonDblClick</a> or <ahref="tqevent.html#Type-enum">TQEvent::MouseMove</a>.
<p> The <em>pos</em> parameter specifies the position relative to the
receiving widget. <em>globalPos</em> is the position in absolute
coordinates. <em>button</em> specifies the <ahref="ntqt.html#ButtonState-enum">button</a> that caused the event, which should be <ahref="ntqt.html#ButtonState-enum">TQt::NoButton</a> (0), if <em>type</em> is <ahref="tqevent.html#Type-enum">MouseMove</a>. <em>state</em> is the
<ahref="ntqt.html#ButtonState-enum">ButtonState</a> at the time of the
coordinates. <em>button</em> specifies the <ahref="tqt.html#ButtonState-enum">button</a> that caused the event, which should be <ahref="tqt.html#ButtonState-enum">TQt::NoButton</a> (0), if <em>type</em> is <ahref="tqevent.html#Type-enum">MouseMove</a>. <em>state</em> is the
<ahref="tqt.html#ButtonState-enum">ButtonState</a> at the time of the
<p> Possible return values are <ahref="ntqt.html#ButtonState-enum">LeftButton</a>, <ahref="ntqt.html#ButtonState-enum">RightButton</a>, <ahref="ntqt.html#ButtonState-enum">MidButton</a> and <ahref="ntqt.html#ButtonState-enum">NoButton</a>.
<p> Note that the returned value is always <ahref="ntqt.html#ButtonState-enum">NoButton</a> for mouse move
<p> Possible return values are <ahref="tqt.html#ButtonState-enum">LeftButton</a>, <ahref="tqt.html#ButtonState-enum">RightButton</a>, <ahref="tqt.html#ButtonState-enum">MidButton</a> and <ahref="tqt.html#ButtonState-enum">NoButton</a>.
<p> Note that the returned value is always <ahref="tqt.html#ButtonState-enum">NoButton</a> for mouse move
events.
<p><p>See also <ahref="#state">state</a>() and <ahref="ntqt.html#ButtonState-enum">TQt::ButtonState</a>.
<p><p>See also <ahref="#state">state</a>() and <ahref="tqt.html#ButtonState-enum">TQt::ButtonState</a>.
<p>Examples: <ahref="dclock-example.html#x1101">dclock/dclock.cpp</a>, <ahref="life-example.html#x1890">life/life.cpp</a>, and <ahref="tutorial1-14.html#x2417">t14/cannon.cpp</a>.
<p> Returns the button state (a combination of mouse buttons and
@ -193,16 +193,16 @@ released, the <a href="tqevent.html#Type-enum">TQEvent::MouseButtonRelease</a> e
<ahref="#button">button</a>() that was pressed.
<p> This value is mainly interesting for <ahref="tqevent.html#Type-enum">TQEvent::MouseMove</a>; for the
other cases, button() is more useful.
<p> The returned value is <ahref="ntqt.html#ButtonState-enum">LeftButton</a>, <ahref="ntqt.html#ButtonState-enum">RightButton</a>, <ahref="ntqt.html#ButtonState-enum">MidButton</a>,
<ahref="ntqt.html#ButtonState-enum">ShiftButton</a>, <ahref="ntqt.html#ButtonState-enum">ControlButton</a> and <ahref="ntqt.html#ButtonState-enum">AltButton</a> OR'ed together.
<p><p>See also <ahref="#button">button</a>(), <ahref="#stateAfter">stateAfter</a>(), and <ahref="ntqt.html#ButtonState-enum">TQt::ButtonState</a>.
<p> The returned value is <ahref="tqt.html#ButtonState-enum">LeftButton</a>, <ahref="tqt.html#ButtonState-enum">RightButton</a>, <ahref="tqt.html#ButtonState-enum">MidButton</a>,
<ahref="tqt.html#ButtonState-enum">ShiftButton</a>, <ahref="tqt.html#ButtonState-enum">ControlButton</a> and <ahref="tqt.html#ButtonState-enum">AltButton</a> OR'ed together.
<p><p>See also <ahref="#button">button</a>(), <ahref="#stateAfter">stateAfter</a>(), and <ahref="tqt.html#ButtonState-enum">TQt::ButtonState</a>.
<p>Examples: <ahref="popup-example.html#x1612">popup/popup.cpp</a> and <ahref="showimg-example.html#x1334">showimg/showimg.cpp</a>.
@ -307,9 +307,9 @@ string), or a <a href="tqstring.html#operator!">null string</a> if <em>line</em>
<p>
<hr><h2>Property Documentation</h2>
<h3class=fn>Alignment <aname="alignment-prop"></a>alignment</h3><p>This property holds the editor's paragraph alignment.
<p>Sets the alignment to flag, which must be <ahref="ntqt.html#AlignmentFlags-enum">AlignLeft</a>, <ahref="ntqt.html#AlignmentFlags-enum">AlignHCenter</a> or <ahref="ntqt.html#AlignmentFlags-enum">AlignRight</a>.
<p>Sets the alignment to flag, which must be <ahref="tqt.html#AlignmentFlags-enum">AlignLeft</a>, <ahref="tqt.html#AlignmentFlags-enum">AlignHCenter</a> or <ahref="tqt.html#AlignmentFlags-enum">AlignRight</a>.
<p> If flag is an illegal flag nothing happens.
<p><p>See also <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p><p>See also <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
<p>Set this property's value with <ahref="#setAlignment">setAlignment</a>() and get this property's value with <ahref="#alignment">alignment</a>().
<h3class=fn>bool <aname="atBeginning-prop"></a>atBeginning</h3><p>This property holds whether the cursor is placed at the beginning of the text.
Returns the value of the object's <em>name</em> property.
<p> If no such property exists, the returned variant is invalid.
<p> Information about all available properties are provided through
the <ahref="#metaObject">metaObject</a>().
<p><p>See also <ahref="#setProperty">setProperty</a>(), <ahref="ntqvariant.html#isValid">TQVariant::isValid</a>(), <ahref="#metaObject">metaObject</a>(), <ahref="tqmetaobject.html#propertyNames">TQMetaObject::propertyNames</a>(), and <ahref="tqmetaobject.html#property">TQMetaObject::property</a>().
<p><p>See also <ahref="#setProperty">setProperty</a>(), <ahref="tqvariant.html#isValid">TQVariant::isValid</a>(), <ahref="#metaObject">metaObject</a>(), <ahref="tqmetaobject.html#propertyNames">TQMetaObject::propertyNames</a>(), and <ahref="tqmetaobject.html#property">TQMetaObject::property</a>().
<p> Copies a block of pixels from <em>src</em> to <em>dst</em>, perhaps merging
each pixel according to the <ahref="ntqt.html#RasterOp-enum">raster operation</a>
each pixel according to the <ahref="tqt.html#RasterOp-enum">raster operation</a>
<em>rop</em>. <em>sx</em>, <em>sy</em>
is the top-left pixel in <em>src</em> (0, 0) by default, <em>dx</em>, <em>dy</em> is
the top-left position in <em>dst</em> and <em>sw</em>, <em>sh</em> is the size of
the copied block (all of <em>src</em> by default).
<p> The most common values for <em>rop</em> are CopyROP and XorROP; the <ahref="ntqt.html#RasterOp-enum">TQt::RasterOp</a> documentation defines all the possible values.
<p> The most common values for <em>rop</em> are CopyROP and XorROP; the <ahref="tqt.html#RasterOp-enum">TQt::RasterOp</a> documentation defines all the possible values.
<p> If <em>ignoreMask</em> is FALSE (the default) and <em>src</em> is a
masked <ahref="tqpixmap.html">TQPixmap</a>, the entire blit is masked by <em>src</em>->mask().
<p> If <em>src</em>, <em>dst</em>, <em>sw</em> or <em>sh</em> is 0, <ahref="#bitBlt">bitBlt</a>() does nothing. If
<trbgcolor="#f0f0f0"><tdvalign="top"><ahref="ntqt.html#AlignmentFlags-enum">AlignAuto</a><tdvalign="top">aligns according to the language, usually left.
<trbgcolor="#d0d0d0"><tdvalign="top"><ahref="ntqt.html#AlignmentFlags-enum">AlignLeft</a><tdvalign="top">aligns to the left border.
<trbgcolor="#f0f0f0"><tdvalign="top"><ahref="ntqt.html#AlignmentFlags-enum">AlignRight</a><tdvalign="top">aligns to the right border.
<trbgcolor="#f0f0f0"><tdvalign="top"><ahref="ntqt.html#TextFlags-enum">ShowPrefix</a><tdvalign="top">interprets "&x" as "<u>x</u>".
<trbgcolor="#d0d0d0"><tdvalign="top"><ahref="ntqt.html#TextFlags-enum">WordBreak</a><tdvalign="top">breaks the text to fit the rectangle.
<trbgcolor="#f0f0f0"><tdvalign="top"><ahref="tqt.html#AlignmentFlags-enum">AlignAuto</a><tdvalign="top">aligns according to the language, usually left.
<trbgcolor="#d0d0d0"><tdvalign="top"><ahref="tqt.html#AlignmentFlags-enum">AlignLeft</a><tdvalign="top">aligns to the left border.
<trbgcolor="#f0f0f0"><tdvalign="top"><ahref="tqt.html#AlignmentFlags-enum">AlignRight</a><tdvalign="top">aligns to the right border.
@ -502,7 +502,7 @@ printed with the corresponding <a href="#drawText">drawText</a>() function using
rectangle, is constrained to the rectangle <em>r</em>, or to the
rectangle required to draw the text, whichever is the larger.
<p> The <em>internal</em> parameter should not be used.
<p><p>See also <ahref="#drawText">drawText</a>(), <ahref="#fontMetrics">fontMetrics</a>(), <ahref="tqfontmetrics.html#boundingRect">TQFontMetrics::boundingRect</a>(), and <ahref="ntqt.html#TextFlags-enum">TQt::TextFlags</a>.
<p><p>See also <ahref="#drawText">drawText</a>(), <ahref="#fontMetrics">fontMetrics</a>(), <ahref="tqfontmetrics.html#boundingRect">TQFontMetrics::boundingRect</a>(), and <ahref="tqt.html#TextFlags-enum">TQt::TextFlags</a>.
@ -854,7 +854,7 @@ characters. The text's direction is specified by <em>dir</em>.
with width <em>w</em> and height <em>h</em>. If <em>len</em> is -1 (the default) all
the text is drawn, otherwise the first <em>len</em> characters are
drawn. The text's flags that are given in the <em>flags</em> parameter
are <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <ahref="ntqt.html#TextFlags-enum">TQt::TextFlags</a> OR'd together. <em>br</em> (if not null) is set to the actual bounding rectangle of the
are <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <ahref="tqt.html#TextFlags-enum">TQt::TextFlags</a> OR'd together. <em>br</em> (if not null) is set to the actual bounding rectangle of the
output. The <em>internal</em> parameter is for internal use only.
@ -1143,12 +1143,12 @@ Sets the background color of the painter to <em>c</em>.
<p> The background color is the color that is filled in when drawing
opaque text, stippled lines and bitmaps. The background color has
no effect in transparent background mode (which is the default).
<p><p>See also <ahref="#backgroundColor">backgroundColor</a>(), <ahref="#setBackgroundMode">setBackgroundMode</a>(), and <ahref="ntqt.html#BackgroundMode-enum">BackgroundMode</a>.
<p><p>See also <ahref="#backgroundColor">backgroundColor</a>(), <ahref="#setBackgroundMode">setBackgroundMode</a>(), and <ahref="tqt.html#BackgroundMode-enum">BackgroundMode</a>.
copy constructors if no explicit version is supplied. In many
cases this is sufficient.
<p> TQPair uses an STL-like syntax to manipulate and address the
objects it contains. See the <ahref="ntqtl.html">TQTL
objects it contains. See the <ahref="tqtl.html">TQTL
documentation</a> for more information.
<p> Functions that need to return two values can use a TQPair.
<p>See also <ahref="ntqtl.html">TQt Template Library Classes</a>, <ahref="shared.html">Implicitly and Explicitly Shared Classes</a>, and <ahref="tools.html">Non-GUI Classes</a>.
<p>See also <ahref="tqtl.html">TQt Template Library Classes</a>, <ahref="shared.html">Implicitly and Explicitly Shared Classes</a>, and <ahref="tools.html">Non-GUI Classes</a>.
<p><ahref="tqpen-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@ -74,7 +74,7 @@ of shapes.
<p> A pen has a style, width, color, cap style and join style.
<p> The pen style defines the line type. The default pen style is <ahref="ntqt.html#PenStyle-enum">TQt::SolidLine</a>. Setting the style to <ahref="ntqt.html#PenStyle-enum">NoPen</a> tells the painter to
<p> The pen style defines the line type. The default pen style is <ahref="tqt.html#PenStyle-enum">TQt::SolidLine</a>. Setting the style to <ahref="tqt.html#PenStyle-enum">NoPen</a> tells the painter to
not draw lines or outlines.
<p> 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
<p> See the <ahref="ntqt.html#PenStyle-enum">TQt::PenStyle</a> documentation for a list of all the
<p> See the <ahref="tqt.html#PenStyle-enum">TQt::PenStyle</a> documentation for a list of all the
styles.
<p><b>Warning:</b> On Mac OS X the style setting (other than <ahref="ntqt.html#PenStyle-enum">NoPen</a> and <ahref="ntqt.html#PenStyle-enum">SolidLine</a>) have no effect as they are not implemented by the
<p><b>Warning:</b> On Mac OS X the style setting (other than <ahref="tqt.html#PenStyle-enum">NoPen</a> and <ahref="tqt.html#PenStyle-enum">SolidLine</a>) have no effect as they are not implemented by the
underlying system.
<p><b>Warning:</b> On Windows 95/98, the style setting (other than <ahref="ntqt.html#PenStyle-enum">NoPen</a>
and <ahref="ntqt.html#PenStyle-enum">SolidLine</a>) has no effect for lines with width greater than
<p><b>Warning:</b> On Windows 95/98, the style setting (other than <ahref="tqt.html#PenStyle-enum">NoPen</a>
and <ahref="tqt.html#PenStyle-enum">SolidLine</a>) has no effect for lines with width greater than
1.
<p><p>See also <ahref="#style">style</a>().
@ -246,7 +246,7 @@ effect on 0-width lines.
<p><p>See also <ahref="#width">width</a>().
<p>Examples: <ahref="progress-example.html#x80">progress/progress.cpp</a>, and <ahref="scribble-example.html#x904">scribble/scribble.h</a>.
<p>Inherits <ahref="tqpaintdevice.html">TQPaintDevice</a> and <ahref="ntqt.html">TQt</a>.
<p>Inherits <ahref="tqpaintdevice.html">TQPaintDevice</a> and <ahref="tqt.html">TQt</a>.
<p>Inherited by <ahref="tqbitmap.html">TQBitmap</a> and <ahref="tqcanvaspixmap.html">TQCanvasPixmap</a>.
<p><ahref="tqpixmap-members.html">List of all member functions.</a>
<h2>Public Members</h2>
@ -265,7 +265,7 @@ path (e.g. the filename only) the relevant file must be found
relative to the runtime working directory.
<p> If the image needs to be modified to fit in a lower-resolution
result (e.g. converting from 32-bit to 8-bit), use the <em>conversion_flags</em> to specify how you'd prefer this to happen.
<p><p>See also <ahref="ntqt.html#ImageConversionFlags-enum">TQt::ImageConversionFlags</a>, <ahref="#isNull">isNull</a>(), <ahref="#load">load</a>(), <ahref="#loadFromData">loadFromData</a>(), <ahref="#save">save</a>(), and <ahref="#imageFormat">imageFormat</a>().
<p><p>See also <ahref="tqt.html#ImageConversionFlags-enum">TQt::ImageConversionFlags</a>, <ahref="#isNull">isNull</a>(), <ahref="#load">load</a>(), <ahref="#loadFromData">loadFromData</a>(), <ahref="#save">save</a>(), and <ahref="#imageFormat">imageFormat</a>().
@ -712,11 +712,11 @@ Removes the menu item at position <em>index</em>.
</h3>
Sets the accelerator key for the menu item <em>id</em> to <em>key</em>.
<p> An accelerator key consists of a key code and a combination of the
modifiers <ahref="ntqt.html#Modifier-enum">SHIFT</a>, <ahref="ntqt.html#Modifier-enum">CTRL</a>, <ahref="ntqt.html#Modifier-enum">ALT</a> or <ahref="ntqt.html#Modifier-enum">UNICODE_ACCEL</a> (OR'ed or
modifiers <ahref="tqt.html#Modifier-enum">SHIFT</a>, <ahref="tqt.html#Modifier-enum">CTRL</a>, <ahref="tqt.html#Modifier-enum">ALT</a> or <ahref="tqt.html#Modifier-enum">UNICODE_ACCEL</a> (OR'ed or
added). The header file <ahref="tqnamespace-h.html">tqnamespace.h</a> contains a list of key
codes.
<p> Defining an accelerator key produces a text that is added to the
menu item; for instance, <ahref="ntqt.html#Modifier-enum">CTRL</a> + <ahref="ntqt.html#Key-enum">Key_O</a> produces "Ctrl+O". The
menu item; for instance, <ahref="tqt.html#Modifier-enum">CTRL</a> + <ahref="tqt.html#Key-enum">Key_O</a> produces "Ctrl+O". The
text is formatted differently for different platforms.
<p> Note that keyboard accelerators in TQt are not application-global,
instead they are bound to a certain top-level window. For example,
@ -120,7 +120,7 @@ The TQRect class defines a rectangle in the plane.
<p> A rectangle is internally represented as an upper-left corner and
a bottom-right corner, but it is normally expressed as an
upper-left corner and a size.
<p> The coordinate type is TQCOORD (defined in <ahref="qwindowdefs-h.html">ntqwindowdefs.h</a> as <tt>int</tt>). The minimum value of TQCOORD is TQCOORD_MIN (-2147483648) and
<p> The coordinate type is TQCOORD (defined in <ahref="tqwindowdefs-h.html">tqwindowdefs.h</a> as <tt>int</tt>). The minimum value of TQCOORD is TQCOORD_MIN (-2147483648) and
the maximum value is TQCOORD_MAX (2147483647).
<p> Note that the size (width and height) of a rectangle might be
different from what you are used to. If the top-left corner and
<p> The <ahref="#minValue-prop">minValue</a> defaults to 0, the <ahref="#maxValue-prop">maxValue</a> to 99, with a <ahref="#lineStep-prop">lineStep</a> size of 1 and a <ahref="#pageStep-prop">pageStep</a> size of 10, and an initial
<p> The <em>orientation</em> must be <ahref="ntqt.html#Orientation-enum">TQt::Vertical</a> or <ahref="ntqt.html#Orientation-enum">TQt::Horizontal</a>.
<p> The <em>orientation</em> must be <ahref="tqt.html#Orientation-enum">TQt::Vertical</a> or <ahref="tqt.html#Orientation-enum">TQt::Horizontal</a>.
<p> The <em>parent</em> and <em>name</em> arguments are sent on to the <ahref="tqwidget.html">TQWidget</a>
constructor.
<p> The <ahref="#minValue-prop">minValue</a> defaults to 0, the <ahref="#maxValue-prop">maxValue</a> to 99, with a <ahref="#lineStep-prop">lineStep</a> size of 1 and a <ahref="#pageStep-prop">pageStep</a> size of 10, and an initial
Constructs a scroll bar whose value can never be smaller than <em>minValue</em> or greater than <em>maxValue</em>, whose line step size is <em>lineStep</em> and page step size is <em>pageStep</em> and whose value is
initially <em>value</em> (which is guaranteed to be in range using
<ahref="tqrangecontrol.html#bound">bound</a>()).
<p> If <em>orientation</em> is <ahref="ntqt.html#Orientation-enum">Vertical</a> the scroll bar is vertical and if
it is <ahref="ntqt.html#Orientation-enum">Horizontal</a> the scroll bar is horizontal.
<p> If <em>orientation</em> is <ahref="tqt.html#Orientation-enum">Vertical</a> the scroll bar is vertical and if
it is <ahref="tqt.html#Orientation-enum">Horizontal</a> the scroll bar is horizontal.
<p> The <em>parent</em> and <em>name</em> arguments are sent on to the <ahref="tqwidget.html">TQWidget</a>
constructor.
@ -225,7 +225,7 @@ or right.
<p> This signal is emitted when the scroll bar scrolls one page down
<p>This property holds the orientation of the scroll bar.
<p>The orientation must be <ahref="ntqt.html#Orientation-enum">TQt::Vertical</a> (the default) or <ahref="ntqt.html#Orientation-enum">TQt::Horizontal</a>.
<p>The orientation must be <ahref="tqt.html#Orientation-enum">TQt::Vertical</a> (the default) or <ahref="tqt.html#Orientation-enum">TQt::Horizontal</a>.
<p>Set this property's value with <ahref="#setOrientation">setOrientation</a>() and get this property's value with <ahref="#orientation">orientation</a>().
@ -276,19 +276,19 @@ the frame; everything else is covered up by the viewport, clipper
or scroll bars.
<p> When you construct a TQScrollView, some of the widget flags apply
to the <ahref="#viewport">viewport</a>() instead of being sent to the <ahref="tqwidget.html">TQWidget</a> constructor
for the TQScrollView. This applies to <ahref="ntqt.html#WidgetFlags-enum">WNoAutoErase</a>, <ahref="ntqt.html#WidgetFlags-enum">WStaticContents</a>, and <ahref="ntqt.html#WidgetFlags-enum">WPaintClever</a>. See <ahref="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a> for
for the TQScrollView. This applies to <ahref="tqt.html#WidgetFlags-enum">WNoAutoErase</a>, <ahref="tqt.html#WidgetFlags-enum">WStaticContents</a>, and <ahref="tqt.html#WidgetFlags-enum">WPaintClever</a>. See <ahref="tqt.html#WidgetFlags-enum">TQt::WidgetFlags</a> for
documentation about these flags. Here are some examples:
<p><ul>
<p><li> An image-manipulation widget would use <tt>WNoAutoErase|WStaticContents</tt> 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.
<p><li> A scrolling game widget in which the background scrolls as the
characters move might use <ahref="ntqt.html#WidgetFlags-enum">WNoAutoErase</a> (in addition to <ahref="ntqt.html#WidgetFlags-enum">WStaticContents</a>) so that the window system background does not
characters move might use <ahref="tqt.html#WidgetFlags-enum">WNoAutoErase</a> (in addition to <ahref="tqt.html#WidgetFlags-enum">WStaticContents</a>) so that the window system background does not
flash in and out during scrolling.
<p><li> A word processing widget might use <ahref="ntqt.html#WidgetFlags-enum">WNoAutoErase</a> and repaint
<p><li> A word processing widget might use <ahref="tqt.html#WidgetFlags-enum">WNoAutoErase</a> and repaint
itself line by line to get a less-flickery resizing. If the widget
is in a mode in which no text justification can take place, it
might use <ahref="ntqt.html#WidgetFlags-enum">WStaticContents</a> too, so that it would only get a
might use <ahref="tqt.html#WidgetFlags-enum">WStaticContents</a> too, so that it would only get a
repaint for the newly visible parts.
<p></ul>
<p> Child widgets may be moved using <ahref="#addChild">addChild</a>() or <ahref="#moveChild">moveChild</a>(). Use
@ -349,7 +349,7 @@ independent.)
</h3>
Constructs a TQScrollView called <em>name</em> with parent <em>parent</em> and
widget flags <em>f</em>.
<p> The widget flags <ahref="ntqt.html#WidgetFlags-enum">WStaticContents</a>, <ahref="ntqt.html#WidgetFlags-enum">WNoAutoErase</a> and <ahref="ntqt.html#WidgetFlags-enum">WPaintClever</a> are propagated to the <ahref="#viewport">viewport</a>() widget. The other
<p> The widget flags <ahref="tqt.html#WidgetFlags-enum">WStaticContents</a>, <ahref="tqt.html#WidgetFlags-enum">WNoAutoErase</a> and <ahref="tqt.html#WidgetFlags-enum">WPaintClever</a> are propagated to the <ahref="#viewport">viewport</a>() widget. The other
widget flags are propagated to the parent constructor as usual.
<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><h1align=center>Complete Member List for TQShowEvent</h1>
<p>This is the complete list of member functions for
<ahref="qshowevent.html">TQShowEvent</a>, including inherited members.
<ahref="tqshowevent.html">TQShowEvent</a>, including inherited members.
Constructs a slider whose value can never be smaller than <em>minValue</em> or greater than <em>maxValue</em>, whose page step size is <em>pageStep</em> and whose value is initially <em>value</em> (which is
guaranteed to be in range using <ahref="tqrangecontrol.html#bound">bound</a>()).
<p> If <em>orientation</em> is <ahref="ntqt.html#Orientation-enum">TQt::Vertical</a> the slider is vertical and if it
is <ahref="ntqt.html#Orientation-enum">TQt::Horizontal</a> the slider is horizontal.
<p> If <em>orientation</em> is <ahref="tqt.html#Orientation-enum">TQt::Vertical</a> the slider is vertical and if it
is <ahref="tqt.html#Orientation-enum">TQt::Horizontal</a> the slider is horizontal.
<p> The <em>parent</em> and <em>name</em> arguments are sent on to the <ahref="tqwidget.html">TQWidget</a>
constructor.
@ -177,7 +177,7 @@ See the <a href="tqslider.html#maxValue-prop">"maxValue"</a> property for detail
<p>The orientation must be <ahref="ntqt.html#Orientation-enum">TQt::Vertical</a> (the default) or <ahref="ntqt.html#Orientation-enum">TQt::Horizontal</a>.
<p>The orientation must be <ahref="tqt.html#Orientation-enum">TQt::Vertical</a> (the default) or <ahref="tqt.html#Orientation-enum">TQt::Horizontal</a>.
<p>Set this property's value with <ahref="#setOrientation">setOrientation</a>() and get this property's value with <ahref="#orientation">orientation</a>().
<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><h1align=center>Complete Member List for TQSound</h1>
<p>This is the complete list of member functions for
<ahref="ntqsound.html">TQSound</a>, including inherited members.
<ahref="tqsound.html">TQSound</a>, including inherited members.
<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><h1align=center>Complete Member List for TQSplashScreen</h1>
<p>This is the complete list of member functions for
<ahref="ntqsplashscreen.html">TQSplashScreen</a>, including inherited members.
<ahref="tqsplashscreen.html">TQSplashScreen</a>, including inherited members.
<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><h1align=center>Complete Member List for TQSplitter</h1>
<p>This is the complete list of member functions for
<ahref="ntqsplitter.html">TQSplitter</a>, including inherited members.
<ahref="tqsplitter.html">TQSplitter</a>, including inherited members.
Sets resize mode of widget <em>w</em> to <em>mode</em>. (The default is <ahref="#ResizeMode-enum">Auto</a>.)
@ -301,22 +301,22 @@ and disable the collapsing of individual children; see
<p>Opaque resizing is off by default.
<p>Set this property's value with <ahref="#setOpaqueResize">setOpaqueResize</a>() and get this property's value with <ahref="#opaqueResize">opaqueResize</a>().
<p>This property holds the orientation of the splitter.
<p>By default the orientation is horizontal (the widgets are side by
side). The possible orientations are <ahref="ntqt.html#Orientation-enum">Horizontal</a> and
<ahref="ntqt.html#Orientation-enum">Vertical</a>.
side). The possible orientations are <ahref="tqt.html#Orientation-enum">Horizontal</a> and
<ahref="tqt.html#Orientation-enum">Vertical</a>.
<p>Set this property's value with <ahref="#setOrientation">setOrientation</a>() and get this property's value with <ahref="#orientation">orientation</a>().
<p> Writes the sizes and the hidden state of the widgets in the
splitter <em>splitter</em> to the text stream <em>ts</em>.
<p><p>See also <ahref="#operator-gt-gt">operator>></a>(), <ahref="#sizes">sizes</a>(), and <ahref="tqwidget.html#hidden-prop">TQWidget::hidden</a>.
int i = query.<ahref="#boundValue">boundValue</a>( 1 ).toInt(); // i is 65.
</pre>
<p><p>See also <ahref="tqsqldatabase.html">TQSqlDatabase</a>, <ahref="tqsqlcursor.html">TQSqlCursor</a>, <ahref="ntqvariant.html">TQVariant</a>, and <ahref="database.html">Database Classes</a>.
<p><p>See also <ahref="tqsqldatabase.html">TQSqlDatabase</a>, <ahref="tqsqlcursor.html">TQSqlCursor</a>, <ahref="tqvariant.html">TQVariant</a>, and <ahref="database.html">Database Classes</a>.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Returns the value for the placeholder at position <em>pos</em>.
@ -568,7 +568,7 @@ statement, use <a href="#numRowsAffected">numRowsAffected</a>().
<p><p>See also <ahref="#isActive">isActive</a>(), <ahref="#numRowsAffected">numRowsAffected</a>(), and <ahref="tqsqldriver.html#hasFeature">TQSqlDriver::hasFeature</a>().
Returns the value of the <em>i</em>-th field in the query (zero based).
<p> The fields are numbered from left to right using the text of the
@ -576,7 +576,7 @@ Returns the value of the <em>i</em>-th field in the query (zero based).
field 0 is <tt>forename</tt> and field 1 is <tt>surname</tt>. Using <tt>SELECT *</tt>
is not recommended because the order of the fields in the query is
undefined.
<p> An invalid <ahref="ntqvariant.html">TQVariant</a> is returned if field <em>i</em> does not exist, if
<p> An invalid <ahref="tqvariant.html">TQVariant</a> is returned if field <em>i</em> does not exist, if
the query is inactive, or if the query is positioned on an invalid
record.
<p><p>See also <ahref="#prev">prev</a>(), <ahref="#next">next</a>(), <ahref="#first">first</a>(), <ahref="#last">last</a>(), <ahref="#seek">seek</a>(), <ahref="#isActive">isActive</a>(), and <ahref="#isValid">isValid</a>().
@ -333,7 +333,7 @@ toolbars, for example <a href="tqdockwindow.html">TQDockWindow</a>s and <a href=
<li><tt>TQStyle::PE_DockWindowSeparator</tt> - item separator for dock window and
toolbar contents.
<li><tt>TQStyle::PE_DockWindowResizeHandle</tt> - resize handle for dock windows.
<li><tt>TQStyle::PE_Splitter</tt> - splitter handle; see also <ahref="ntqsplitter.html">TQSplitter</a>.
<li><tt>TQStyle::PE_Splitter</tt> - splitter handle; see also <ahref="tqsplitter.html">TQSplitter</a>.
</ul><p><ul>
<li><tt>TQStyle::PE_Panel</tt> - generic panel frame; see also <ahref="tqframe.html">TQFrame</a>.
<li><tt>TQStyle::PE_PanelPopup</tt> - panel frame for popup windows/menus; see also
@ -421,7 +421,7 @@ and/or feel hint.
<li><tt>TQStyle::SH_EtchDisabledText</tt> - disabled text is "etched" like Windows.
<li><tt>TQStyle::SH_GUIStyle</tt> - the GUI style to use.
<li><tt>TQStyle::SH_ScrollBar_BackgroundMode</tt> - the background mode for a
<ahref="tqscrollbar.html">TQScrollBar</a>. Possible values are any of those in the <ahref="ntqt.html#BackgroundMode-enum">BackgroundMode</a> enum.
<ahref="tqscrollbar.html">TQScrollBar</a>. Possible values are any of those in the <ahref="tqt.html#BackgroundMode-enum">BackgroundMode</a> enum.
<li><tt>TQStyle::SH_ScrollBar_MiddleClickAbsolutePosition</tt> - a boolean value.
If TRUE, middle clicking on a scrollbar causes the slider to
jump to that position. If FALSE, the middle clicking is
@ -437,10 +437,10 @@ SubControl, the scrollbar continues to scroll. If FALSE, the
scollbar stops scrolling when the pointer leaves the
SubControl.
<li><tt>TQStyle::SH_TabBar_Alignment</tt> - the alignment for tabs in a
<ahref="tqtabwidget.html">TQTabWidget</a>. Possible values are <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignLeft</a>, <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignCenter</a> and <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignRight</a>.
<ahref="tqtabwidget.html">TQTabWidget</a>. Possible values are <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignLeft</a>, <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignCenter</a> and <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignRight</a>.
<li><tt>TQStyle::SH_Header_ArrowAlignment</tt> - the placement of the sorting
indicator may appear in list or table headers. Possible values
are <ahref="ntqt.html#Dock-enum">TQt::Left</a> or <ahref="ntqt.html#Dock-enum">TQt::Right</a>.
are <ahref="tqt.html#Dock-enum">TQt::Left</a> or <ahref="tqt.html#Dock-enum">TQt::Right</a>.
<li><tt>TQStyle::SH_Slider_SnapToValue</tt> - sliders snap to values while moving,
like Windows
<li><tt>TQStyle::SH_Slider_SloppyKeyEvents</tt> - key presses handled in a sloppy
@ -701,7 +701,7 @@ the appropriate <em>widget</em> and <em>opt</em> usage:
<trbgcolor="#d0d0d0"><tdvalign="top"><ahref="#StyleFlags-enum">Style_HasFocus</a><tdvalign="top">Set if the slider has input focus.
@ -882,7 +882,7 @@ enabled; when reimplementing this bool should influence how the
item is drawn. If <em>len</em> is -1 (the default) all the <em>text</em> is
drawn; otherwise only the first <em>len</em> characters of <em>text</em> are
drawn. The text is aligned and wrapped according to the alignment
<em>flags</em> (see <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>).
<em>flags</em> (see <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>).
<p> By default, if both the text and the pixmap are not null, the
pixmap is drawn and the text is ignored.
@ -964,12 +964,12 @@ Returns the appropriate area (see below) within rectangle <em>r</em> in
which to draw the <em>text</em> or <em>pixmap</em> using painter <em>p</em>. If <em>len</em> is -1 (the default) all the <em>text</em> is drawn; otherwise only
the first <em>len</em> characters of <em>text</em> are drawn. The text is
aligned in accordance with the alignment <em>flags</em> (see
<ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>). The <em>enabled</em> bool indicates whether or
<ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>). The <em>enabled</em> bool indicates whether or
not the item is enabled.
<p> If <em>r</em> is larger than the area needed to render the <em>text</em> the
rectangle that is returned will be offset within <em>r</em> in
accordance with the alignment <em>flags</em>. For example if <em>flags</em> is
<ahref="ntqt.html#AlignmentFlags-enum">AlignCenter</a> the returned rectangle will be centered within <em>r</em>. If <em>r</em> is smaller than the area needed the rectangle that is
<ahref="tqt.html#AlignmentFlags-enum">AlignCenter</a> the returned rectangle will be centered within <em>r</em>. If <em>r</em> is smaller than the area needed the rectangle that is
returned will be <em>larger</em> than <em>r</em> (the smallest rectangle large
enough to render the <em>text</em> or <em>pixmap</em>).
<p> By default, if both the text and the pixmap are not null, the
@ -1091,7 +1091,7 @@ appropriate <em>widget</em> and <em>opt</em> usage:
Returns the alignment of this style. Possible values are <ahref="ntqt.html#AlignmentFlags-enum">AlignAuto</a>, <ahref="ntqt.html#AlignmentFlags-enum">AlignLeft</a>, <ahref="ntqt.html#AlignmentFlags-enum">AlignRight</a>, <ahref="ntqt.html#AlignmentFlags-enum">AlignCenter</a> or <ahref="ntqt.html#AlignmentFlags-enum">AlignJustify</a>.
<p><p>See also <ahref="#setAlignment">setAlignment</a>() and <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
Returns the alignment of this style. Possible values are <ahref="tqt.html#AlignmentFlags-enum">AlignAuto</a>, <ahref="tqt.html#AlignmentFlags-enum">AlignLeft</a>, <ahref="tqt.html#AlignmentFlags-enum">AlignRight</a>, <ahref="tqt.html#AlignmentFlags-enum">AlignCenter</a> or <ahref="tqt.html#AlignmentFlags-enum">AlignJustify</a>.
<p><p>See also <ahref="#setAlignment">setAlignment</a>() and <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
Sets the alignment to <em>f</em>. This only makes sense for styles with
a <ahref="#DisplayMode-enum">display mode</a> of
DisplayBlock. Possible values are <ahref="ntqt.html#AlignmentFlags-enum">AlignAuto</a>, <ahref="ntqt.html#AlignmentFlags-enum">AlignLeft</a>,
<ahref="ntqt.html#AlignmentFlags-enum">AlignRight</a>, <ahref="ntqt.html#AlignmentFlags-enum">AlignCenter</a> or <ahref="ntqt.html#AlignmentFlags-enum">AlignJustify</a>.
<p><p>See also <ahref="#alignment">alignment</a>(), <ahref="#displayMode">displayMode</a>(), and <ahref="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
DisplayBlock. Possible values are <ahref="tqt.html#AlignmentFlags-enum">AlignAuto</a>, <ahref="tqt.html#AlignmentFlags-enum">AlignLeft</a>,
<ahref="tqt.html#AlignmentFlags-enum">AlignRight</a>, <ahref="tqt.html#AlignmentFlags-enum">AlignCenter</a> or <ahref="tqt.html#AlignmentFlags-enum">AlignJustify</a>.
<p><p>See also <ahref="#alignment">alignment</a>(), <ahref="#displayMode">displayMode</a>(), and <ahref="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>.
@ -450,7 +450,7 @@ Constructs an empty table called <em>name</em> with <em>numRows</em> rows and
<p> If you're using <ahref="tqtableitem.html">TQTableItem</a>s to populate the table's cells, you
can create <ahref="tqtableitem.html">TQTableItem</a>, <ahref="tqcombotableitem.html">TQComboTableItem</a> and <ahref="tqchecktableitem.html">TQCheckTableItem</a> items
and insert them into the table using <ahref="#setItem">setItem</a>(). (See the <ahref="tqtable.html#notes-on-large-tables">notes on large tables</a> for an alternative to using TQTableItems.)
<p><p>See also <ahref="tqwidget.html#clearWFlags">TQWidget::clearWFlags</a>() and <ahref="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
<p><p>See also <ahref="tqwidget.html#clearWFlags">TQWidget::clearWFlags</a>() and <ahref="tqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
Returns the maximum number of lines TQTextEdit can hold in <ahref="ntqt.html#TextFormat-enum">LogText</a> mode. By default the number of lines is unlimited, which
Returns the maximum number of lines TQTextEdit can hold in <ahref="tqt.html#TextFormat-enum">LogText</a> mode. By default the number of lines is unlimited, which
Sets the maximum number of lines a TQTextEdit can hold in <ahref="ntqt.html#TextFormat-enum">LogText</a> mode to <em>limit</em>. If <em>limit</em> is -1 (the default), this
Sets the maximum number of lines a TQTextEdit can hold in <ahref="tqt.html#TextFormat-enum">LogText</a> mode to <em>limit</em>. If <em>limit</em> is -1 (the default), this
signifies an unlimited number of lines.
<p><b>Warning:</b> Never use formatting tags that span more than one line
when the maximum log lines is set. When lines are removed from the
@ -1302,7 +1302,7 @@ This is an overloaded member function, provided for convenience. It behaves esse
<p> Changes the text of the text edit to the string <em>text</em> and the
context to <em>context</em>. Any previous text is removed.
<p><em>text</em> may be interpreted either as plain text or as rich text,
depending on the <ahref="#textFormat">textFormat</a>(). The default setting is <ahref="ntqt.html#TextFormat-enum">AutoText</a>,
depending on the <ahref="#textFormat">textFormat</a>(). The default setting is <ahref="tqt.html#TextFormat-enum">AutoText</a>,
i.e. the text edit auto-detects the format from <em>text</em>.
<p> For rich text the rendering style and available tags are defined
by a <ahref="#styleSheet">styleSheet</a>(); see <ahref="tqstylesheet.html">TQStyleSheet</a> for details.
@ -1313,7 +1313,7 @@ edit's TQMimeSourceFactory when quering data.
<p> Note that the undo/redo history is cleared by this function.
<p><p>See also <ahref="#text-prop">text</a> and <ahref="#textFormat-prop">textFormat</a>.
@ -1479,7 +1479,7 @@ to disable all automatic formatting.
<p>Set this property's value with <ahref="#setAutoFormatting">setAutoFormatting</a>() and get this property's value with <ahref="#autoFormatting">autoFormatting</a>().
<p>This property holds the title of the document parsed from the text.
<p>For <ahref="ntqt.html#TextFormat-enum">PlainText</a> the title will be an empty string. For <ahref="ntqt.html#TextFormat-enum">RichText</a> the title will be the text between the <tt><title></tt> tags,
<p>For <ahref="tqt.html#TextFormat-enum">PlainText</a> the title will be an empty string. For <ahref="tqt.html#TextFormat-enum">RichText</a> the title will be the text between the <tt><title></tt> tags,
if present, otherwise an empty string.
<p>Get this property's value with <ahref="#documentTitle">documentTitle</a>().
@ -1525,8 +1525,8 @@ text and select text; modifying the text is not possible.
<p>Set this property's value with <ahref="#setReadOnly">setReadOnly</a>() and get this property's value with <ahref="#isReadOnly">isReadOnly</a>().
@ -146,9 +146,9 @@ Constructs a tool button called <em>name</em>, that is a child of <em>parent</em
<p> The tool button will display <em>iconSet</em>, with its text label and
tool tip set to <em>textLabel</em> and its status bar message set to <em>grouptext</em>. It will be connected to the <em>slot</em> in object <em>receiver</em>.
Constructs a tool button as an arrow button. The <ahref="ntqt.html#ArrowType-enum">ArrowType</a><em>type</em> defines the arrow direction. Possible values are <ahref="ntqt.html#ArrowType-enum">LeftArrow</a>, <ahref="ntqt.html#ArrowType-enum">RightArrow</a>, <ahref="ntqt.html#ArrowType-enum">UpArrow</a> and <ahref="ntqt.html#ArrowType-enum">DownArrow</a>.
Constructs a tool button as an arrow button. The <ahref="tqt.html#ArrowType-enum">ArrowType</a><em>type</em> defines the arrow direction. Possible values are <ahref="tqt.html#ArrowType-enum">LeftArrow</a>, <ahref="tqt.html#ArrowType-enum">RightArrow</a>, <ahref="tqt.html#ArrowType-enum">UpArrow</a> and <ahref="tqt.html#ArrowType-enum">DownArrow</a>.
<p> An arrow button has auto-repeat turned on by default.
<p> The <em>parent</em> and <em>name</em> arguments are sent to the <ahref="tqwidget.html">TQWidget</a>
constructor.
@ -256,7 +256,7 @@ See the <a href="tqtoolbutton.html#usesTextLabel-prop">"usesTextLabel"</a> prope
<p>The default is disabled (i.e. FALSE).
<p>Set this property's value with <ahref="#setAutoRaise">setAutoRaise</a>() and get this property's value with <ahref="#autoRaise">autoRaise</a>().
<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><h1align=center>Complete Member List for TQUuid</h1>
<p>This is the complete list of member functions for
<ahref="ntquuid.html">TQUuid</a>, including inherited members.
<ahref="tquuid.html">TQUuid</a>, including inherited members.
<p> TQValueList is a TQt implementation of an STL-like list container.
It can be used in your application if the standard <tt>list</tt> is not
available for your target platform(s). TQValueList is part of the
<ahref="ntqtl.html">TQt Template Library</a>.
<ahref="tqtl.html">TQt Template Library</a>.
<p> TQValueList<T> defines a template instance to create a list of
values that all have the class T. Note that TQValueList does not
store pointers to the members of the list; it holds a copy of
@ -213,7 +213,7 @@ list it belongs to, however it is <em>not</em> dereferenceable;
<ahref="tqsize.html#operator*-4">operator*</a>() will not return a well-defined value. If the list is
<ahref="#empty">empty</a>(), the iterator returned by begin() will equal the iterator
returned by end().
<p> Another way to find an item in the list is by using the <ahref="ntqtl.html#qFind">tqFind()</a> algorithm. For example:
<p> Another way to find an item in the list is by using the <ahref="tqtl.html#qFind">tqFind()</a> algorithm. For example:
<p><pre>
TQValueList<int> list;
...
@ -269,7 +269,7 @@ specific positions within the list.
are several variants of the <ahref="#remove">remove</a>() function, which removes a
specific item from the list. The remove() function will find and
remove items according to a specific item value.
<p> Lists can also be sorted using the <ahref="ntqtl.html">TQt Template
<p> Lists can also be sorted using the <ahref="tqtl.html">TQt Template
Library</a>. For example with qHeapSort():
<p> Example:
<pre>
@ -281,7 +281,7 @@ remove items according to a specific item value.
qHeapSort( list );
</pre>
<p><p>See also <ahref="tqvaluelistiterator.html">TQValueListIterator</a>, <ahref="ntqtl.html">TQt Template Library Classes</a>, <ahref="shared.html">Implicitly and Explicitly Shared Classes</a>, and <ahref="tools.html">Non-GUI Classes</a>.
<p><p>See also <ahref="tqvaluelistiterator.html">TQValueListIterator</a>, <ahref="tqtl.html">TQt Template Library Classes</a>, <ahref="shared.html">Implicitly and Explicitly Shared Classes</a>, and <ahref="tools.html">Non-GUI Classes</a>.
@ -56,7 +56,7 @@ The TQValueStack class is a value-based template class that provides a stack.
<p> Define a template instance TQValueStack<X> to create a stack of
values that all have the class X. TQValueStack is part of the <ahref="ntqtl.html">TQt Template Library</a>.
values that all have the class X. TQValueStack is part of the <ahref="tqtl.html">TQt Template Library</a>.
<p> Note that TQValueStack does not store pointers to the members of
the stack; it holds a copy of every member. That is why these
kinds of classes are called "value based"; <ahref="tqptrstack.html">TQPtrStack</a>, <ahref="tqptrlist.html">TQPtrList</a>,
@ -97,7 +97,7 @@ qualify as a value, the class must provide
<p> Note that C++ defaults to field-by-field assignment operators and
copy constructors if no explicit version is supplied. In many
cases this is sufficient.
<p>See also <ahref="ntqtl.html">TQt Template Library Classes</a>, <ahref="shared.html">Implicitly and Explicitly Shared Classes</a>, and <ahref="tools.html">Non-GUI Classes</a>.
<p>See also <ahref="tqtl.html">TQt Template Library Classes</a>, <ahref="shared.html">Implicitly and Explicitly Shared Classes</a>, and <ahref="tools.html">Non-GUI Classes</a>.
@ -105,7 +105,7 @@ The TQValueVector class is a value-based template class that provides a dynamic
<p> TQValueVector is a TQt implementation of an STL-like vector
container. It can be used in your application if the standard <tt>vector</tt> is not available for your target platforms. TQValueVector is
part of the <ahref="ntqtl.html">TQt Template Library</a>.
part of the <ahref="tqtl.html">TQt Template Library</a>.
<p> TQValueVector<T> defines a template instance to create a vector
of values that all have the class T. TQValueVector does not store
pointers to the members of the vector; it holds a copy of every
@ -134,7 +134,7 @@ qualify as a value the class must provide:
copy constructors if no explicit version is supplied. In many
cases this is sufficient.
<p> TQValueVector uses an STL-like syntax to manipulate and address the
objects it contains. See <ahref="ntqtl.html">this document</a> for
objects it contains. See <ahref="tqtl.html">this document</a> for
more information.
<p> Example:
<pre>
@ -232,9 +232,9 @@ example:
<p> The iterators provided by vector are random access iterators,
therefore you can use them with many generic algorithms, for
example, algorithms provided by the STL or the <ahref="ntqtl.html">TQTL</a>.
example, algorithms provided by the STL or the <ahref="tqtl.html">TQTL</a>.
<p> Another way to find an element in the vector is by using the
std::find() or <ahref="ntqtl.html#qFind">tqFind()</a> algorithms.
std::find() or <ahref="tqtl.html#qFind">tqFind()</a> algorithms.
For example:
<p><pre>
TQValueVector<int> vec;
@ -305,7 +305,7 @@ elements at specific positions within the vector.
There are several variants of the <ahref="#erase">erase</a>() function which removes a
specific element, or range of elements, from the vector.
<p> Vectors can be also sorted with various STL algorithms , or it can
be sorted using the <ahref="ntqtl.html">TQt Template Library</a>.
be sorted using the <ahref="tqtl.html">TQt Template Library</a>.
For example with qHeapSort():
<p> Example:
<pre>
@ -320,7 +320,7 @@ For example with qHeapSort():
<p> TQValueVector stores its elements in contiguous memory. This means
that you can use a TQValueVector in any situation that requires an
array.
<p>See also <ahref="ntqtl.html">TQt Template Library Classes</a>, <ahref="shared.html">Implicitly and Explicitly Shared Classes</a>, and <ahref="tools.html">Non-GUI Classes</a>.
<p>See also <ahref="tqtl.html">TQt Template Library Classes</a>, <ahref="shared.html">Implicitly and Explicitly Shared Classes</a>, and <ahref="tools.html">Non-GUI Classes</a>.
<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><h1align=center>Complete Member List for TQVariant</h1>
<p>This is the complete list of member functions for
<ahref="tqvariant.html">TQVariant</a>, including inherited members.
Assigns the value of the variant <em>variant</em> to this variant.
<p> This is a <ahref="shclass.html#deep-copy">deep copy</a> of the variant, but note that if the variant
holds an <ahref="shclass.html#explicitly-shared">explicitly shared</a> type such as <ahref="tqimage.html">TQImage</a>, a <ahref="shclass.html#shallow-copy">shallow copy</a> is
@ -72,7 +72,7 @@ mouse and keyboard events for a widget.
<p><p>See also <ahref="tqmouseevent.html">TQMouseEvent</a>, <ahref="tqwidget.html#grabMouse">TQWidget::grabMouse</a>(), and <ahref="events.html">Event Classes</a>.
<p> Returns the keyboard modifier flags of the event.
<p> The returned value is <ahref="ntqt.html#ButtonState-enum">ShiftButton</a>, <ahref="ntqt.html#ButtonState-enum">ControlButton</a>, and <ahref="ntqt.html#ButtonState-enum">AltButton</a> OR'ed together.
<p> The returned value is <ahref="tqt.html#ButtonState-enum">ShiftButton</a>, <ahref="tqt.html#ButtonState-enum">ControlButton</a>, and <ahref="tqt.html#ButtonState-enum">AltButton</a> OR'ed together.
<p><ahref="tqwidget-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@ -564,8 +564,8 @@ wmapper(),
<oltype=1>
<li><tt>TQWidget *parent = 0</tt> is the parent of the new widget.
If it is 0 (the default), the new widget will be a top-level window.
If not, it will be a child of <em>parent</em>, and be constrained by <em>parent</em>'s geometry (unless you specify <ahref="ntqt.html#WidgetFlags-enum">WType_TopLevel</a> as
<ahref="ntqt.html#WidgetFlags">widget flag</a>).
If not, it will be a child of <em>parent</em>, and be constrained by <em>parent</em>'s geometry (unless you specify <ahref="tqt.html#WidgetFlags-enum">WType_TopLevel</a> as
<ahref="tqt.html#WidgetFlags">widget flag</a>).
<li><tt>const char *name = 0</tt> is the widget name of the new
widget. You can access it using <ahref="tqobject.html#name">name</a>(). The widget name is little
used by programmers but is quite useful with GUI builders such as
@ -721,7 +721,7 @@ inside <em>parent</em>. The new widget is deleted when its <em>parent</em> is
deleted.
<p> The <em>name</em> is sent to the <ahref="tqobject.html">TQObject</a> constructor.
<p> The widget flags argument, <em>f</em>, is normally 0, but it can be set
to customize the window frame of a top-level widget (i.e. <em>parent</em> must be 0). To customize the frame, set the <ahref="ntqt.html#WidgetFlags-enum">WStyle_Customize</a> flag OR'ed with any of the <ahref="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
to customize the window frame of a top-level widget (i.e. <em>parent</em> must be 0). To customize the frame, set the <ahref="tqt.html#WidgetFlags-enum">WStyle_Customize</a> flag OR'ed with any of the <ahref="tqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
<p> If you add a child widget to an already visible widget you must
explicitly show the child to make it visible.
<p> Note that the X11 version of TQt may not be able to deliver all
@ -764,7 +764,7 @@ See the <a href="tqwidget.html#backgroundBrush-prop">"backgroundBrush"</a> prope
@ -846,7 +846,7 @@ last visible top level widget is closed.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Closes this widget. Returns TRUE if the widget was closed;
otherwise returns FALSE.
<p> If <em>alsoDelete</em> is TRUE or the widget has the <ahref="ntqt.html#WidgetFlags-enum">WDestructiveClose</a> widget flag, the widget is also deleted. The
<p> If <em>alsoDelete</em> is TRUE or the widget has the <ahref="tqt.html#WidgetFlags-enum">WDestructiveClose</a> widget flag, the widget is also deleted. The
widget can prevent itself from being closed by rejecting the
<ahref="tqcloseevent.html">TQCloseEvent</a> it gets. A close events is delivered to the widget
<p> Sets the <ahref="ntqt.html#WindowState">window state</a> to <em>windowState</em>. The window state is a OR'ed
combination of TQt::WindowState: <ahref="ntqt.html#WindowState-enum">WindowMinimized</a>, <ahref="ntqt.html#WindowState-enum">WindowMaximized</a>, <ahref="ntqt.html#WindowState-enum">WindowFullScreen</a> and <ahref="ntqt.html#WindowState-enum">WindowActive</a>.
<p> Sets the <ahref="tqt.html#WindowState">window state</a> to <em>windowState</em>. The window state is a OR'ed
combination of TQt::WindowState: <ahref="tqt.html#WindowState-enum">WindowMinimized</a>, <ahref="tqt.html#WindowState-enum">WindowMaximized</a>, <ahref="tqt.html#WindowState-enum">WindowFullScreen</a> and <ahref="tqt.html#WindowState-enum">WindowActive</a>.
<p> If the window is not visible (i.e. <ahref="#isVisible">isVisible</a>() returns FALSE), the
window state will take effect when <ahref="#show">show</a>() is called. For visible
windows, the change is immediate. For example, to toggle between
@ -2245,9 +2245,9 @@ preserving its maximized and/or full-screen state), use the following:
w->setWindowState(w->windowState() & ~WindowMinimized | WindowActive);
</pre>
<p> Note: On some window systems <ahref="ntqt.html#WindowState-enum">WindowActive</a> is not immediate, and may be
<p> Note: On some window systems <ahref="tqt.html#WindowState-enum">WindowActive</a> is not immediate, and may be
ignored in certain cases.
<p><p>See also <ahref="ntqt.html#WindowState-enum">TQt::WindowState</a> and <ahref="#windowState">windowState</a>().
<p><p>See also <ahref="tqt.html#WindowState-enum">TQt::WindowState</a> and <ahref="#windowState">windowState</a>().
@ -2372,9 +2372,9 @@ it, so that the widget's parent can interpret it.
</h3>
<p> Returns the bitwise AND of the widget flags and <em>f</em>.
<p> Widget flags are a combination of <ahref="ntqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
<p> Widget flags are a combination of <ahref="tqt.html#WidgetFlags-enum">TQt::WidgetFlags</a>.
<p> If you want to test for the presence of multiple flags (or
composite flags such as <ahref="ntqt.html#WidgetFlags-enum">WStyle_Splash</a>), test the
composite flags such as <ahref="tqt.html#WidgetFlags-enum">WStyle_Splash</a>), test the
return value for equality against the argument. For example:
<p><pre>
int flags = WStyle_Tool | WStyle_NoBorder;
@ -2418,7 +2418,7 @@ flicker than a call to <a href="#repaint">repaint</a>() does.
<p> Calling <ahref="#update">update</a>() several times normally results in just one
<ahref="#paintEvent">paintEvent</a>() call.
<p> TQt normally erases the widget's area before the paintEvent() call.
If the <ahref="ntqt.html#WidgetFlags-enum">WRepaintNoErase</a> widget flag is set, the widget is
If the <ahref="tqt.html#WidgetFlags-enum">WRepaintNoErase</a> widget flag is set, the widget is
responsible for painting all its pixels itself.
<p><p>See also <ahref="#repaint">repaint</a>(), <ahref="#paintEvent">paintEvent</a>(), <ahref="#updatesEnabled-prop">updatesEnabled</a>, <ahref="#erase">erase</a>(), and <ahref="#setWFlags">setWFlags</a>().
@ -2437,7 +2437,7 @@ flicker and a call to <a href="#repaint">repaint</a>() does.
<p> If <em>w</em> is negative, it is replaced with <tt>width() - x</tt>. If <em>h</em>
is negative, it is replaced width <tt>height() - y</tt>.
<p> TQt normally erases the specified area before the paintEvent()
call. If the <ahref="ntqt.html#WidgetFlags-enum">WRepaintNoErase</a> widget flag is set, the widget is
call. If the <ahref="tqt.html#WidgetFlags-enum">WRepaintNoErase</a> widget flag is set, the widget is
responsible for painting all its pixels itself.
<p><p>See also <ahref="#repaint">repaint</a>(), <ahref="#paintEvent">paintEvent</a>(), <ahref="#updatesEnabled-prop">updatesEnabled</a>, and <ahref="#erase">erase</a>().
@ -2520,9 +2520,9 @@ other than the highlight and link colors.
</h3><p>Returns the level of opacity for the window.
See the <ahref="tqwidget.html#windowOpacity-prop">"windowOpacity"</a> property for details.
</h3> Returns the current <ahref="ntqt.html#WindowState">window state</a>. The window state is a OR'ed
combination of TQt::WindowState: <ahref="ntqt.html#WindowState-enum">WindowMinimized</a>, <ahref="ntqt.html#WindowState-enum">WindowMaximized</a>, <ahref="ntqt.html#WindowState-enum">WindowFullScreen</a> and <ahref="ntqt.html#WindowState-enum">WindowActive</a>.
<p><p>See also <ahref="ntqt.html#WindowState-enum">TQt::WindowState</a> and <ahref="#setWindowState">setWindowState</a>().
</h3> Returns the current <ahref="tqt.html#WindowState">window state</a>. The window state is a OR'ed
combination of TQt::WindowState: <ahref="tqt.html#WindowState-enum">WindowMinimized</a>, <ahref="tqt.html#WindowState-enum">WindowMaximized</a>, <ahref="tqt.html#WindowState-enum">WindowFullScreen</a> and <ahref="tqt.html#WindowState-enum">WindowActive</a>.
<p><p>See also <ahref="tqt.html#WindowState-enum">TQt::WindowState</a> and <ahref="#setWindowState">setWindowState</a>().
</h3><p>Returns the x coordinate of the widget relative to its parent including any window frame.
@ -2593,25 +2593,25 @@ background mode.
<p><p>See also <ahref="#backgroundColor">backgroundColor</a>(), <ahref="#backgroundPixmap">backgroundPixmap</a>(), <ahref="#eraseColor">eraseColor</a>(), <ahref="#palette-prop">palette</a>, and <ahref="ntqapplication.html#setPalette">TQApplication::setPalette</a>().
<p>Get this property's value with <ahref="#backgroundBrush">backgroundBrush</a>().
<p> You will never need to set the background mode of a built-in
widget in TQt, but you might consider setting it in your custom
widgets, so that <ahref="#setPaletteBackgroundColor">setPaletteBackgroundColor</a>() works as expected.
<p> Note that two of the BackgroundMode values make no sense for
<ahref="#setBackgroundMode">setBackgroundMode</a>(), namely <ahref="ntqt.html#BackgroundMode-enum">FixedPixmap</a> and <ahref="ntqt.html#BackgroundMode-enum">FixedColor</a>. You
<ahref="#setBackgroundMode">setBackgroundMode</a>(), namely <ahref="tqt.html#BackgroundMode-enum">FixedPixmap</a> and <ahref="tqt.html#BackgroundMode-enum">FixedColor</a>. You
must call <ahref="#setBackgroundPixmap">setBackgroundPixmap</a>() and setPaletteBackgroundColor()
instead.
@ -2667,11 +2667,11 @@ inactive widget has the <a href="tqpalette.html#inactive">TQPalette::inactive</a
<p>This property holds whether the widget is a popup widget.
<p>A popup widget is created by specifying the <ahref="ntqt.html#WidgetFlags">widget flag</a><ahref="ntqt.html#WidgetFlags-enum">WType_Popup</a> to the widget constructor. A popup widget is also a
<p>A popup widget is created by specifying the <ahref="tqt.html#WidgetFlags">widget flag</a><ahref="tqt.html#WidgetFlags-enum">WType_Popup</a> to the widget constructor. A popup widget is also a
top-level widget.
<p><p>See also <ahref="#isTopLevel-prop">isTopLevel</a>.
@ -2875,7 +2875,7 @@ etc. If supported by the window manager, it will also have a
common taskbar entry with its parent.
<p><ahref="tqdialog.html">TQDialog</a> and <ahref="tqmainwindow.html">TQMainWindow</a> widgets are by default top-level, even if
a parent widget is specified in the constructor. This behavior is
specified by the <ahref="ntqt.html#WidgetFlags-enum">WType_TopLevel</a> widget flag.
specified by the <ahref="tqt.html#WidgetFlags-enum">WType_TopLevel</a> widget flag.
<p><p>See also <ahref="#topLevelWidget">topLevelWidget</a>(), <ahref="#isDialog-prop">isDialog</a>, <ahref="#isModal-prop">isModal</a>, <ahref="#isPopup-prop">isPopup</a>, <ahref="#isDesktop-prop">isDesktop</a>, and <ahref="#parentWidget">parentWidget</a>().
<p>Get this property's value with <ahref="#isTopLevel">isTopLevel</a>().
@ -3007,7 +3007,7 @@ background and foreground appearance only.
convenience function that creates and sets a modified <ahref="tqpalette.html">TQPalette</a>
with <ahref="#setPalette">setPalette</a>(). The palette is modified according to the
widget's background mode. For example, if the background mode is
<ahref="ntqt.html#BackgroundMode-enum">PaletteButton</a> the color used for the palette's <ahref="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set.
<ahref="tqt.html#BackgroundMode-enum">PaletteButton</a> the color used for the palette's <ahref="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set.
<p> If there is a background pixmap (set using
<ahref="#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap</a>()), then the return value of this
function is indeterminate.
@ -3022,7 +3022,7 @@ function is indeterminate.
convenience function that creates and sets a modified <ahref="tqpalette.html">TQPalette</a>
with <ahref="#setPalette">setPalette</a>(). The palette is modified according to the
widget's background mode. For example, if the background mode is
<ahref="ntqt.html#BackgroundMode-enum">PaletteButton</a> the pixmap used for the palette's
<ahref="tqt.html#BackgroundMode-enum">PaletteButton</a> the pixmap used for the palette's
<ahref="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set.
<p> If there is a plain background color (set using
<ahref="#setPaletteBackgroundColor">setPaletteBackgroundColor</a>()), then this function returns 0.
@ -3034,7 +3034,7 @@ widget's background mode. For example, if the background mode is
<p>setPaletteForegroundColor() is a convenience function that creates
and sets a modified <ahref="tqpalette.html">TQPalette</a> with <ahref="#setPalette">setPalette</a>(). The palette is
modified according to the widget's <em>background mode</em>. For
example, if the background mode is <ahref="ntqt.html#BackgroundMode-enum">PaletteButton</a> the palette entry
example, if the background mode is <ahref="tqt.html#BackgroundMode-enum">PaletteButton</a> the palette entry
<ahref="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ButtonText</a> is set to color.
<p><p>See also <ahref="#palette-prop">palette</a>, <ahref="ntqapplication.html#setPalette">TQApplication::setPalette</a>(), <ahref="#backgroundMode-prop">backgroundMode</a>, <ahref="#foregroundColor">foregroundColor</a>(), <ahref="#backgroundMode-prop">backgroundMode</a>, and <ahref="#setEraseColor">setEraseColor</a>().
@ -62,10 +62,10 @@ of chart has a (relative) position stored in the <tt>m_propoints</tt> array.
toolkit, but it provides many non-GUI classes to support most aspects
of application programming. We use <ahref="tqcolor-h.html">tqcolor.h</a> so that we can hold the
paint color and text color in the <tt>Element</tt> class. The use of <ahref="tqnamespace-h.html">tqnamespace.h</a> is slightly obscure. Most TQt classes are derived from the
<ahref="ntqt.html">TQt</a> superclass which contains various
enumerations. The <tt>Element</tt> class does not derive from <ahref="ntqt.html">TQt</a>, so we need to include <ahref="tqnamespace-h.html">tqnamespace.h</a> to have access to
<ahref="tqt.html">TQt</a> superclass which contains various
enumerations. The <tt>Element</tt> class does not derive from <ahref="tqt.html">TQt</a>, so we need to include <ahref="tqnamespace-h.html">tqnamespace.h</a> to have access to
the TQt enum names. An alternative approach would have been to have
made <tt>Element</tt> a <ahref="ntqt.html">TQt</a> subclass. We include <ahref="tqstring-h.html">tqstring.h</a> to make use of TQt's Unicode strings. As a convenience we
made <tt>Element</tt> a <ahref="tqt.html">TQt</a> subclass. We include <ahref="tqstring-h.html">tqstring.h</a> to make use of TQt's Unicode strings. As a convenience we
will <tt>typedef</tt> a vector container for <tt>Element</tt>s, which is why we
pull in the <ahref="tqvaluevector-h.html">tqvaluevector.h</a> header.
@ -199,7 +199,7 @@ Example (read binary data from a stream):
.br
.fi
.PP
Each item written to the stream is written in a predefined binary format that varies depending on the item's type. Supported TQt types include TQBrush, TQColor, TQDateTime, TQFont, TQPixmap, TQString, QVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the TQDataStream operators.
Each item written to the stream is written in a predefined binary format that varies depending on the item's type. Supported TQt types include TQBrush, TQColor, TQDateTime, TQFont, TQPixmap, TQString, TQVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the TQDataStream operators.
.PP
For integers it is best to always cast to a TQt integer type for writing, and to read back into the same TQt integer type. This ensures that you get integers of the size you want and insulates you from compiler and platform differences.
.PP
@ -294,7 +294,7 @@ You may wish to read/write your own raw binary data to/from the data stream dire
.PP
A similar pair of functions is readBytes() and writeBytes(). These differ from their \fIraw\fR counterparts as follows: readBytes() reads a TQ_UINT32 which is taken to be the length of the data to be read, then that number of bytes is read into the preallocated char*; writeBytes() writes a TQ_UINT32 containing the length of the data, followed by the data. Notice that any encoding/decoding of the data (apart from the length TQ_UINT32) must be done by you.
.PP
See also TQTextStream, QVariant, and Input/Output and Networking.
See also TQTextStream, TQVariant, and Input/Output and Networking.
.BI "virtual TQString \fBtext\fR ( int row, int col ) const"
.br
.ti -1c
.BI "QVariant \fBvalue\fR ( int row, int col ) const"
.BI "TQVariant \fBvalue\fR ( int row, int col ) const"
.br
.ti -1c
.BI "TQSqlRecord * \fBcurrentRecord\fR () const"
@ -305,7 +305,7 @@ Since the data table can perform edits, it must be able to uniquely identify eve
.PP
TQDataTable creates editors using the default TQSqlEditorFactory. Different editor factories can be used by calling installEditorFactory(). A property map is used to map between the cell's value and the editor. You can use your own property map with installPropertyMap().
.PP
The contents of a cell is available as a TQString with text() or as a QVariant with value(). The current record is returned by currentRecord(). Use the find() function to search for a string in the table.
The contents of a cell is available as a TQString with text() or as a TQVariant with value(). The current record is returned by currentRecord(). Use the find() function to search for a string in the table.
.PP
Editing actions can be applied programatically. For example, the insertCurrent() function reads the fields from the current record into the cursor and performs the insert. The updateCurrent() and deleteCurrent() functions perform similarly to update and delete the current record respectively.
.PP
@ -546,7 +546,7 @@ Returns the text used to represent true values. See the "trueText" property for
For an editable table, issues an update using the cursor's edit buffer. If there is no current cursor or there is no current selection, nothing happens. If confirmEdits() or confirmUpdate() is TRUE, confirmEdit() is called to confirm the update. Returns TRUE if the update succeeded; otherwise returns FALSE.
.PP
The underlying cursor must have a valid primary index to ensure that a unique record is updated within the database otherwise the database may be changed to an inconsistent state.
.SH "QVariant TQDataTable::value ( int row, int col ) const"
.SH "TQVariant TQDataTable::value ( int row, int col ) const"
Returns the value in cell \fIrow\fR, \fIcol\fR, or an invalid value if the cell does not exist or has no value.
The TQEditorFactory class is used to create editor widgets for QVariant data types.
The TQEditorFactory class is used to create editor widgets for TQVariant data types.
.PP
Each editor factory provides the createEditor() function which given a QVariant will create and return a TQWidget that can edit that QVariant. For example if you have a QVariant::String type, a TQLineEdit would be the default editor returned, whereas a QVariant::Int's default editor would be a TQSpinBox.
Each editor factory provides the createEditor() function which given a TQVariant will create and return a TQWidget that can edit that TQVariant. For example if you have a TQVariant::String type, a TQLineEdit would be the default editor returned, whereas a TQVariant::Int's default editor would be a TQSpinBox.
.PP
If you want to create different editors for fields with the same data type, subclass TQEditorFactory and reimplement the createEditor() function.
.PP
@ -49,8 +49,8 @@ See also Database Classes.
Constructs an editor factory with parent \fIparent\fR, called \fIname\fR.
.SH "TQEditorFactory::~TQEditorFactory ()"
Destroys the object and frees any allocated resources.
Creates and returns the appropriate editor for the QVariant \fIv\fR. If the QVariant is invalid, 0 is returned. The \fIparent\fR is passed to the appropriate editor's constructor.
Creates and returns the appropriate editor for the TQVariant \fIv\fR. If the TQVariant is invalid, 0 is returned. The \fIparent\fR is passed to the appropriate editor's constructor.
@ -26,7 +26,7 @@ This event is sent just before TQWidget::hide() returns, and also when a top-lev
.PP
If spontaneous() is TRUE the event originated outside the application, i.e. the user hid the window using the window manager controls, either by iconifying the window or by switching to another virtual desktop where the window isn't visible. The window will become hidden but not withdrawn. If the window was iconified, TQWidget::isMinimized() returns TRUE.
@ -837,7 +837,7 @@ The pointer returned by this function becomes invalid if the sender is destroyed
\fBWarning:\fR This function violates the object-oriented principle of modularity. However, getting access to the sender might be useful when many signals are connected to a single slot. The sender is undefined if the slot is called as a normal C++ function.
.SH "void TQObject::setName ( const char * name )\fC [virtual]\fR"
@ -54,7 +54,7 @@ A constructor that takes no arguments
.PP
Note that C++ defaults to field-by-field assignment operators and copy constructors if no explicit version is supplied. In many cases this is sufficient.
.PP
TQPair uses an STL-like syntax to manipulate and address the objects it contains. See the QTL documentation for more information.
TQPair uses an STL-like syntax to manipulate and address the objects it contains. See the TQTL documentation for more information.
.PP
Functions that need to return two values can use a TQPair.
@ -229,7 +229,7 @@ The TQRect class defines a rectangle in the plane.
.PP
A rectangle is internally represented as an upper-left corner and a bottom-right corner, but it is normally expressed as an upper-left corner and a size.
.PP
The coordinate type is QCOORD (defined in ntqwindowdefs.h as \fCint\fR). The minimum value of QCOORD is QCOORD_MIN (-2147483648) and the maximum value is QCOORD_MAX (2147483647).
The coordinate type is QCOORD (defined in tqwindowdefs.h as \fCint\fR). The minimum value of QCOORD is QCOORD_MIN (-2147483648) and the maximum value is QCOORD_MAX (2147483647).
.PP
Note that the size (width and height) of a rectangle might be different from what you are used to. If the top-left corner and the bottom-right corner are the same, the height and the width of the rectangle will both be 1.
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@ -7,7 +7,7 @@
.ad l
.nh
.SH NAME
QShowEvent \- Event which is sent when a widget is shown
TQShowEvent \- Event which is sent when a widget is shown
.SH SYNOPSIS
\fC#include <tqevent.h>\fR
.PP
@ -16,21 +16,21 @@ Inherits TQEvent.
.SS "Public Members"
.in +1c
.ti -1c
.BI "\fBQShowEvent\fR ()"
.BI "\fBTQShowEvent\fR ()"
.br
.in -1c
.SH DESCRIPTION
The QShowEvent class provides an event which is sent when a widget is shown.
The TQShowEvent class provides an event which is sent when a widget is shown.
.PP
There are two kinds of show events: show events caused by the window system (spontaneous) and internal show events. Spontaneous show events are sent just after the window system shows the window, including after a top-level window has been shown (un-iconified) by the user. Internal show events are delivered just before the widget becomes visible.
.PP
See also TQHideEvent and Event Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QShowEvent::QShowEvent ()"
Constructs a QShowEvent.
.SH "TQShowEvent::TQShowEvent ()"
Constructs a TQShowEvent.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/qshowevent.html
.BR http://doc.trolltech.com/tqshowevent.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
@ -127,7 +127,7 @@ The TQSize class defines the size of a two-dimensional object.
.PP
A size is specified by a width and a height.
.PP
The coordinate type is QCOORD (defined in \fC<ntqwindowdefs.h>\fR as \fCint\fR). The minimum value of QCOORD is QCOORD_MIN (-2147483648) and the maximum value is QCOORD_MAX (2147483647).
The coordinate type is QCOORD (defined in \fC<tqwindowdefs.h>\fR as \fCint\fR). The minimum value of QCOORD is QCOORD_MIN (-2147483648) and the maximum value is QCOORD_MAX (2147483647).
.PP
The size can be set in the constructor and changed with setWidth() and setHeight(), or using operator+=(), operator-=(), operator*=() and operator/=(), etc. You can swap the width and height with transpose(). You can get a size which holds the maximum height and width of two sizes using expandedTo(), and the minimum height and width of two sizes using boundedTo().
The QSound class provides access to the platform audio facilities.
The TQSound class provides access to the platform audio facilities.
.PP
Qt provides the most commonly required audio operation in GUI applications: asynchronously playing a sound file. This is most easily accomplished with a single call:
.PP
.nf
.br
QSound::play("mysounds/bells.wav");
TQSound::play("mysounds/bells.wav");
.br
.fi
.PP
A second API is provided in which a QSound object is created from a sound file and is played later:
A second API is provided in which a TQSound object is created from a sound file and is played later:
.PP
.nf
.br
QSound bells("mysounds/bells.wav");
TQSound bells("mysounds/bells.wav");
.br
.br
bells.play();
@ -88,51 +88,51 @@ On X11 the Network Audio System is used if available, otherwise all operations w
.PP
On Macintosh, ironically, we use QT (QuickTime) for sound, this means all QuickTime formats are supported by Qt/Mac.
.PP
The availability of sound can be tested with QSound::isAvailable().
The availability of sound can be tested with TQSound::isAvailable().
Constructs a TQSound that can quickly play the sound in a file named \fIfilename\fR.
.PP
This may use more memory than the static \fCplay\fR function.
.PP
The \fIparent\fR and \fIname\fR arguments (default 0) are passed on to the TQObject constructor.
.SH "QSound::~QSound ()"
.SH "TQSound::~TQSound ()"
Destroys the sound object. If the sound is not finished playing stop() is called on it.
.PP
See also stop() and isFinished().
.SH "bool QSound::available ()\fC [static]\fR"
.SH "bool TQSound::available ()\fC [static]\fR"
Returns TRUE if sound support is available; otherwise returns FALSE.
.SH "TQString QSound::fileName () const"
.SH "TQString TQSound::fileName () const"
Returns the filename associated with the sound.
.SH "bool QSound::isAvailable ()\fC [static]\fR"
.SH "bool TQSound::isAvailable ()\fC [static]\fR"
Returns TRUE if sound facilities exist on the platform; otherwise returns FALSE. An application may choose either to notify the user if sound is crucial to the application or to operate silently without bothering the user.
.PP
If no sound is available, all QSound operations work silently and quickly.
.SH "bool QSound::isFinished () const"
If no sound is available, all TQSound operations work silently and quickly.
.SH "bool TQSound::isFinished () const"
Returns TRUE if the sound has finished playing; otherwise returns FALSE.
.PP
\fBWarning:\fR On Windows this function always returns TRUE for unlooped sounds.
.SH "int QSound::loops () const"
.SH "int TQSound::loops () const"
Returns the number of times the sound will play.
.SH "int QSound::loopsRemaining () const"
.SH "int TQSound::loopsRemaining () const"
Returns the number of times the sound will loop. This value decreases each time the sound loops.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Starts the sound playing. The function returns immediately. Depending on the platform audio facilities, other sounds may stop or may be mixed with the new sound.
.PP
The sound can be played again at any time, possibly mixing or replacing previous plays of the sound.
.SH "void QSound::setLoops ( int l )"
.SH "void TQSound::setLoops ( int l )"
Sets the sound to repeat \fIl\fR times when it is played. Passing the value -1 will cause the sound to loop indefinitely.
.PP
See also loops().
.SH "void QSound::stop ()\fC [slot]\fR"
.SH "void TQSound::stop ()\fC [slot]\fR"
Stops the sound playing.
.PP
On Windows the current loop will finish if a sound is played in a loop.
@ -140,7 +140,7 @@ On Windows the current loop will finish if a sound is played in a loop.
See also play().
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqsound.html
.BR http://doc.trolltech.com/tqsound.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
The QSplashScreen widget provides a splash screen that can be shown during application startup.
The TQSplashScreen widget provides a splash screen that can be shown during application startup.
.PP
A splash screen is a widget that is usually displayed when an application is being started. Splash screens are often used for applications that have long start up times (e.g. database or networking applications that take time to establish connections) to provide the user with feedback that the application is loading.
.PP
@ -76,7 +76,7 @@ The most common usage is to show a splash screen before the main widget is displ
.br
TQPixmap pixmap( "splash.png" );
.br
QSplashScreen *splash = new QSplashScreen( pixmap );
TQSplashScreen *splash = new TQSplashScreen( pixmap );
.br
splash->show();
.br
@ -98,7 +98,7 @@ The most common usage is to show a splash screen before the main widget is displ
.br
.fi
.PP
It is sometimes useful to update the splash screen with messages, for example, announcing connections established or modules loaded as the application starts up. QSplashScreen supports this with the message() function. If you wish to do your own drawing you can get a pointer to the pixmap used in the splash screen with pixmap(). Alternatively, you can subclass QSplashScreen and reimplement drawContents().
It is sometimes useful to update the splash screen with messages, for example, announcing connections established or modules loaded as the application starts up. TQSplashScreen supports this with the message() function. If you wish to do your own drawing you can get a pointer to the pixmap used in the splash screen with pixmap(). Alternatively, you can subclass TQSplashScreen and reimplement drawContents().
.PP
The user can hide the splash screen by clicking on it with the mouse. Since the splash screen is typically displayed before the event loop has started running, it is necessary to periodically call QApplication::processEvents() to receive the mouse clicks.
.PP
@ -106,7 +106,7 @@ The user can hide the splash screen by clicking on it with the mouse. Since the
.br
TQPixmap pixmap( "splash.png" );
.br
QSplashScreen *splash = new QSplashScreen( pixmap );
TQSplashScreen *splash = new TQSplashScreen( pixmap );
.br
splash->show();
.br
@ -126,38 +126,38 @@ The user can hide the splash screen by clicking on it with the mouse. Since the
Draw the contents of the splash screen using painter \fIpainter\fR. The default implementation draws the message passed by message(). Reimplement this function if you want to do your own drawing on the splash screen.
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
See also message() and clear().
.SH "TQPixmap * QSplashScreen::pixmap () const"
.SH "TQPixmap * TQSplashScreen::pixmap () const"
Returns the pixmap that is used in the splash screen. The image does not have any of the text drawn by message() calls.
.SH "void QSplashScreen::repaint ()"
.SH "void TQSplashScreen::repaint ()"
This overrides TQWidget::repaint(). It differs from the standard repaint function in that it also calls QApplication::flush() to ensure the updates are displayed, even when there is no event loop present.
The TQSplitter class implements a splitter widget.
.PP
A splitter lets the user control the size of child widgets by dragging the boundary between the children. Any number of widgets may be controlled by a single splitter.
.PP
@ -130,7 +130,7 @@ To show a TQListBox, a TQListView and a TQTextEdit side by side:
.PP
.nf
.br
QSplitter *split = new QSplitter( parent );
TQSplitter *split = new TQSplitter( parent );
.br
TQListBox *lb = new TQListBox( split );
.br
@ -140,11 +140,11 @@ To show a TQListBox, a TQListView and a TQTextEdit side by side:
.br
.fi
.PP
QSplitter lays out its children horizontally (side by side); you can use setOrientation(QSplitter::Vertical) to lay out the children vertically.
TQSplitter lays out its children horizontally (side by side); you can use setOrientation(TQSplitter::Vertical) to lay out the children vertically.
.PP
By default, all widgets can be as large or as small as the user wishes, between the minimumSizeHint() (or minimumSize()) and maximumSize() of the widgets. Use setResizeMode() to specify that a widget should keep its size when the splitter is resized, or set the stretch component of the sizePolicy.
.PP
Although QSplitter normally resizes the children only at the end of a resize operation, if you call setOpaqueResize(TRUE) the widgets are resized as often as possible.
Although TQSplitter normally resizes the children only at the end of a resize operation, if you call setOpaqueResize(TRUE) the widgets are resized as often as possible.
.PP
The initial distribution of size between the widgets is determined by the initial size of each widget. You can also use setSizes() to set the sizes of all the widgets. The function sizes() returns the sizes set by the user.
.PP
@ -159,87 +159,87 @@ If you hide() a child its space will be distributed among the other children. It
.PP
See also TQTabBar and Organizers.
.SS "Member Type Documentation"
.SH "QSplitter::ResizeMode"
This enum type describes how QSplitter will resize each of its child widgets.
.SH "TQSplitter::ResizeMode"
This enum type describes how TQSplitter will resize each of its child widgets.
.TP
\fCQSplitter::Auto\fR - The widget will be resized according to the stretch factors set in its sizePolicy().
.TP
\fCQSplitter::Stretch\fR - The widget will be resized when the splitter itself is resized.
.TP
\fCQSplitter::KeepSize\fR - QSplitter will try to keep the widget's size unchanged.
\fCQSplitter::KeepSize\fR - TQSplitter will try to keep the widget's size unchanged.
.TP
\fCQSplitter::FollowSizeHint\fR - QSplitter will resize the widget when the widget's size hint changes.
\fCQSplitter::FollowSizeHint\fR - TQSplitter will resize the widget when the widget's size hint changes.
Returns TRUE if child widgets can be resized down to size 0 by the user; otherwise returns FALSE. See the "childrenCollapsible" property for details.
.SH "void QSplitter::drawSplitter ( TQPainter * p, QCOORD x, QCOORD y, QCOORD w, QCOORD h )\fC [virtual protected]\fR"
.SH "void TQSplitter::drawSplitter ( TQPainter * p, QCOORD x, QCOORD y, QCOORD w, QCOORD h )\fC [virtual 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
Draws the splitter handle in the rectangle described by \fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR using painter \fIp\fR.
.PP
See also TQStyle::drawPrimitive().
.SH "void QSplitter::getRange ( int id, int * min, int * max )\fC [protected]\fR"
.SH "void TQSplitter::getRange ( int id, int * min, int * max )\fC [protected]\fR"
Returns the valid range of the splitter with ID \fIid\fR in \fI*min\fR and \fI*max\fR if \fImin\fR and \fImax\fR are not 0.
.PP
See also idAfter().
.SH "int QSplitter::handleWidth () const"
.SH "int TQSplitter::handleWidth () const"
Returns the width of the splitter handle. See the "handleWidth" property for details.
.SH "int QSplitter::idAfter ( TQWidget * w ) const\fC [protected]\fR"
Returns the ID of the widget to the right of or below the widget \fIw\fR, or 0 if there is no such widget (i.e. it is either not in this QSplitter or \fIw\fR is at the end).
.SH "void QSplitter::moveSplitter ( QCOORD p, int id )\fC [protected]\fR"
.SH "int TQSplitter::idAfter ( TQWidget * w ) const\fC [protected]\fR"
Returns the ID of the widget to the right of or below the widget \fIw\fR, or 0 if there is no such widget (i.e. it is either not in this TQSplitter or \fIw\fR is at the end).
.SH "void TQSplitter::moveSplitter ( QCOORD p, int id )\fC [protected]\fR"
Moves the left/top edge of the splitter handle with ID \fIid\fR as close as possible to position \fIp\fR, which is the distance from the left (or top) edge of the widget.
.PP
For Arabic, Hebrew and other right-to-left languages the layout is reversed. \fIp\fR is then the distance from the right (or top) edge of the widget.
.PP
See also idAfter().
.SH "void QSplitter::moveToFirst ( TQWidget * w )"
.SH "void TQSplitter::moveToFirst ( TQWidget * w )"
Moves widget \fIw\fR to the leftmost/top position.
.PP
Example: splitter/splitter.cpp.
.SH "void QSplitter::moveToLast ( TQWidget * w )"
.SH "void TQSplitter::moveToLast ( TQWidget * w )"
Moves widget \fIw\fR to the rightmost/bottom position.
.SH "bool QSplitter::opaqueResize () const"
.SH "bool TQSplitter::opaqueResize () const"
Returns TRUE if resizing is opaque; otherwise returns FALSE. See the "opaqueResize" property for details.
Sets whether the child widget \fIw\fR is collapsible to \fIcollapse\fR.
.PP
By default, children are collapsible, meaning that the user can resize them down to size 0, even if they have a non-zero minimumSize() or minimumSizeHint(). This behavior can be changed on a per-widget basis by calling this function, or globally for all the widgets in the splitter by setting the childrenCollapsible property.
.PP
See also childrenCollapsible.
.SH "void QSplitter::setHandleWidth ( int )"
.SH "void TQSplitter::setHandleWidth ( int )"
Sets the width of the splitter handle. See the "handleWidth" property for details.
Sets resize mode of widget \fIw\fR to \fImode\fR. (The default is Auto.)
.PP
Examples:
.)l fileiconview/mainwindow.cpp, listviews/listviews.cpp, and splitter/splitter.cpp.
.SH "void QSplitter::setRubberband ( int p )\fC [virtual protected]\fR"
.SH "void TQSplitter::setRubberband ( int p )\fC [virtual protected]\fR"
Displays a rubber band at position \fIp\fR. If \fIp\fR is negative, the rubber band is removed.
.SH "void QSplitter::setSizes ( TQValueList<int> list )"
.SH "void TQSplitter::setSizes ( TQValueList<int> list )"
Sets the size parameters to the values given in the \fIlist\fR. If the splitter is horizontal, the values set the widths of each widget going from left to right. If the splitter is vertical, the values set the heights of each widget going from top to bottom. Extra values in the \fIlist\fR are ignored.
.PP
If \fIlist\fR contains too few values, the result is undefined but the program will still be well-behaved.
@ -247,7 +247,7 @@ If \fIlist\fR contains too few values, the result is undefined but the program w
Note that the values in \fIlist\fR should be the height/width that the widgets should be resized to.
.PP
See also sizes().
.SH "TQValueList<int> QSplitter::sizes () const"
.SH "TQValueList<int> TQSplitter::sizes () const"
Returns a list of the size parameters of all the widgets in this splitter.
.PP
If the splitter's orientation is horizontal, the list is a list of widget widths; if the orientation is vertical, the list is a list of widget heights.
@ -297,17 +297,17 @@ By default the orientation is horizontal (the widgets are side by side). The pos
.PP
Set this property's value with setOrientation() and get this property's value with orientation().
Reads the sizes and the hidden state of the widgets in the splitter \fIsplitter\fR from the text stream \fIts\fR. The sizes must have been previously written by the operator<<() function.
.PP
See also operator<<(), setSizes(), and TQWidget::hide().
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqsplitter.html
.BR http://doc.trolltech.com/tqsplitter.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
Protected virtual function which is called whenever a field needs to be calculated. If calculated fields are being used, derived classes must reimplement this function and return the appropriate value for field \fIname\fR. The default implementation returns an invalid QVariant.
Protected virtual function which is called whenever a field needs to be calculated. If calculated fields are being used, derived classes must reimplement this function and return the appropriate value for field \fIname\fR. The default implementation returns an invalid TQVariant.
.PP
See also setCalculated().
.PP
@ -521,7 +521,7 @@ Selects all fields in the cursor matching the filter index \fIfilter\fR. The dat
.PP
In this example the TQSqlIndex, pk, is used for two different purposes. When used as the filter (first) argument, the field names it contains are used to construct the WHERE clause, each set to the current cursor value, \fCWHERE id=10\fR, in this case. When used as the sort (second) argument the field names it contains are used for the ORDER BY clause, \fCORDER BY id\fR in this example.
Sets field \fIname\fR to \fIcalculated\fR. If the field \fIname\fR does not exist, nothing happens. The value of a calculated field is set by the calculateField() virtual function which you must reimplement (or the field value will be an invalid QVariant). Calculated fields do not appear in generated SQL statements sent to the database.
Sets field \fIname\fR to \fIcalculated\fR. If the field \fIname\fR does not exist, nothing happens. The value of a calculated field is set by the calculateField() virtual function which you must reimplement (or the field value will be an invalid TQVariant). Calculated fields do not appear in generated SQL statements sent to the database.
.PP
See also calculateField() and TQSqlRecord::setGenerated().
The TQSqlEditorFactory class is used to create the editors used by TQDataTable and TQSqlForm.
.PP
TQSqlEditorFactory is used by TQDataTable and TQSqlForm to automatically create appropriate editors for a given TQSqlField. For example if the field is a QVariant::String a TQLineEdit would be the default editor, whereas a QVariant::Int's default editor would be a TQSpinBox.
TQSqlEditorFactory is used by TQDataTable and TQSqlForm to automatically create appropriate editors for a given TQSqlField. For example if the field is a TQVariant::String a TQLineEdit would be the default editor, whereas a TQVariant::Int's default editor would be a TQSpinBox.
.PP
If you want to create different editors for fields with the same data type, subclass TQSqlEditorFactory and reimplement the createEditor() function.
.PP
@ -50,8 +50,8 @@ See also TQDataTable, TQSqlForm, and Database Classes.
Constructs a SQL editor factory with parent \fIparent\fR, called \fIname\fR.
.SH "TQSqlEditorFactory::~TQSqlEditorFactory ()"
Destroys the object and frees any allocated resources.
.BI "\fBTQSqlField\fR ( const TQSqlField & other )"
@ -29,10 +29,10 @@ TQSqlField \- Manipulates the fields in SQL database tables and views
.BI "virtual \fB~TQSqlField\fR ()"
.br
.ti -1c
.BI "virtual void \fBsetValue\fR ( const QVariant & value )"
.BI "virtual void \fBsetValue\fR ( const TQVariant & value )"
.br
.ti -1c
.BI "virtual QVariant \fBvalue\fR () const"
.BI "virtual TQVariant \fBvalue\fR () const"
.br
.ti -1c
.BI "virtual void \fBsetName\fR ( const TQString & name )"
@ -56,7 +56,7 @@ TQSqlField \- Manipulates the fields in SQL database tables and views
.BI "void \fBclear\fR ( bool nullify = TRUE )"
.br
.ti -1c
.BI "QVariant::Type \fBtype\fR () const"
.BI "TQVariant::Type \fBtype\fR () const"
.br
.in -1c
.SH DESCRIPTION
@ -64,11 +64,11 @@ The TQSqlField class manipulates the fields in SQL database tables and views.
.PP
TQSqlField represents the characteristics of a single column in a database table or view, such as the data type and column name. A field also contains the value of the database column, which can be viewed or changed.
.PP
Field data values are stored as QVariants. Using an incompatible type is not permitted. For example:
Field data values are stored as TQVariants. Using an incompatible type is not permitted. For example:
.PP
.nf
.br
TQSqlField f( "myfield", QVariant::Int );
TQSqlField f( "myfield", TQVariant::Int );
.br
f.setValue( TQPixmap() ); // will not work
.br
@ -78,7 +78,7 @@ However, the field will attempt to cast certain data types to the field data typ
.PP
.nf
.br
TQSqlField f( "myfield", QVariant::Int );
TQSqlField f( "myfield", TQVariant::Int );
.br
f.setValue( TQString("123") ); // casts TQString to int
.br
@ -112,7 +112,7 @@ In practice we rarely need to extract a pointer to a field at all. The previous
Constructs an empty field called \fIfieldName\fR of type \fItype\fR.
.SH "TQSqlField::TQSqlField ( const TQSqlField & other )"
Constructs a copy of \fIother\fR.
@ -150,7 +150,7 @@ See also isReadOnly() and clear().
Sets the read only flag of the field's value to \fIreadOnly\fR.
.PP
See also setValue().
.SH "void TQSqlField::setValue ( const QVariant & value )\fC [virtual]\fR"
.SH "void TQSqlField::setValue ( const TQVariant & value )\fC [virtual]\fR"
Sets the value of the field to \fIvalue\fR. If the field is read-only (isReadOnly() returns TRUE), nothing happens. If the data type of \fIvalue\fR differs from the field's current data type, an attempt is made to cast it to the proper type. This preserves the data type of the field in the case of assignment, e.g. a TQString to an integer data type. For example:
.PP
.nf
@ -166,10 +166,10 @@ Sets the value of the field to \fIvalue\fR. If the field is read-only (isReadOnl
.fi
.PP
See also isReadOnly().
.SH "QVariant::Type TQSqlField::type () const"
.SH "TQVariant::Type TQSqlField::type () const"
Returns the field's type as stored in the database. Note that the actual value might have a different type, Numerical values that are too large to store in a long int or double are usually stored as strings to prevent precision loss.
@ -14,7 +14,7 @@ TQSqlFieldInfo \- Stores meta data associated with a SQL field
.SS "Public Members"
.in +1c
.ti -1c
.BI "\fBTQSqlFieldInfo\fR ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )"
.BI "\fBTQSqlFieldInfo\fR ( const TQString & name = TQString::null, TQVariant::Type typ = TQVariant::Invalid, int required = -1, int len = -1, int prec = -1, const TQVariant & defValue = TQVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )"
.br
.ti -1c
.BI "\fBTQSqlFieldInfo\fR ( const TQSqlFieldInfo & other )"
@ -38,7 +38,7 @@ TQSqlFieldInfo \- Stores meta data associated with a SQL field
.BI "int \fBisRequired\fR () const"
.br
.ti -1c
.BI "QVariant::Type \fBtype\fR () const"
.BI "TQVariant::Type \fBtype\fR () const"
.br
.ti -1c
.BI "int \fBlength\fR () const"
@ -47,7 +47,7 @@ TQSqlFieldInfo \- Stores meta data associated with a SQL field
.BI "int \fBprecision\fR () const"
.br
.ti -1c
.BI "QVariant \fBdefaultValue\fR () const"
.BI "TQVariant \fBdefaultValue\fR () const"
.br
.ti -1c
.BI "TQString \fBname\fR () const"
@ -83,10 +83,10 @@ All values must be set in the constructor, and may be retrieved using isRequired
.PP
See also Database Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "TQSqlFieldInfo::TQSqlFieldInfo ( const TQString & name = TQString::null, QVariant::Type typ = QVariant::Invalid, int required = -1, int len = -1, int prec = -1, const QVariant & defValue = QVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )"
.SH "TQSqlFieldInfo::TQSqlFieldInfo ( const TQString & name = TQString::null, TQVariant::Type typ = TQVariant::Invalid, int required = -1, int len = -1, int prec = -1, const TQVariant & defValue = TQVariant ( ), int typeID = 0, bool generated = TRUE, bool trim = FALSE, bool calculated = FALSE )"
Constructs a TQSqlFieldInfo with the following parameters: <center>.nf
.TS
l - l. \fIname\fR the name of the field. \fItyp\fR the field's type in a QVariant. \fIrequired\fR greater than 0 if the field is required, 0 if its value can be NULL and less than 0 if it cannot be determined whether the field is required or not. \fIlen\fR the length of the field. Note that for non-character types some databases return either the length in bytes or the number of digits. -1 signifies that the length cannot be determined. \fIprec\fR the precision of the field, or -1 if the field has no precision or it cannot be determined. \fIdefValue\fR the default value that is inserted into the table if none is specified by the user. QVariant() if there is no default value or it cannot be determined. \fItypeID\fR the internal typeID of the database system (only useful for low-level programming). 0 if unknown. \fIgenerated\fR TRUE indicates that this field should be included in auto-generated SQL statments, e.g. in TQSqlCursor. \fItrim\fR TRUE indicates that widgets should remove trailing whitespace from character fields. This does not affect the field value but only its representation inside widgets. \fIcalculated\fR
l - l. \fIname\fR the name of the field. \fItyp\fR the field's type in a TQVariant. \fIrequired\fR greater than 0 if the field is required, 0 if its value can be NULL and less than 0 if it cannot be determined whether the field is required or not. \fIlen\fR the length of the field. Note that for non-character types some databases return either the length in bytes or the number of digits. -1 signifies that the length cannot be determined. \fIprec\fR the precision of the field, or -1 if the field has no precision or it cannot be determined. \fIdefValue\fR the default value that is inserted into the table if none is specified by the user. TQVariant() if there is no default value or it cannot be determined. \fItypeID\fR the internal typeID of the database system (only useful for low-level programming). 0 if unknown. \fIgenerated\fR TRUE indicates that this field should be included in auto-generated SQL statments, e.g. in TQSqlCursor. \fItrim\fR TRUE indicates that widgets should remove trailing whitespace from character fields. This does not affect the field value but only its representation inside widgets. \fIcalculated\fR
.TE
.fi
</center>
@ -96,8 +96,8 @@ Constructs a copy of \fIother\fR.
Creates a TQSqlFieldInfo object with the type and the name of the TQSqlField \fIother\fR. If \fIgenerated\fR is TRUE this field will be included in auto-generated SQL statments, e.g. in TQSqlCursor.
Returns the field's default value or an empty QVariant if the field has no default value or the value couldn't be determined. The default value is the value inserted in the database when it is not explicitly specified by the user.
Returns the field's default value or an empty TQVariant if the field has no default value or the value couldn't be determined. The default value is the value inserted in the database when it is not explicitly specified by the user.
.SH "bool TQSqlFieldInfo::isCalculated () const"
Returns TRUE if the field is calculated; otherwise returns FALSE.
.PP
@ -141,8 +141,8 @@ If \fItrim\fR is TRUE widgets should remove trailing whitespace from character f
See also isTrim().
.SH "TQSqlField TQSqlFieldInfo::toField () const"
Returns an empty TQSqlField based on the information in this TQSqlFieldInfo.
Replaces the global default property map with \fImap\fR. All TQDataTable and TQSqlForm instantiations will use this new map for inserting and extracting values to and from editors. \fITQSqlPropertyMap takes ownership of \a map, and destroys it when it is no longer needed.\fR
These functions allow the programmer to move forward, backward or arbitrarily through the records returned by the query. If you only need to move forward through the results, e.g. using next() or using seek() with a positive offset, you can use setForwardOnly() and save a significant amount of memory overhead. Once an active query is positioned on a valid record, data can be retrieved using value(). All data is transferred from the SQL backend using QVariants.
These functions allow the programmer to move forward, backward or arbitrarily through the records returned by the query. If you only need to move forward through the results, e.g. using next() or using seek() with a positive offset, you can use setForwardOnly() and save a significant amount of memory overhead. Once an active query is positioned on a valid record, data can be retrieved using value(). All data is transferred from the SQL backend using TQVariants.
.PP
For example:
.PP
@ -281,7 +281,7 @@ Below we present the same example using each of the four different binding appro
.br
.fi
.PP
See also TQSqlDatabase, TQSqlCursor, QVariant, and Database Classes.
See also TQSqlDatabase, TQSqlCursor, TQVariant, and Database Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "TQSqlQuery::TQSqlQuery ( TQSqlResult * r )"
Creates a TQSqlQuery object which uses the TQSqlResult \fIr\fR to communicate with a database.
@ -297,11 +297,11 @@ See also TQSqlDatabase.
Constructs a copy of \fIother\fR.
.SH "TQSqlQuery::~TQSqlQuery ()\fC [virtual]\fR"
Destroys the object and frees any allocated resources.
Adds the value \fIval\fR to the list of values when using positional value binding. The order of the addBindValue() calls determines which placeholder a value will be bound to in the prepared query. If \fItype\fR is TQSql::Out or TQSql::InOut, the placeholder will be overwritten with data from the database after the exec() call.
.PP
See also bindValue(), prepare(), and exec().
.SH "void TQSqlQuery::addBindValue ( const QVariant & val )"
.SH "void TQSqlQuery::addBindValue ( const TQVariant & val )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Binds the placeholder with type TQSql::In.
@ -315,31 +315,31 @@ See also prev(), next(), first(), last(), seek(), isActive(), and isValid().
Set the placeholder \fIplaceholder\fR to be bound to value \fIval\fR in the prepared statement. Note that the placeholder mark (e.g \fC:\fR) must be included when specifying the placeholder name. If \fItype\fR is TQSql::Out or TQSql::InOut, the placeholder will be overwritten with data from the database after the exec() call.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Binds the placeholder with type TQSql::In.
.SH "void TQSqlQuery::bindValue ( int pos, const QVariant & val )"
.SH "void TQSqlQuery::bindValue ( int pos, const TQVariant & val )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Binds the placeholder at position \fIpos\fR with type TQSql::In.
.SH "void TQSqlQuery::bindValue ( int pos, const QVariant & val, TQSql::ParameterType type )"
.SH "void TQSqlQuery::bindValue ( int pos, const TQVariant & val, TQSql::ParameterType type )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Set the placeholder in position \fIpos\fR to be bound to value \fIval\fR in the prepared statement. Field numbering starts at 0. If \fItype\fR is TQSql::Out or TQSql::InOut, the placeholder will be overwritten with data from the database after the exec() call.
@ -365,9 +365,9 @@ The bound values can be examined in the following way:
.br
// Examine the bound values - bound using positional binding
.br
TQValueList<QVariant>::ConstIterator it;
TQValueList<TQVariant>::ConstIterator it;
.br
TQValueList<QVariant> list = query.boundValues().values();
TQValueList<TQVariant> list = query.boundValues().values();
.br
int i = 0;
.br
@ -529,12 +529,12 @@ To determine the number of rows affected by a non-SELECT statement, use numRowsA
See also isActive(), numRowsAffected(), and TQSqlDriver::hasFeature().
.PP
Example: sql/overview/navigating/main.cpp.
.SH "QVariant TQSqlQuery::value ( int i ) const\fC [virtual]\fR"
.SH "TQVariant TQSqlQuery::value ( int i ) const\fC [virtual]\fR"
Returns the value of the \fIi\fR-th field in the query (zero based).
.PP
The fields are numbered from left to right using the text of the \fCSELECT\fR statement, e.g. in \fCSELECT forename, surname FROM people\fR, field 0 is \fCforename\fR and field 1 is \fCsurname\fR. Using \fCSELECT *\fR is not recommended because the order of the fields in the query is undefined.
.PP
An invalid QVariant is returned if field \fIi\fR does not exist, if the query is inactive, or if the query is positioned on an invalid record.
An invalid TQVariant is returned if field \fIi\fR does not exist, if the query is inactive, or if the query is positioned on an invalid record.
.PP
See also prev(), next(), first(), last(), seek(), isActive(), and isValid().
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Sets the value of the field called \fIname\fR to \fIval\fR. If the field does not exist, nothing happens.
@ -230,13 +230,13 @@ Returns a list of all the record's field names, each having the prefix \fIprefix
Note that fields which have generated set to FALSE are \fInot\fR included. (See isGenerated()). If \fIprefix\fR is supplied, e.g. a table name, all fields are prefixed in the form:
.PP"
\fIprefix\fR.<fieldname>"
.SH "QVariant TQSqlRecord::value ( int i ) const\fC [virtual]\fR"
.SH "TQVariant TQSqlRecord::value ( int i ) const\fC [virtual]\fR"
Returns the value of the field located at position \fIi\fR in the record. If field \fIi\fR does not exist the resultant behaviour is undefined.
.PP
This function should be used with TQSqlQuerys. When working with a TQSqlCursor the value(const TQString&) overload which uses field names is more appropriate.
Returns the current (zero-based) position of the result.
.SH "QVariant TQSqlResult::data ( int i )\fC [pure virtual protected]\fR"
Returns the data for field \fIi\fR (zero-based) as a QVariant. This function is only called if the result is in an active state and is positioned on a valid record and \fIi\fR is non-negative. Derived classes must reimplement this function and return the value of field \fIi\fR, or QVariant() if it cannot be determined.
.SH "TQVariant TQSqlResult::data ( int i )\fC [pure virtual protected]\fR"
Returns the data for field \fIi\fR (zero-based) as a TQVariant. This function is only called if the result is in an active state and is positioned on a valid record and \fIi\fR is non-negative. Derived classes must reimplement this function and return the value of field \fIi\fR, or TQVariant() if it cannot be determined.
The QUuid class defines a Universally Unique Identifier (UUID).
The TQUuid class defines a Universally Unique Identifier (UUID).
.PP
For objects or declarations that must be uniquely identified, UUIDs (also known as GUIDs) are widely used in order to assign a fixed and easy to compare value to the object or declaration. The 128-bit value of a UUID is generated by an algorithm that guarantees that the value is unique.
.PP
In Qt, UUIDs are wrapped by the QUuid struct which provides convenience functions for handling UUIDs. Most platforms provide a tool to generate new UUIDs, for example, uuidgen and guidgen.
In Qt, UUIDs are wrapped by the TQUuid struct which provides convenience functions for handling UUIDs. Most platforms provide a tool to generate new UUIDs, for example, uuidgen and guidgen.
.PP
UUIDs generated by QUuid, are based on the Random version of the DCE (Distributed Computing Environment) standard.
UUIDs generated by TQUuid, are based on the Random version of the DCE (Distributed Computing Environment) standard.
.PP
UUIDs can be constructed from numeric values or from strings, or using the static createUuid() function. They can be converted to a string with toString(). UUIDs have a variant() and a version(), and null UUIDs return TRUE from isNull().
.SS "Member Type Documentation"
.SH "QUuid::Variant"
.SH "TQUuid::Variant"
This enum defines the variant of the UUID, which is the scheme which defines the layout of the 128-bits value.
.TP
\fCQUuid::VarUnknown\fR - Variant is unknown
\fCTQUuid::VarUnknown\fR - Variant is unknown
.TP
\fCQUuid::NCS\fR - Reserved for NCS (Network Computing System) backward compatibility
\fCTQUuid::NCS\fR - Reserved for NCS (Network Computing System) backward compatibility
.TP
\fCQUuid::DCE\fR - Distributed Computing Environment, the scheme used by QUuid
\fCTQUuid::DCE\fR - Distributed Computing Environment, the scheme used by TQUuid
.TP
\fCQUuid::Microsoft\fR - Reserved for Microsoft backward compatibility (GUID)
\fCTQUuid::Microsoft\fR - Reserved for Microsoft backward compatibility (GUID)
.TP
\fCQUuid::Reserved\fR - Reserved for future definition
.SH "QUuid::Version"
\fCTQUuid::Reserved\fR - Reserved for future definition
.SH "TQUuid::Version"
This enum defines the version of the UUID.
.TP
\fCQUuid::VerUnknown\fR - Version is unknown
\fCTQUuid::VerUnknown\fR - Version is unknown
.TP
\fCQUuid::Time\fR - Time-based, by using timestamp, clock sequence, and MAC network card address (if available) for the node sections
\fCTQUuid::Time\fR - Time-based, by using timestamp, clock sequence, and MAC network card address (if available) for the node sections
.TP
\fCQUuid::EmbeddedPOSIX\fR - DCE Security version, with embedded POSIX UUIDs
\fCTQUuid::EmbeddedPOSIX\fR - DCE Security version, with embedded POSIX UUIDs
.TP
\fCQUuid::Name\fR - Name-based, by using values from a name for all sections
\fCTQUuid::Name\fR - Name-based, by using values from a name for all sections
.TP
\fCQUuid::Random\fR - Random-based, by using random numbers for all sections
\fCTQUuid::Random\fR - Random-based, by using random numbers for all sections
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QUuid::QUuid ()"
.SH "TQUuid::TQUuid ()"
Creates the null UUID {00000000-0000-0000-0000-000000000000}.
Creates a UUID with the value specified by the parameters, \fIl\fR, \fIw1\fR, \fIw2\fR, \fIb1\fR, \fIb2\fR, \fIb3\fR, \fIb4\fR, \fIb5\fR, \fIb6\fR, \fIb7\fR, \fIb8\fR.
Creates a QUuid object from the string \fItext\fR. The function can only convert a string in the format {HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH} (where 'H' stands for a hex digit). If the conversion fails a null UUID is created.
.SH "QUuid QUuid::createUuid ()\fC [static]\fR"
.SH "TQUuid::TQUuid ( const TQUuid & orig )"
Creates a copy of the TQUuid \fIorig\fR.
.SH "TQUuid::TQUuid ( const TQString & text )"
Creates a TQUuid object from the string \fItext\fR. The function can only convert a string in the format {HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH} (where 'H' stands for a hex digit). If the conversion fails a null UUID is created.
.SH "TQUuid TQUuid::createUuid ()\fC [static]\fR"
Returns a new UUID of DCE variant, and Random type. The UUIDs generated are based on the platform specific pseudo-random generator, which is usually not a cryptographic-quality random number generator. Therefore, a UUID is not guaranteed to be unique cross application instances.
.PP
On Windows, the new UUID is extremely likely to be unique on the same or any other system, networked or not.
.PP
See also variant() and version().
.SH "bool QUuid::isNull () const"
.SH "bool TQUuid::isNull () const"
Returns TRUE if this is the null UUID {00000000-0000-0000-0000-000000000000}; otherwise returns FALSE.
.SH "QUuid::operator TQString () const"
.SH "TQUuid::operator TQString () const"
Returns the string representation of the uuid.
.PP
See also toString().
.SH "bool QUuid::operator!= ( const QUuid & other ) const"
Returns TRUE if this QUuid and the \fIother\fR QUuid are different; otherwise returns FALSE.
.SH "bool QUuid::operator< ( const QUuid & other ) const"
Returns TRUE if this QUuid is of the same variant, and lexicographically before the \fIother\fR QUuid; otherwise returns FALSE.
.SH "bool TQUuid::operator!= ( const TQUuid & other ) const"
Returns TRUE if this TQUuid and the \fIother\fR TQUuid are different; otherwise returns FALSE.
.SH "bool TQUuid::operator< ( const TQUuid & other ) const"
Returns TRUE if this TQUuid is of the same variant, and lexicographically before the \fIother\fR TQUuid; otherwise returns FALSE.
@ -97,7 +97,7 @@ Example (see TQValueList for the complete code):
.br
.fi
.PP
TQValueList is highly optimized for performance and memory usage. This means that you must be careful: TQValueList does not know about all its iterators and the iterators don't know to which list they belong. This makes things very fast, but if you're not careful, you can get spectacular bugs. Always make sure iterators are valid before dereferencing them or using them as parameters to generic algorithms in the STL or the QTL.
TQValueList is highly optimized for performance and memory usage. This means that you must be careful: TQValueList does not know about all its iterators and the iterators don't know to which list they belong. This makes things very fast, but if you're not careful, you can get spectacular bugs. Always make sure iterators are valid before dereferencing them or using them as parameters to generic algorithms in the STL or the TQTL.
.PP
Using an invalid iterator is undefined (your application will probably crash). Many TQt functions return const value lists; to iterate over these you should make a copy and iterate over the copy.
@ -335,7 +335,7 @@ Whenever inserting, removing or referencing elements in a vector, always make su
.br
.fi
.PP
The iterators provided by vector are random access iterators, therefore you can use them with many generic algorithms, for example, algorithms provided by the STL or the QTL.
The iterators provided by vector are random access iterators, therefore you can use them with many generic algorithms, for example, algorithms provided by the STL or the TQTL.
.PP
Another way to find an element in the vector is by using the std::find() or tqFind() algorithms. For example:
.SH "TQWidget * TQWidget::find ( WId id )\fC [static]\fR"
Returns a pointer to the widget with window identifer/handle \fIid\fR.
.PP
The window identifier type depends on the underlying window system, see ntqwindowdefs.h for the actual definition. If there is no widget with this identifier, 0 is returned.
The window identifier type depends on the underlying window system, see tqwindowdefs.h for the actual definition. If there is no widget with this identifier, 0 is returned.
This event handler can be reimplemented in a subclass to receive widget show events.
.PP
Non-spontaneous show events are sent to widgets immediately before they are shown. The spontaneous show events of top-level widgets are delivered afterwards.
<p>The <em>alignment</em> must be a bitwise OR of <ahref="ntqt.html#AlignmentFlags">TQt::AlignmentFlags</a>
<p>The <em>alignment</em> must be a bitwise OR of <ahref="tqt.html#AlignmentFlags">TQt::AlignmentFlags</a>
values. The <code>WordBreak, ExpandTabs, SingleLine</code> and <code>ShowPrefix</code> flags apply only if the label contains a plain text, and
are otherwise ignored. The <code>DontClip</code> flag is always ignored.
<p>If the label has a buddy, the <code>ShowPrefix</code> flag is forced to TRUE.
@ -192,7 +192,7 @@ are otherwise ignored. The <code>DontClip</code> flag is always ignored.
ExpandTabs</code> if the label doesn't have a buddy and
<code>AlignLeft | AlignVCenter | ExpandTabs | ShowPrefix </code> if
the label has a buddy.
<p>See also <ahref="ntqt.html#AlignmentFlags">TQt::AlignmentFlags</a>, <ahref="#2fcaa3">alignment</a>(), <ahref="#191701">setBuddy</a>() and <ahref="#dffb43">setText</a>().
<p>See also <ahref="tqt.html#AlignmentFlags">TQt::AlignmentFlags</a>, <ahref="#2fcaa3">alignment</a>(), <ahref="#191701">setBuddy</a>() and <ahref="#dffb43">setText</a>().