<trbgcolor=#f0f0f0><td><b><ahref="tqimageformatplugin.html">TQImageFormatPlugin</a></b><td>Abstract base for custom image format plugins
<trbgcolor=#f0f0f0><td><b><ahref="tqimageformattype.html">TQImageFormatType</a></b><td>Factory that makes TQImageFormat objects
<trbgcolor=#f0f0f0><td><b><ahref="tqimageio.html">TQImageIO</a></b><td>Parameters for loading and saving images
<trbgcolor=#f0f0f0><td><b><ahref="ntqinputdialog.html">TQInputDialog</a></b><td>Simple convenience dialog to get a single value from the user
<trbgcolor=#f0f0f0><td><b><ahref="tqinputdialog.html">TQInputDialog</a></b><td>Simple convenience dialog to get a single value from the user
<trbgcolor=#f0f0f0><td><b><ahref="tqintcache.html">TQIntCache</a></b><td>Template class that provides a cache based on long keys
<trbgcolor=#f0f0f0><td><b><ahref="tqintcacheiterator.html">TQIntCacheIterator</a></b><td>Iterator for TQIntCache collections
<trbgcolor=#f0f0f0><td><b><ahref="tqintdict.html">TQIntDict</a></b><td>Template class that provides a dictionary based on long keys
<trbgcolor=#f0f0f0><td><b><ahref="tqintdictiterator.html">TQIntDictIterator</a></b><td>Iterator for TQIntDict collections
<trbgcolor=#f0f0f0><td><b><ahref="qintvalidator.html">TQIntValidator</a></b><td>Validator which ensures that a string contains a valid integer within a specified range
<trbgcolor=#f0f0f0><td><b><ahref="tqintvalidator.html">TQIntValidator</a></b><td>Validator which ensures that a string contains a valid integer within a specified range
<trbgcolor=#f0f0f0><td><b><ahref="tqjiscodec.html">TQJisCodec</a></b><td>Conversion to and from JIS character sets
<trbgcolor=#f0f0f0><td><b><ahref="qkeyevent.html">TQKeyEvent</a></b><td>Describes a key event
<trbgcolor=#f0f0f0><td><b><ahref="ntqkeysequence.html">TQKeySequence</a></b><td>Encapsulates a key sequence as used by accelerators
<trbgcolor=#f0f0f0><td><b><ahref="tqkeyevent.html">TQKeyEvent</a></b><td>Describes a key event
<trbgcolor=#f0f0f0><td><b><ahref="tqkeysequence.html">TQKeySequence</a></b><td>Encapsulates a key sequence as used by accelerators
<trbgcolor=#f0f0f0><td><b><ahref="tqlcdnumber.html">TQLCDNumber</a></b><td>Displays a number with LCD-like digits
<trbgcolor=#f0f0f0><td><b><ahref="tqlabel.html">TQLabel</a></b><td>Text or image display
<trbgcolor=#f0f0f0><td><b><ahref="tqlayout.html">TQLayout</a></b><td>The base class of geometry managers
<trbgcolor=#f0f0f0><td><b><ahref="tqlayoutitem.html">TQLayoutItem</a></b><td>Abstract item that a TQLayout manipulates
<trbgcolor=#f0f0f0><td><b><ahref="tqlayoutiterator.html">TQLayoutIterator</a></b><td>Iterators over TQLayoutItem
<trbgcolor=#f0f0f0><td><b><ahref="ntqlibrary.html">TQLibrary</a></b><td>Wrapper for handling shared libraries
<trbgcolor=#f0f0f0><td><b><ahref="tqlibrary.html">TQLibrary</a></b><td>Wrapper for handling shared libraries
<trbgcolor=#f0f0f0><td><b><ahref="tqlineedit.html">TQLineEdit</a></b><td>One-line text editor
<trbgcolor=#f0f0f0><td><b><ahref="tqlistbox.html">TQListBox</a></b><td>List of selectable, read-only items
<trbgcolor=#f0f0f0><td><b><ahref="tqlistboxitem.html">TQListBoxItem</a></b><td>The base class of all list box items
@ -45,7 +45,7 @@ from other sources, e.g. <a href="tqtimerevent.html">TQTimerEvent</a>, and some
application program. TQt is symmetric, as usual, so you can send
events in exactly the same ways as TQt's own event loop does.
<p> Most events types have special classes, most commonly <ahref="qresizeevent.html">TQResizeEvent</a>,
<ahref="tqpaintevent.html">TQPaintEvent</a>, <ahref="qmouseevent.html">TQMouseEvent</a>, <ahref="qkeyevent.html">TQKeyEvent</a> and <ahref="tqcloseevent.html">TQCloseEvent</a>.
<ahref="tqpaintevent.html">TQPaintEvent</a>, <ahref="qmouseevent.html">TQMouseEvent</a>, <ahref="tqkeyevent.html">TQKeyEvent</a> and <ahref="tqcloseevent.html">TQCloseEvent</a>.
There are many others, perhaps forty or so, but most are rather odd.
<p> Each class subclasses <ahref="tqevent.html">TQEvent</a> and adds event-specific functions; see,
for example, <ahref="qresizeevent.html">TQResizeEvent</a>. In the case of <ahref="qresizeevent.html">TQResizeEvent</a>, <ahref="qresizeevent.html#size">TQResizeEvent::size</a>() and <ahref="qresizeevent.html#oldSize">TQResizeEvent::oldSize</a>() are added.
<trbgcolor=#f0f0f0><td><b><ahref="tqfileiconprovider.html">TQFileIconProvider</a></b><td>Icons for TQFileDialog to use
<trbgcolor=#f0f0f0><td><b><ahref="tqfilepreview.html">TQFilePreview</a></b><td>File previewing in TQFileDialog
<trbgcolor=#f0f0f0><td><b><ahref="tqfocusdata.html">TQFocusData</a></b><td>Maintains the list of widgets in the focus chain
<trbgcolor=#f0f0f0><td><b><ahref="qintvalidator.html">TQIntValidator</a></b><td>Validator which ensures that a string contains a valid integer within a specified range
<trbgcolor=#f0f0f0><td><b><ahref="ntqkeysequence.html">TQKeySequence</a></b><td>Encapsulates a key sequence as used by accelerators
<trbgcolor=#f0f0f0><td><b><ahref="tqintvalidator.html">TQIntValidator</a></b><td>Validator which ensures that a string contains a valid integer within a specified range
<trbgcolor=#f0f0f0><td><b><ahref="tqkeysequence.html">TQKeySequence</a></b><td>Encapsulates a key sequence as used by accelerators
<trbgcolor=#f0f0f0><td><b><ahref="tqmacmime.html">TQMacMime</a></b><td>Maps open-standard MIME to Mac flavors
<trbgcolor=#f0f0f0><td><b><ahref="tqmenudata.html">TQMenuData</a></b><td>Base class for TQMenuBar and TQPopupMenu
<trbgcolor=#f0f0f0><td><b><ahref="tqmimesource.html">TQMimeSource</a></b><td>Abstraction of objects which provide formatted data of a certain MIME type
<p> See the <ahref="plugins-howto.html">plugins documentation</a> for a
description of how the library paths are used.
<p><p>See also <ahref="#setLibraryPaths">setLibraryPaths</a>(), <ahref="#addLibraryPath">addLibraryPath</a>(), <ahref="#removeLibraryPath">removeLibraryPath</a>(), and <ahref="ntqlibrary.html">TQLibrary</a>.
<p><p>See also <ahref="#setLibraryPaths">setLibraryPaths</a>(), <ahref="#addLibraryPath">addLibraryPath</a>(), <ahref="#removeLibraryPath">removeLibraryPath</a>(), and <ahref="tqlibrary.html">TQLibrary</a>.
@ -1412,7 +1412,7 @@ that may be used on touch-screens or similar IO-devices.
Sets the list of directories to search when loading libraries to <em>paths</em>.
All existing paths will be deleted and the path list will consist of the
paths given in <em>paths</em>.
<p><p>See also <ahref="#libraryPaths">libraryPaths</a>(), <ahref="#addLibraryPath">addLibraryPath</a>(), <ahref="#removeLibraryPath">removeLibraryPath</a>(), and <ahref="ntqlibrary.html">TQLibrary</a>.
<p><p>See also <ahref="#libraryPaths">libraryPaths</a>(), <ahref="#addLibraryPath">addLibraryPath</a>(), <ahref="#removeLibraryPath">removeLibraryPath</a>(), and <ahref="tqlibrary.html">TQLibrary</a>.
@ -1733,20 +1733,20 @@ tooltip; see <a href="tqiconview.html#setShowToolTips">setShowToolTips<
</doc>
</property>
<property>
<name>QIntValidator::bottom</name>
<doc href="qintvalidator.html#bottom-prop">
<name>TQIntValidator::bottom</name>
<doc href="tqintvalidator.html#bottom-prop">
<p>This property holds the validator's lowest acceptable value.
<p>Set this property's value with <a href="qintvalidator.html#setBottom">setBottom</a>() and get this property's value with <a href="qintvalidator.html#bottom">bottom</a>().
<p><p>See also <a href="qintvalidator.html#setRange">setRange</a>().
<p>Set this property's value with <a href="tqintvalidator.html#setBottom">setBottom</a>() and get this property's value with <a href="tqintvalidator.html#bottom">bottom</a>().
<p><p>See also <a href="tqintvalidator.html#setRange">setRange</a>().
</doc>
</property>
<property>
<name>QIntValidator::top</name>
<doc href="qintvalidator.html#top-prop">
<name>TQIntValidator::top</name>
<doc href="tqintvalidator.html#top-prop">
<p>This property holds the validator's highest acceptable value.
<p>Set this property's value with <a href="qintvalidator.html#setTop">setTop</a>() and get this property's value with <a href="qintvalidator.html#top">top</a>().
<p><p>See also <a href="qintvalidator.html#setRange">setRange</a>().
<p>Set this property's value with <a href="tqintvalidator.html#setTop">setTop</a>() and get this property's value with <a href="tqintvalidator.html#top">top</a>().
<p><p>See also <a href="tqintvalidator.html#setRange">setRange</a>().
</doc>
</property>
@ -4438,7 +4438,7 @@ can reimplement the <a href="tqwidget.html#enabledChange">enabledChange<
<p> Disabling a widget implicitly disables all its children. Enabling
respectively enables all child widgets unless they have been
explicitly disabled.
<p> <p>See also <a href="tqwidget.html#enabled-prop">enabled</a>, <a href="tqwidget.html#isEnabledTo">isEnabledTo</a>(), <a href="qkeyevent.html">QKeyEvent</a>, <a href="qmouseevent.html">QMouseEvent</a>, and <a href="tqwidget.html#enabledChange">enabledChange</a>().
<p> <p>See also <a href="tqwidget.html#enabled-prop">enabled</a>, <a href="tqwidget.html#isEnabledTo">isEnabledTo</a>(), <a href="tqkeyevent.html">TQKeyEvent</a>, <a href="qmouseevent.html">QMouseEvent</a>, and <a href="tqwidget.html#enabledChange">enabledChange</a>().
<p>Set this property's value with <a href="tqwidget.html#setEnabled">setEnabled</a>() and get this property's value with <a href="tqwidget.html#isEnabled">isEnabled</a>().
@ -70,7 +70,7 @@ provide a <a href="tqvalidator.html#fixup">fixup</a>() function.
with <ahref="#setBottom">setBottom</a>() and <ahref="#setTop">setTop</a>(). Set the number of decimal places
with <ahref="#setDecimals">setDecimals</a>(). The <ahref="#validate">validate</a>() function returns the validation
state.
<p><p>See also <ahref="qintvalidator.html">TQIntValidator</a>, <ahref="tqregexpvalidator.html">TQRegExpValidator</a>, and <ahref="misc.html">Miscellaneous Classes</a>.
<p><p>See also <ahref="tqintvalidator.html">TQIntValidator</a>, <ahref="tqregexpvalidator.html">TQRegExpValidator</a>, and <ahref="misc.html">Miscellaneous Classes</a>.
<p> A TQAccel contains a list of accelerator items that can be
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="ntqkeysequence.html">TQKeySequence</a>. A single key sequence consists of a keyboard code
<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="qnamespace-h.html">ntqnamespace.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>.
@ -141,7 +141,7 @@ combination.
TQ_SLOT(printDoc()) ); // printDoc() slot
</pre>
<p><p>See also <ahref="qkeyevent.html">TQKeyEvent</a>, <ahref="tqwidget.html#keyPressEvent">TQWidget::keyPressEvent</a>(), <ahref="tqmenudata.html#setAccel">TQMenuData::setAccel</a>(), <ahref="tqbutton.html#accel-prop">TQButton::accel</a>, <ahref="tqlabel.html#setBuddy">TQLabel::setBuddy</a>(), <ahref="ntqkeysequence.html">TQKeySequence</a>, <ahref="guibooks.html#fowler">GUI Design Handbook: Keyboard Shortcuts</a>, and <ahref="misc.html">Miscellaneous Classes</a>.
<p><p>See also <ahref="tqkeyevent.html">TQKeyEvent</a>, <ahref="tqwidget.html#keyPressEvent">TQWidget::keyPressEvent</a>(), <ahref="tqmenudata.html#setAccel">TQMenuData::setAccel</a>(), <ahref="tqbutton.html#accel-prop">TQButton::accel</a>, <ahref="tqlabel.html#setBuddy">TQLabel::setBuddy</a>(), <ahref="tqkeysequence.html">TQKeySequence</a>, <ahref="guibooks.html#fowler">GUI Design Handbook: Keyboard Shortcuts</a>, and <ahref="misc.html">Miscellaneous Classes</a>.
@ -284,7 +284,7 @@ and the user hits the accelerator key.
accelerator key), use <ahref="tqmenudata.html#setWhatsThis">TQMenuData::setWhatsThis</a>().
<p><p>See also <ahref="#whatsThis">whatsThis</a>(), <ahref="tqwhatsthis.html#inWhatsThisMode">TQWhatsThis::inWhatsThisMode</a>(), <ahref="tqmenudata.html#setWhatsThis">TQMenuData::setWhatsThis</a>(), and <ahref="tqaction.html#whatsThis-prop">TQAction::whatsThis</a>.
@ -185,7 +185,7 @@ See the <a href="tqbutton.html#pixmap-prop">"pixmap"</a> property for details.
<p> This signal is emitted when the button is released.
<p><p>See also <ahref="tqbutton.html#pressed">pressed</a>(), <ahref="tqbutton.html#clicked">clicked</a>(), and <ahref="tqbutton.html#toggled">toggled</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 TQIMEvent</h1>
<p>This is the complete list of member functions for
<ahref="qimevent.html">TQIMEvent</a>, including inherited members.
<ahref="tqimevent.html">TQIMEvent</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 TQInputDialog</h1>
<p>This is the complete list of member functions for
<ahref="ntqinputdialog.html">TQInputDialog</a>, including inherited members.
<ahref="tqinputdialog.html">TQInputDialog</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 TQIntValidator</h1>
<p>This is the complete list of member functions for
<ahref="qintvalidator.html">TQIntValidator</a>, including inherited members.
<ahref="tqintvalidator.html">TQIntValidator</a>, including inherited members.
</h3><p>Returns the validator's highest acceptable value.
See the <ahref="qintvalidator.html#top-prop">"top"</a> property for details.
See the <ahref="tqintvalidator.html#top-prop">"top"</a> property for details.
<h3class=fn><ahref="tqvalidator.html#State-enum">TQValidator::State</a><aname="validate"></a>TQIntValidator::validate ( <ahref="tqstring.html">TQString</a> & input, int & ) const<tt> [virtual]</tt>
</h3>
Returns <ahref="tqvalidator.html#State-enum">Acceptable</a> if the <em>input</em> is an integer within the
<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><h1align=center>Complete Member List for TQKeyEvent</h1>
<p>This is the complete list of member functions for
<ahref="qkeyevent.html">TQKeyEvent</a>, including inherited members.
<ahref="tqkeyevent.html">TQKeyEvent</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 TQKeySequence</h1>
<p>This is the complete list of member functions for
<ahref="ntqkeysequence.html">TQKeySequence</a>, including inherited members.
<ahref="tqkeysequence.html">TQKeySequence</a>, including inherited members.
@ -118,7 +118,7 @@ Constructs a key sequence with up to 4 keys <em>k1</em>, <em>k2</em>,
<p> The key codes are listed in <ahref="qnamespace-h.html">ntqnamespace.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>.
<tdalign="right"valign="center"><imgsrc="logo32.png"align="right"width="64"height="32"border="0"></td></tr></table><h1align=center>Complete Member List for TQLibrary</h1>
<p>This is the complete list of member functions for
<ahref="ntqlibrary.html">TQLibrary</a>, including inherited members.
<ahref="tqlibrary.html">TQLibrary</a>, including inherited members.
Converts key press event <em>e</em> into a line edit action.
<p> If Return or Enter is pressed and the current text is valid (or
@ -512,7 +512,7 @@ the text which may be entered.
<p> If <em>v</em> == 0, <ahref="#setValidator">setValidator</a>() removes the current input validator.
The initial setting is to have no input validator (i.e. any input
is accepted up to <ahref="#maxLength">maxLength</a>()).
<p><p>See also <ahref="#validator">validator</a>(), <ahref="qintvalidator.html">TQIntValidator</a>, <ahref="tqdoublevalidator.html">TQDoubleValidator</a>, and <ahref="tqregexpvalidator.html">TQRegExpValidator</a>.
<p><p>See also <ahref="#validator">validator</a>(), <ahref="tqintvalidator.html">TQIntValidator</a>, <ahref="tqdoublevalidator.html">TQDoubleValidator</a>, and <ahref="tqregexpvalidator.html">TQRegExpValidator</a>.
<p>Examples: <ahref="lineedits-example.html#x180">lineedits/lineedits.cpp</a> and <ahref="wizard-example.html#x7">wizard/wizard.cpp</a>.
<p><p>See also <ahref="tqmenudata.html#removeItem">removeItem</a>(), <ahref="tqmenudata.html#changeItem">changeItem</a>(), <ahref="tqmenudata.html#setAccel">setAccel</a>(), <ahref="tqmenudata.html#connectItem">connectItem</a>(), <ahref="tqaccel.html">TQAccel</a>, and <ahref="qnamespace-h.html">ntqnamespace.h</a>.
<p>Examples: <ahref="addressbook-example.html#x569">addressbook/mainwindow.cpp</a>, <ahref="canvas-example.html#x2936">canvas/canvas.cpp</a>, <ahref="menu-example.html#x1869">menu/menu.cpp</a>, <ahref="qwerty-example.html#x371">qwerty/qwerty.cpp</a>, <ahref="scrollview-example.html#x634">scrollview/scrollview.cpp</a>, <ahref="showimg-example.html#x1327">showimg/showimg.cpp</a>, and <ahref="sound-example.html#x2810">sound/sound.cpp</a>.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Inserts a menu item with icon <em>icon</em>, text <em>text</em>, accelerator
@ -325,7 +325,7 @@ icon will be displayed to the left of the text in the item.
<p> Returns the allocated <ahref="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0).
<p><p>See also <ahref="tqmenudata.html#removeItem">removeItem</a>(), <ahref="tqmenudata.html#changeItem">changeItem</a>(), <ahref="tqmenudata.html#setAccel">setAccel</a>(), <ahref="tqmenudata.html#connectItem">connectItem</a>(), <ahref="tqaccel.html">TQAccel</a>, and <ahref="qnamespace-h.html">ntqnamespace.h</a>.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Inserts a menu item with pixmap <em>pixmap</em>, accelerator <em>accel</em>,
@ -337,7 +337,7 @@ should provide a mask (see <a href="tqpixmap.html#mask">TQPixmap::mask</a>()).
<p> Returns the allocated <ahref="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0).
<p><p>See also <ahref="tqmenudata.html#removeItem">removeItem</a>(), <ahref="tqmenudata.html#changeItem">changeItem</a>(), <ahref="tqmenudata.html#setAccel">setAccel</a>(), and <ahref="tqmenudata.html#connectItem">connectItem</a>().
<p><p>See also <ahref="#removeItem">removeItem</a>(), <ahref="#changeItem">changeItem</a>(), <ahref="#setAccel">setAccel</a>(), <ahref="#connectItem">connectItem</a>(), <ahref="tqaccel.html">TQAccel</a>, and <ahref="qnamespace-h.html">ntqnamespace.h</a>.
<p>Examples: <ahref="addressbook-example.html#x569">addressbook/mainwindow.cpp</a>, <ahref="canvas-example.html#x2936">canvas/canvas.cpp</a>, <ahref="menu-example.html#x1869">menu/menu.cpp</a>, <ahref="qwerty-example.html#x371">qwerty/qwerty.cpp</a>, <ahref="scrollview-example.html#x634">scrollview/scrollview.cpp</a>, <ahref="showimg-example.html#x1327">showimg/showimg.cpp</a>, and <ahref="sound-example.html#x2810">sound/sound.cpp</a>.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Inserts a menu item with icon <em>icon</em>, text <em>text</em>, accelerator
@ -349,7 +349,7 @@ icon will be displayed to the left of the text in the item.
<p> Returns the allocated <ahref="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0).
<p><p>See also <ahref="#removeItem">removeItem</a>(), <ahref="#changeItem">changeItem</a>(), <ahref="#setAccel">setAccel</a>(), <ahref="#connectItem">connectItem</a>(), <ahref="tqaccel.html">TQAccel</a>, and <ahref="qnamespace-h.html">ntqnamespace.h</a>.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Inserts a menu item with pixmap <em>pixmap</em>, accelerator <em>accel</em>,
@ -361,7 +361,7 @@ should provide a mask (see <a href="tqpixmap.html#mask">TQPixmap::mask</a>()).
<p> Returns the allocated <ahref="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0).
<p><p>See also <ahref="#removeItem">removeItem</a>(), <ahref="#changeItem">changeItem</a>(), <ahref="#setAccel">setAccel</a>(), and <ahref="#connectItem">connectItem</a>().
@ -208,7 +208,7 @@ You can connect it to any slot that sets up the menu contents
<p><p>See also <ahref="#aboutToHide">aboutToHide</a>(), <ahref="tqmenudata.html#setItemEnabled">setItemEnabled</a>(), <ahref="tqmenudata.html#setItemChecked">setItemChecked</a>(), <ahref="tqmenudata.html#insertItem">insertItem</a>(), and <ahref="tqmenudata.html#removeItem">removeItem</a>().
<p><p>See also <ahref="tqmenudata.html#removeItem">removeItem</a>(), <ahref="tqmenudata.html#changeItem">changeItem</a>(), <ahref="tqmenudata.html#setAccel">setAccel</a>(), <ahref="tqmenudata.html#connectItem">connectItem</a>(), <ahref="tqaccel.html">TQAccel</a>, and <ahref="qnamespace-h.html">ntqnamespace.h</a>.
<p>Examples: <ahref="addressbook-example.html#x569">addressbook/mainwindow.cpp</a>, <ahref="canvas-example.html#x2936">canvas/canvas.cpp</a>, <ahref="menu-example.html#x1869">menu/menu.cpp</a>, <ahref="qwerty-example.html#x371">qwerty/qwerty.cpp</a>, <ahref="scrollview-example.html#x634">scrollview/scrollview.cpp</a>, <ahref="showimg-example.html#x1327">showimg/showimg.cpp</a>, and <ahref="sound-example.html#x2810">sound/sound.cpp</a>.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Inserts a menu item with icon <em>icon</em>, text <em>text</em>, accelerator
@ -451,7 +451,7 @@ icon will be displayed to the left of the text in the item.
<p> Returns the allocated <ahref="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0).
<p><p>See also <ahref="tqmenudata.html#removeItem">removeItem</a>(), <ahref="tqmenudata.html#changeItem">changeItem</a>(), <ahref="tqmenudata.html#setAccel">setAccel</a>(), <ahref="tqmenudata.html#connectItem">connectItem</a>(), <ahref="tqaccel.html">TQAccel</a>, and <ahref="qnamespace-h.html">ntqnamespace.h</a>.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Inserts a menu item with pixmap <em>pixmap</em>, accelerator <em>accel</em>,
@ -463,7 +463,7 @@ should provide a mask (see <a href="tqpixmap.html#mask">TQPixmap::mask</a>()).
<p> Returns the allocated <ahref="tqmenudata.html#menu-identifier">menu identifier</a> number (<em>id</em> if <em>id</em> >= 0).
<p><p>See also <ahref="tqmenudata.html#removeItem">removeItem</a>(), <ahref="tqmenudata.html#changeItem">changeItem</a>(), <ahref="tqmenudata.html#setAccel">setAccel</a>(), and <ahref="tqmenudata.html#connectItem">connectItem</a>().
<p> This signal is emitted when the button is released.
<p><p>See also <ahref="tqbutton.html#pressed">pressed</a>(), <ahref="tqbutton.html#clicked">clicked</a>(), and <ahref="tqbutton.html#toggled">toggled</a>().
@ -172,7 +172,7 @@ See the <a href="tqbutton.html#pixmap-prop">"pixmap"</a> property for details.
<p> This signal is emitted when the button is released.
<p><p>See also <ahref="tqbutton.html#pressed">pressed</a>(), <ahref="tqbutton.html#clicked">clicked</a>(), and <ahref="tqbutton.html#toggled">toggled</a>().
@ -105,7 +105,7 @@ normally be associated with a widget as in the example above.
s = "readm"; v.<ahref="#validate">validate</a>( s, pos ); // Returns Intermediate
</pre>
<p><p>See also <ahref="tqregexp.html">TQRegExp</a>, <ahref="qintvalidator.html">TQIntValidator</a>, <ahref="tqdoublevalidator.html">TQDoubleValidator</a>, and <ahref="misc.html">Miscellaneous Classes</a>.
<p><p>See also <ahref="tqregexp.html">TQRegExp</a>, <ahref="tqintvalidator.html">TQIntValidator</a>, <ahref="tqdoublevalidator.html">TQDoubleValidator</a>, and <ahref="misc.html">Miscellaneous Classes</a>.
<p>Inherited by <ahref="qintvalidator.html">TQIntValidator</a>, <ahref="tqdoublevalidator.html">TQDoubleValidator</a>, and <ahref="tqregexpvalidator.html">TQRegExpValidator</a>.
<p>Inherited by <ahref="tqintvalidator.html">TQIntValidator</a>, <ahref="tqdoublevalidator.html">TQDoubleValidator</a>, and <ahref="tqregexpvalidator.html">TQRegExpValidator</a>.
<p><ahref="tqvalidator-members.html">List of all member functions.</a>
The TQValidator class provides validation of input text.
<p>
<p> The class itself is abstract. Two subclasses, <ahref="qintvalidator.html">TQIntValidator</a> and
<p> The class itself is abstract. Two subclasses, <ahref="tqintvalidator.html">TQIntValidator</a> and
<ahref="tqdoublevalidator.html">TQDoubleValidator</a>, provide basic numeric-range checking, and <ahref="tqregexpvalidator.html">TQRegExpValidator</a> provides general checking using a custom <ahref="tqregexp.html#regular-expression">regular expression</a>.
<p> If the built-in validators aren't sufficient, you can subclass
TQValidator. The class has two virtual functions: <ahref="#validate">validate</a>() and
@ -139,7 +139,7 @@ valid.
<p> The function can change <em>input</em> and <em>pos</em> (the cursor position)
if it wants to.
<p>Reimplemented in <ahref="qintvalidator.html#validate">TQIntValidator</a>, <ahref="tqdoublevalidator.html#validate">TQDoubleValidator</a>, and <ahref="tqregexpvalidator.html#validate">TQRegExpValidator</a>.
<p>Reimplemented in <ahref="tqintvalidator.html#validate">TQIntValidator</a>, <ahref="tqdoublevalidator.html#validate">TQDoubleValidator</a>, and <ahref="tqregexpvalidator.html#validate">TQRegExpValidator</a>.
<!-- eof -->
<hr><p>
This file is part of the <ahref="index.html">TQt toolkit</a>.
This event handler, for event <em>e</em>, can be reimplemented in a
subclass to receive key press events for the widget.
<p> A widget must call <ahref="#setFocusPolicy">setFocusPolicy</a>() to accept focus initially and
have focus in order to receive a key press event.
<p> If you reimplement this handler, it is very important that you
explicitly <ahref="qkeyevent.html#ignore">ignore</a> the event
explicitly <ahref="tqkeyevent.html#ignore">ignore</a> the event
if you do not understand it, so that the widget's parent can
interpret it; otherwise, the event will be implicitly accepted.
Although top-level widgets are able to choose whether to accept
@ -1391,11 +1391,11 @@ could otherwise handle them, it is good practice to explicitly
ignore events to make widgets as reusable as possible.
<p> The default implementation closes popup widgets if the user
presses <b>Esc</b>. Otherwise the event is ignored.
<p><p>See also <ahref="#keyReleaseEvent">keyReleaseEvent</a>(), <ahref="qkeyevent.html#ignore">TQKeyEvent::ignore</a>(), <ahref="#focusPolicy-prop">focusPolicy</a>, <ahref="#focusInEvent">focusInEvent</a>(), <ahref="#focusOutEvent">focusOutEvent</a>(), <ahref="#event">event</a>(), and <ahref="qkeyevent.html">TQKeyEvent</a>.
<p><p>See also <ahref="#keyReleaseEvent">keyReleaseEvent</a>(), <ahref="tqkeyevent.html#ignore">TQKeyEvent::ignore</a>(), <ahref="#focusPolicy-prop">focusPolicy</a>, <ahref="#focusInEvent">focusInEvent</a>(), <ahref="#focusOutEvent">focusOutEvent</a>(), <ahref="#event">event</a>(), and <ahref="tqkeyevent.html">TQKeyEvent</a>.
This event handler, for event <em>e</em>, can be reimplemented in a
subclass to receive key release events for the widget.
@ -1403,10 +1403,10 @@ subclass to receive key release events for the widget.
initially and <ahref="#hasFocus">have focus</a> in order to
receive a key release event.
<p> If you reimplement this handler, it is very important that you
<ahref="qkeyevent.html">ignore()</a> the release if you do not
<ahref="tqkeyevent.html">ignore()</a> the release if you do not
understand it, so that the widget's parent can interpret it.
<p> The default implementation ignores the event.
<p><p>See also <ahref="#keyPressEvent">keyPressEvent</a>(), <ahref="qkeyevent.html#ignore">TQKeyEvent::ignore</a>(), <ahref="#focusPolicy-prop">focusPolicy</a>, <ahref="#focusInEvent">focusInEvent</a>(), <ahref="#focusOutEvent">focusOutEvent</a>(), <ahref="#event">event</a>(), and <ahref="qkeyevent.html">TQKeyEvent</a>.
<p><p>See also <ahref="#keyPressEvent">keyPressEvent</a>(), <ahref="tqkeyevent.html#ignore">TQKeyEvent::ignore</a>(), <ahref="#focusPolicy-prop">focusPolicy</a>, <ahref="#focusInEvent">focusInEvent</a>(), <ahref="#focusOutEvent">focusOutEvent</a>(), <ahref="#event">event</a>(), and <ahref="tqkeyevent.html">TQKeyEvent</a>.
@ -1921,7 +1921,7 @@ See the <a href="tqwidget.html#cursor-prop">"cursor"</a> property for details.
Disables widget input events if <em>disable</em> is TRUE; otherwise
enables input events.
<p> See the <ahref="#enabled-prop">enabled</a> documentation for more information.
<p><p>See also <ahref="#isEnabledTo">isEnabledTo</a>(), <ahref="qkeyevent.html">TQKeyEvent</a>, <ahref="qmouseevent.html">TQMouseEvent</a>, and <ahref="#enabledChange">enabledChange</a>().
<p><p>See also <ahref="#isEnabledTo">isEnabledTo</a>(), <ahref="tqkeyevent.html">TQKeyEvent</a>, <ahref="qmouseevent.html">TQMouseEvent</a>, and <ahref="#enabledChange">enabledChange</a>().
@ -2706,7 +2706,7 @@ can reimplement the <a href="#enabledChange">enabledChange</a>() function.
<p> Disabling a widget implicitly disables all its children. Enabling
respectively enables all child widgets unless they have been
explicitly disabled.
<p><p>See also <ahref="#enabled-prop">enabled</a>, <ahref="#isEnabledTo">isEnabledTo</a>(), <ahref="qkeyevent.html">TQKeyEvent</a>, <ahref="qmouseevent.html">TQMouseEvent</a>, and <ahref="#enabledChange">enabledChange</a>().
<p><p>See also <ahref="#enabled-prop">enabled</a>, <ahref="#isEnabledTo">isEnabledTo</a>(), <ahref="tqkeyevent.html">TQKeyEvent</a>, <ahref="qmouseevent.html">TQMouseEvent</a>, and <ahref="#enabledChange">enabledChange</a>().
<p>Set this property's value with <ahref="#setEnabled">setEnabled</a>() and get this property's value with <ahref="#isEnabled">isEnabled</a>().
.BI "TQString keyToString ( QKeySequence k ) \fI(obsolete)\fR"
.BI "TQString keyToString ( TQKeySequence k ) \fI(obsolete)\fR"
.br
.ti -1c
.BI "QKeySequence stringToKey ( const TQString & s ) \fI(obsolete)\fR"
.BI "TQKeySequence stringToKey ( const TQString & s ) \fI(obsolete)\fR"
.br
.in -1c
.SS "Protected Members"
@ -116,7 +116,7 @@ In most cases, you will not need to use this class directly. Use the TQAction cl
.PP
A TQAccel contains a list of accelerator items that can be manipulated using insertItem(), removeItem(), clear(), key() and findKey().
.PP
Each accelerator item consists of an identifier and a QKeySequence. A single key sequence consists of a keyboard code combined with modifiers (SHIFT, CTRL, ALT or UNICODE_ACCEL). For example, \fCCTRL + Key_P\fR could be a shortcut for printing a document. The key codes are listed in ntqnamespace.h. As an alternative, use UNICODE_ACCEL with the unicode code point of the character. For example, \fCUNICODE_ACCEL + 'A'\fR gives the same accelerator as Key_A.
Each accelerator item consists of an identifier and a TQKeySequence. A single key sequence consists of a keyboard code combined with modifiers (SHIFT, CTRL, ALT or UNICODE_ACCEL). For example, \fCCTRL + Key_P\fR could be a shortcut for printing a document. The key codes are listed in ntqnamespace.h. As an alternative, use UNICODE_ACCEL with the unicode code point of the character. For example, \fCUNICODE_ACCEL + 'A'\fR gives the same accelerator as Key_A.
.PP
When an accelerator key is pressed, the accelerator sends out the signal activated() with a number that identifies this particular accelerator item. Accelerator items can also be individually connected, so that two different keys will activate two different slots (see connectItem() and disconnectItem()).
.PP
@ -132,7 +132,7 @@ Please note that the accelerator
.PP
.nf
.br
accelerator->insertItem( QKeySequence("M") );
accelerator->insertItem( TQKeySequence("M") );
.br
.fi
can be triggered with both the 'M' key, and with Shift+M, unless a second accelerator is defined for the Shift+M combination.
@ -151,7 +151,7 @@ Example:
.br
.fi
.PP
See also QKeyEvent, TQWidget::keyPressEvent(), TQMenuData::setAccel(), TQButton::accel, TQLabel::setBuddy(), QKeySequence, GUI Design Handbook: Keyboard Shortcuts, and Miscellaneous Classes.
See also TQKeyEvent, TQWidget::keyPressEvent(), TQMenuData::setAccel(), TQButton::accel, TQLabel::setBuddy(), TQKeySequence, GUI Design Handbook: Keyboard Shortcuts, and Miscellaneous Classes.
Returns the identifier of the accelerator item with the key code \fIkey\fR, or -1 if the item cannot be found.
.SH "int TQAccel::insertItem ( const QKeySequence & key, int id = -1 )"
.SH "int TQAccel::insertItem ( const TQKeySequence & key, int id = -1 )"
Inserts an accelerator item and returns the item's identifier.
.PP
\fIkey\fR is a key code and an optional combination of SHIFT, CTRL and ALT. \fIid\fR is the accelerator item id.
@ -231,14 +231,14 @@ See also setEnabled() and isItemEnabled().
Returns TRUE if the accelerator item with the identifier \fIid\fR is enabled. Returns FALSE if the item is disabled or cannot be found.
.PP
See also setItemEnabled() and isEnabled().
.SH "QKeySequence TQAccel::key ( int id )"
.SH "TQKeySequence TQAccel::key ( int id )"
Returns the key sequence of the accelerator item with identifier \fIid\fR, or an invalid key sequence (0) if the id cannot be found.
.SH "TQString TQAccel::keyToString ( QKeySequence k )\fC [static]\fR"
.SH "TQString TQAccel::keyToString ( TQKeySequence k )\fC [static]\fR"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Creates an accelerator string for the key \fIk\fR. For instance CTRL+Key_O gives "Ctrl+O". The "Ctrl" etc. are translated (using TQObject::tr()) in the "TQAccel" context.
.PP
The function is superfluous. Cast the QKeySequence \fIk\fR to a TQString for the same effect.
The function is superfluous. Cast the TQKeySequence \fIk\fR to a TQString for the same effect.
.SH "void TQAccel::removeItem ( int id )"
Removes the accelerator item with the identifier \fIid\fR.
.SH "void TQAccel::repairEventFilter ()"
@ -263,13 +263,13 @@ The text will be shown when the application is in What's This mode and the user
To set What's This help on a menu item (with or without an accelerator key), use TQMenuData::setWhatsThis().
.PP
See also whatsThis(), TQWhatsThis::inWhatsThisMode(), TQMenuData::setWhatsThis(), and TQAction::whatsThis.
Returns the shortcut key sequence for \fIstr\fR, or an invalid key sequence (0) if \fIstr\fR has no shortcut sequence.
.PP
For example, shortcutKey("E&xit") returns ALT+Key_X, shortcutKey("&Quit") returns ALT+Key_Q and shortcutKey("Quit") returns 0. (In code that does not inherit the TQt namespace class, you must write e.g. TQt::ALT+TQt::Key_Q.)
.PP
We provide a list of common accelerators in English. At the time of writing, Microsoft and Open Group do not appear to have issued equivalent recommendations for other languages.
.SH "QKeySequence TQAccel::stringToKey ( const TQString & s )\fC [static]\fR"
.SH "TQKeySequence TQAccel::stringToKey ( const TQString & s )\fC [static]\fR"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Returns an accelerator code for the string \fIs\fR. For example" Ctrl+O" gives CTRL+UNICODE_ACCEL+'O'. The strings "Ctrl"," Shift", "Alt" are recognized, as well as their translated equivalents in the "TQAccel" context (using TQObject::tr()). Returns 0 if \fIs\fR is not recognized.
@ -288,7 +288,7 @@ This function is typically used with tr(), so that accelerator keys can be repla
.PP
Notice the \fC"File|Open"\fR translator comment. It is by no means necessary, but it provides some context for the human translator.
.PP
The function is superfluous. Construct a QKeySequence from the string \fIs\fR for the same effect.
The function is superfluous. Construct a TQKeySequence from the string \fIs\fR for the same effect.
.PP
See also TQObject::tr() and Internationalization with Qt.
This constructor results in an icon-less action with the the menu text \fImenuText\fR and keyboard accelerator \fIaccel\fR. It is a child of \fIparent\fR and called \fIname\fR.
.PP
If \fIparent\fR is a TQActionGroup, the action automatically becomes a member of it.
@ -251,7 +251,7 @@ The action uses a stripped version of \fImenuText\fR (e.g. "&Menu Option..." bec
Call setToggleAction(TRUE) to make the action a toggle action.
.PP
\fBWarning:\fR To prevent recursion, don't create an action as a child of a widget that the action is later added to.
This constructor creates an action with the following properties: the icon or iconset \fIicon\fR, the menu text \fImenuText\fR and keyboard accelerator \fIaccel\fR. It is a child of \fIparent\fR and called \fIname\fR.
.PP
If \fIparent\fR is a TQActionGroup, the action automatically becomes a member of it.
@ -263,7 +263,7 @@ The action uses a stripped version of \fImenuText\fR (e.g. "&Menu Option..." bec
Call setToggleAction(TRUE) to make the action a toggle action.
.PP
\fBWarning:\fR To prevent recursion, don't create an action as a child of a widget that the action is later added to.
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
This constructor creates an action with the following properties: the description \fItext\fR, the icon or iconset \fIicon\fR, the menu text \fImenuText\fR and keyboard accelerator \fIaccel\fR. It is a child of \fIparent\fR and called \fIname\fR. If \fItoggle\fR is TRUE the action will be a toggle action, otherwise it will be a command action.
@ -273,7 +273,7 @@ If \fIparent\fR is a TQActionGroup, the action automatically becomes a member of
For accelerators and status tips to work, \fIparent\fR must either be a widget, or an action group whose parent is a widget.
.PP
The \fItext\fR and \fIaccel\fR will be used for tool tips and status tips unless you provide specific text for these using setToolTip() and setStatusTip().
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
This constructor results in an icon-less action with the description \fItext\fR, the menu text \fImenuText\fR and the keyboard accelerator \fIaccel\fR. Its parent is \fIparent\fR and it is called \fIname\fR. If \fItoggle\fR is TRUE the action will be a toggle action, otherwise it will be a command action.
@ -295,7 +295,7 @@ If \fIparent\fR is a TQActionGroup, the new action inserts itself into \fIparent
For accelerators and status tips to work, \fIparent\fR must either be a widget, or an action group whose parent is a widget.
.SH "TQAction::~TQAction ()"
Destroys the object and frees allocated resources.
.SH "QKeySequence TQAction::accel () const"
.SH "TQKeySequence TQAction::accel () const"
Returns the action's accelerator key. See the "accel" property for details.
.SH "void TQAction::activate ()\fC [slot]\fR"
Activates the action and executes all connected slots. This only works for actions that are not toggle action.
@ -347,7 +347,7 @@ Removes the action from widget \fIw\fR.
Returns TRUE if the action was removed successfully; otherwise returns FALSE.
@ -999,7 +999,7 @@ If you want to iterate over the list, you should iterate over a copy, e.g.
.PP
See the plugins documentation for a description of how the library paths are used.
.PP
See also setLibraryPaths(), addLibraryPath(), removeLibraryPath(), and QLibrary.
See also setLibraryPaths(), addLibraryPath(), removeLibraryPath(), and TQLibrary.
.SH "void QApplication::lock ()"
Lock the TQt Library Mutex. If another thread has already locked the mutex, the calling thread will block until the other thread has unlocked the mutex.
Sets the list of directories to search when loading libraries to \fIpaths\fR. All existing paths will be deleted and the path list will consist of the paths given in \fIpaths\fR.
.PP
See also libraryPaths(), addLibraryPath(), removeLibraryPath(), and QLibrary.
See also libraryPaths(), addLibraryPath(), removeLibraryPath(), and TQLibrary.
@ -181,7 +181,7 @@ Two or more TQCanvasView objects can view the same canvas.
An arbitrary transformation matrix can be set on each TQCanvasView which makes it easy to zoom, rotate or shear the viewed canvas.
.IP
.TP
Widgets provide a lot more functionality, such as input (QKeyEvent, QMouseEvent etc.) and layout management (TQGridLayout etc.).
Widgets provide a lot more functionality, such as input (TQKeyEvent, QMouseEvent etc.) and layout management (TQGridLayout etc.).
.IP
.PP
A canvas consists of a background, a number of canvas items organized by x, y and z coordinates, and a foreground. A canvas item's z coordinate can be treated as a layer number -- canvas items with a higher z coordinate appear in front of canvas items with a lower z coordinate.
@ -68,7 +68,7 @@ TQDoubleValidator provides an upper bound, a lower bound and a limit on the numb
.PP
You can set the acceptable range in one call with setRange(), or with setBottom() and setTop(). Set the number of decimal places with setDecimals(). The validate() function returns the validation state.
.PP
See also QIntValidator, TQRegExpValidator, and Miscellaneous Classes.
See also TQIntValidator, TQRegExpValidator, and Miscellaneous Classes.
.\" 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
QIMEvent \- Parameters for input method events
TQIMEvent \- Parameters for input method events
.SH SYNOPSIS
\fC#include <tqevent.h>\fR
.PP
@ -16,7 +16,7 @@ Inherits TQEvent.
.SS "Public Members"
.in +1c
.ti -1c
.BI "\fBQIMEvent\fR ( Type type, const TQString & text, int cursorPosition )"
.BI "\fBTQIMEvent\fR ( Type type, const TQString & text, int cursorPosition )"
.br
.ti -1c
.BI "const TQString & \fBtext\fR () const"
@ -38,7 +38,7 @@ Inherits TQEvent.
.br
.in -1c
.SH DESCRIPTION
The QIMEvent class provides parameters for input method events.
The TQIMEvent class provides parameters for input method events.
.PP
Input method events are sent to widgets when an input method is used to enter text into a widget. Input methods are widely used to enter text in Asian and other complex languages.
.PP
@ -72,9 +72,9 @@ If the user clicks another widget, taking the focus out of the widget where the
.PP
See also Event Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QIMEvent::QIMEvent ( Type type, const TQString & text, int cursorPosition )"
Constructs a new QIMEvent with the accept flag set to FALSE. \fItype\fR can be one of TQEvent::IMStartEvent, TQEvent::IMComposeEvent or TQEvent::IMEndEvent. \fItext\fR contains the current compostion string and \fIcursorPosition\fR the current position of the cursor inside \fItext\fR.
.SH "void QIMEvent::accept ()"
.SH "TQIMEvent::TQIMEvent ( Type type, const TQString & text, int cursorPosition )"
Constructs a new TQIMEvent with the accept flag set to FALSE. \fItype\fR can be one of TQEvent::IMStartEvent, TQEvent::IMComposeEvent or TQEvent::IMEndEvent. \fItext\fR contains the current compostion string and \fIcursorPosition\fR the current position of the cursor inside \fItext\fR.
.SH "void TQIMEvent::accept ()"
Sets the accept flag of the input method event object.
.PP
Setting the accept parameter indicates that the receiver of the event processed the input method event.
@ -82,9 +82,9 @@ Setting the accept parameter indicates that the receiver of the event processed
The accept flag is not set by default.
.PP
See also ignore().
.SH "int QIMEvent::cursorPos () const"
.SH "int TQIMEvent::cursorPos () const"
Returns the current cursor position inside the composition string. Will return -1 for IMStartEvent and IMEndEvent.
.SH "void QIMEvent::ignore ()"
.SH "void TQIMEvent::ignore ()"
Clears the accept flag parameter of the input method event object.
.PP
Clearing the accept parameter indicates that the event receiver does not want the input method event.
@ -92,17 +92,17 @@ Clearing the accept parameter indicates that the event receiver does not want th
The accept flag is cleared by default.
.PP
See also accept().
.SH "bool QIMEvent::isAccepted () const"
.SH "bool TQIMEvent::isAccepted () const"
Returns TRUE if the receiver of the event processed the event; otherwise returns FALSE.
.SH "int QIMEvent::selectionLength () const"
.SH "int TQIMEvent::selectionLength () const"
Returns the number of characters in the composition string ( starting at cursorPos() ) that should be marked as selected by the input widget receiving the event. Will return 0 for IMStartEvent and IMEndEvent.
.SH "const TQString & QIMEvent::text () const"
.SH "const TQString & TQIMEvent::text () const"
Returns the composition text. This is a null string for an
IMStartEvent, and contains the final accepted string (which may be
empty) in the IMEndEvent.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/qimevent.html
.BR http://doc.trolltech.com/tqimevent.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
Static convenience function to get a floating point number from the user. \fIcaption\fR is the text which is displayed in the title bar of the dialog. \fIlabel\fR is the text which is shown to the user (it should say what should be entered). \fIvalue\fR is the default floating point number that the line edit will be set to. \fIminValue\fR and \fImaxValue\fR are the minimum and maximum values the user may choose, and \fIdecimals\fR is the maximum number of decimal places the number may have.
.PP
If \fIok\fR is not-null \fI*\fR\fIok\fR will be set to TRUE if the user pressed OK and to FALSE if the user pressed Cancel. The dialog's parent is \fIparent\fR; the dialog is called \fIname\fR. The dialog will be modal.
@ -65,7 +65,7 @@ Use this static function like this:
.br
bool ok;
.br
double res = QInputDialog::getDouble(
double res = TQInputDialog::getDouble(
.br
"MyApp 3000", "Enter a decimal number:", 33.7, 0,
.br
@ -82,7 +82,7 @@ Use this static function like this:
}
.br
.fi
.SH "int QInputDialog::getInteger ( const TQString & caption, const TQString & label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR"
.SH "int TQInputDialog::getInteger ( const TQString & caption, const TQString & label, int value = 0, int minValue = -2147483647, int maxValue = 2147483647, int step = 1, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR"
Static convenience function to get an integer input from the user. \fIcaption\fR is the text which is displayed in the title bar of the dialog. \fIlabel\fR is the text which is shown to the user (it should say what should be entered). \fIvalue\fR is the default integer which the spinbox will be set to. \fIminValue\fR and \fImaxValue\fR are the minimum and maximum values the user may choose, and \fIstep\fR is the amount by which the values change as the user presses the arrow buttons to increment or decrement the value.
.PP
If \fIok\fR is not-null *\fIok\fR will be set to TRUE if the user pressed OK and to FALSE if the user pressed Cancel. The dialog's parent is \fIparent\fR; the dialog is called \fIname\fR. The dialog will be modal.
@ -95,7 +95,7 @@ Use this static function like this:
.br
bool ok;
.br
int res = QInputDialog::getInteger(
int res = TQInputDialog::getInteger(
.br
"MyApp 3000", "Enter a number:", 22, 0, 1000, 2,
.br
@ -112,7 +112,7 @@ Use this static function like this:
Static convenience function to let the user select an item from a string list. \fIcaption\fR is the text which is displayed in the title bar of the dialog. \fIlabel\fR is the text which is shown to the user (it should say what should be entered). \fIlist\fR is the string list which is inserted into the combobox, and \fIcurrent\fR is the number of the item which should be the current item. If \fIeditable\fR is TRUE the user can enter their own text; if \fIeditable\fR is FALSE the user may only select one of the existing items.
.PP
If \fIok\fR is not-null \fI*\fR\fIok\fR will be set to TRUE if the user pressed OK and to FALSE if the user pressed Cancel. The dialog's parent is \fIparent\fR; the dialog is called \fIname\fR. The dialog will be modal.
@ -129,7 +129,7 @@ Use this static function like this:
.br
bool ok;
.br
TQString res = QInputDialog::getItem(
TQString res = TQInputDialog::getItem(
.br
"MyApp 3000", "Select an item:", lst, 1, TRUE, &ok,
.br
@ -146,7 +146,7 @@ Use this static function like this:
Static convenience function to get a string from the user. \fIcaption\fR is the text which is displayed in the title bar of the dialog. \fIlabel\fR is the text which is shown to the user (it should say what should be entered). \fItext\fR is the default text which is placed in the line edit. The \fImode\fR is the echo mode the line edit will use. If \fIok\fR is not-null \fI*\fR\fIok\fR will be set to TRUE if the user pressed OK and to FALSE if the user pressed Cancel. The dialog's parent is \fIparent\fR; the dialog is called \fIname\fR. The dialog will be modal.
.PP
This function returns the text which has been entered in the line edit. It will not return an empty string.
@ -157,7 +157,7 @@ Use this static function like this:
.br
bool ok;
.br
TQString text = QInputDialog::getText(
TQString text = TQInputDialog::getText(
.br
"MyApp 3000", "Enter your name:", TQLineEdit::Normal,
.br
@ -176,7 +176,7 @@ Use this static function like this:
.fi
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqinputdialog.html
.BR http://doc.trolltech.com/tqinputdialog.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
Returns Acceptable if the \fIinput\fR is an integer within the valid range, Intermediate if the \fIinput\fR is an integer outside the valid range and Invalid if the \fIinput\fR is not an integer.
.PP
Note: If the valid range consists of just positive integers (e.g. 32 - 100) and \fIinput\fR is a negative integer then Invalid is returned.
@ -178,7 +178,7 @@ Set this property's value with setTop() and get this property's value with top()
See also setRange().
.SH "SEE ALSO"
.BR http://doc.trolltech.com/qintvalidator.html
.BR http://doc.trolltech.com/tqintvalidator.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
.\" 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
QKeyEvent \- Describes a key event
TQKeyEvent \- Describes a key event
.SH SYNOPSIS
\fC#include <tqevent.h>\fR
.PP
@ -16,7 +16,7 @@ Inherits TQEvent.
.SS "Public Members"
.in +1c
.ti -1c
.BI "\fBQKeyEvent\fR ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 )"
.BI "\fBTQKeyEvent\fR ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 )"
.br
.ti -1c
.BI "int \fBkey\fR () const"
@ -50,11 +50,11 @@ Inherits TQEvent.
.br
.in -1c
.SH DESCRIPTION
The QKeyEvent class contains describes a key event.
The TQKeyEvent class contains describes a key event.
.PP
Key events occur when a key is pressed or released when a widget has keyboard input focus.
.PP
A key event contains a special accept flag that indicates whether the receiver wants the key event. You should call QKeyEvent::ignore() if the key press or release event is not handled by your widget. A key event is propagated up the parent widget chain until a widget accepts it with QKeyEvent::accept() or an event filter consumes it. Key events for multi media keys are ignored by default. You should call QKeyEvent::accept() if your widget handles those events.
A key event contains a special accept flag that indicates whether the receiver wants the key event. You should call TQKeyEvent::ignore() if the key press or release event is not handled by your widget. A key event is propagated up the parent widget chain until a widget accepts it with TQKeyEvent::accept() or an event filter consumes it. Key events for multi media keys are ignored by default. You should call TQKeyEvent::accept() if your widget handles those events.
.PP
The TQWidget::setEnable() function can be used to enable or disable mouse and keyboard events for a widget.
.PP
@ -62,13 +62,13 @@ The event handlers TQWidget::keyPressEvent() and TQWidget::keyReleaseEvent() rec
.PP
See also TQFocusEvent, TQWidget::grabKeyboard(), and Event Classes.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QKeyEvent::QKeyEvent ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 )"
.SH "TQKeyEvent::TQKeyEvent ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 )"
Constructs a key event object.
.PP
The \fItype\fR parameter must be TQEvent::KeyPress or TQEvent::KeyRelease. If \fIkey\fR is 0 the event is not a result of a known key (e.g. it may be the result of a compose sequence or keyboard macro). \fIascii\fR is the ASCII code of the key that was pressed or released. \fIstate\fR holds the keyboard modifiers. \fItext\fR is the Unicode text that the key generated. If \fIautorep\fR is TRUE, isAutoRepeat() will be TRUE. \fIcount\fR is the number of single keys.
.PP
The accept flag is set to TRUE.
.SH "void QKeyEvent::accept ()"
.SH "void TQKeyEvent::accept ()"
Sets the accept flag of the key event object.
.PP
Setting the accept parameter indicates that the receiver of the event wants the key event. Unwanted key events are sent to the parent widget.
@ -76,17 +76,17 @@ Setting the accept parameter indicates that the receiver of the event wants the
The accept flag is set by default.
.PP
See also ignore().
.SH "int QKeyEvent::ascii () const"
.SH "int TQKeyEvent::ascii () const"
Returns the ASCII code of the key that was pressed or released. We recommend using text() instead.
.PP
See also text().
.PP
Example: picture/picture.cpp.
.SH "int QKeyEvent::count () const"
.SH "int TQKeyEvent::count () const"
Returns the number of single keys for this event. If text() is not empty, this is simply the length of the string.
.PP
See also TQWidget::setKeyCompression().
.SH "void QKeyEvent::ignore ()"
.SH "void TQKeyEvent::ignore ()"
Clears the accept flag parameter of the key event object.
.PP
Clearing the accept parameter indicates that the event receiver does not want the key event. Unwanted key events are sent to the parent widget.
@ -94,13 +94,13 @@ Clearing the accept parameter indicates that the event receiver does not want th
The accept flag is set by default.
.PP
See also accept().
.SH "bool QKeyEvent::isAccepted () const"
.SH "bool TQKeyEvent::isAccepted () const"
Returns TRUE if the receiver of the event wants to keep the key; otherwise returns FALSE
.SH "bool QKeyEvent::isAutoRepeat () const"
.SH "bool TQKeyEvent::isAutoRepeat () const"
Returns TRUE if this event comes from an auto-repeating key and FALSE if it comes from an initial key press.
.PP
Note that if the event is a multiple-key compressed event that is partly due to auto-repeat, this function could return either TRUE or FALSE indeterminately.
.SH "int QKeyEvent::key () const"
.SH "int TQKeyEvent::key () const"
Returns the code of the key that was pressed or released.
.PP
See TQt::Key for the list of keyboard codes. These codes are independent of the underlying window system.
@ -110,7 +110,7 @@ A value of either 0 or Key_unknown means that the event is not the result of a k
See also TQWidget::setKeyCompression().
.PP
Example: fileiconview/tqfileiconview.cpp.
.SH "ButtonState QKeyEvent::state () const"
.SH "ButtonState TQKeyEvent::state () const"
Returns the keyboard modifier flags that existed immediately before the event occurred.
.PP
The returned value is ShiftButton, ControlButton, AltButton and MetaButton OR'ed together.
@ -118,19 +118,19 @@ The returned value is ShiftButton, ControlButton, AltButton and MetaButton OR'ed
See also stateAfter().
.PP
Example: fileiconview/tqfileiconview.cpp.
.SH "ButtonState QKeyEvent::stateAfter () const"
.SH "ButtonState TQKeyEvent::stateAfter () const"
Returns the keyboard modifier flags that existed immediately after the event occurred.
.PP
\fBWarning:\fR This function cannot be trusted.
.PP
See also state().
.SH "TQString QKeyEvent::text () const"
.SH "TQString TQKeyEvent::text () const"
Returns the Unicode text that this key generated. The text returned migth be empty, which is the case when pressing or releasing modifying keys as Shift, Control, Alt and Meta. In these cases key() will contain a valid value.
.PP
See also TQWidget::setKeyCompression().
.SH "SEE ALSO"
.BR http://doc.trolltech.com/qkeyevent.html
.BR http://doc.trolltech.com/tqkeyevent.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
The QKeySequence class encapsulates a key sequence as used by accelerators.
The TQKeySequence class encapsulates a key sequence as used by accelerators.
.PP
A key sequence consists of up to four keyboard codes, each optionally combined with modifiers, e.g. SHIFT, CTRL, ALT, META, or UNICODE_ACCEL. For example, \fCCTRL + Key_P\fR might be a sequence used as a shortcut for printing a document. The key codes are listed in ntqnamespace.h. As an alternative, use UNICODE_ACCEL with the unicode code point of the character. For example, \fCUNICODE_ACCEL + 'A'\fR gives the same key sequence as Key_A.
.PP
@ -79,9 +79,9 @@ Key sequences can be constructed either from an integer key code, or from a huma
Creates a key sequence from the string \fIkey\fR. For example" Ctrl+O" gives CTRL+UNICODE_ACCEL+'O'. The strings "Ctrl"," Shift", "Alt" and "Meta" are recognized, as well as their translated equivalents in the "TQAccel" context (using TQObject::tr()).
.PP
Multiple key codes (up to four) may be entered by separating them with commas, e.g. "Alt+X,Ctrl+S,Q".
@ -94,57 +94,57 @@ This contructor is typically used with tr(), so that accelerator keys can be rep
Matches the sequence with \fIseq\fR. Returns TQt::Identical if successful, TQt::PartialMatch for matching but incomplete \fIseq\fR, and TQt::NoMatch if the sequences have nothing in common. Returns TQt::NoMatch if \fIseq\fR is shorter.
.SH "QKeySequence::operator TQString () const"
.SH "TQKeySequence::operator TQString () const"
Creates an accelerator string for the key sequence. For instance CTRL+Key_O gives "Ctrl+O". If the key sequence has multiple key codes they are returned comma-separated, e.g." Alt+X, Ctrl+Y, Z". The strings, "Ctrl", "Shift", etc. are translated (using TQObject::tr()) in the "TQAccel" scope. If the key sequence has no keys, TQString::null is returned.
.PP
On Mac OS X, the string returned resembles the sequence that is shown in the menubar.
.SH "QKeySequence::operator int () const"
.SH "TQKeySequence::operator int () const"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
For backward compatibility: returns the first keycode as integer. If the key sequence is empty, 0 is returned.
@ -50,15 +50,15 @@ All the functions in this class are reentrant when TQt is built with thread supp
.br
.in -1c
.SH DESCRIPTION
The QLibrary class provides a wrapper for handling shared libraries.
The TQLibrary class provides a wrapper for handling shared libraries.
.PP
An instance of a QLibrary object can handle a single shared library and provide access to the functionality in the library in a platform independent way. If the library is a component server, QLibrary provides access to the exported component and can directly query this component for interfaces.
An instance of a TQLibrary object can handle a single shared library and provide access to the functionality in the library in a platform independent way. If the library is a component server, TQLibrary provides access to the exported component and can directly query this component for interfaces.
.PP
QLibrary ensures that the shared library is loaded and stays in memory whilst it is in use. QLibrary can also unload the library on destruction and release unused resources.
TQLibrary ensures that the shared library is loaded and stays in memory whilst it is in use. TQLibrary can also unload the library on destruction and release unused resources.
.PP
A typical use of QLibrary is to resolve an exported symbol in a shared object, and to call the function that this symbol represents. This is called "explicit linking" in contrast to" implicit linking", which is done by the link step in the build process when linking an executable against a library.
A typical use of TQLibrary is to resolve an exported symbol in a shared object, and to call the function that this symbol represents. This is called "explicit linking" in contrast to" implicit linking", which is done by the link step in the build process when linking an executable against a library.
.PP
The following code snippet loads a library, resolves the symbol" mysymbol", and calls the function if everything succeeded. If something went wrong, e.g. the library file does not exist or the symbol is not defined, the function pointer will be 0 and won't be called. When the QLibrary object is destroyed the library will be unloaded, making all references to memory allocated in the library invalid.
The following code snippet loads a library, resolves the symbol" mysymbol", and calls the function if everything succeeded. If something went wrong, e.g. the library file does not exist or the symbol is not defined, the function pointer will be 0 and won't be called. When the TQLibrary object is destroyed the library will be unloaded, making all references to memory allocated in the library invalid.
.PP
.nf
.br
@ -67,7 +67,7 @@ The following code snippet loads a library, resolves the symbol" mysymbol", and
Creates a TQLibrary object for the shared library \fIfilename\fR. The library will be unloaded in the destructor.
.PP
Note that \fIfilename\fR does not need to include the (platform specific) file extension, so calling
.PP
.nf
.br
QLibrary lib( "mylib" );
TQLibrary lib( "mylib" );
.br
.fi
is equivalent to calling
.PP
.nf
.br
QLibrary lib( "mylib.dll" );
TQLibrary lib( "mylib.dll" );
.br
.fi
on Windows, and
.PP
.nf
.br
QLibrary lib( "libmylib.so" );
TQLibrary lib( "libmylib.so" );
.br
.fi
on Unix. Specifying the extension is not recommended, since doing so introduces a platform dependency.
@ -110,34 +110,34 @@ on Unix. Specifying the extension is not recommended, since doing so introduces
If \fIfilename\fR does not include a path, the library loader will look for the file in the platform specific search paths.
.PP
See also load(), unload(), and setAutoUnload().
.SH "QLibrary::~QLibrary ()\fC [virtual]\fR"
Deletes the QLibrary object.
.SH "TQLibrary::~TQLibrary ()\fC [virtual]\fR"
Deletes the TQLibrary object.
.PP
The library will be unloaded if autoUnload() is TRUE (the default), otherwise it stays in memory until the application exits.
.PP
See also unload() and setAutoUnload().
.SH "bool QLibrary::autoUnload () const"
.SH "bool TQLibrary::autoUnload () const"
Returns TRUE if the library will be automatically unloaded when this wrapper object is destructed; otherwise returns FALSE. The default is TRUE.
.PP
See also setAutoUnload().
.SH "bool QLibrary::isLoaded () const"
.SH "bool TQLibrary::isLoaded () const"
Returns TRUE if the library is loaded; otherwise returns FALSE.
.PP
See also unload().
.SH "TQString QLibrary::library () const"
Returns the filename of the shared library this QLibrary object handles, including the platform specific file extension.
.SH "TQString TQLibrary::library () const"
Returns the filename of the shared library this TQLibrary object handles, including the platform specific file extension.
.PP
For example:
.PP
.nf
.br
QLibrary lib( "mylib" );
TQLibrary lib( "mylib" );
.br
TQString str = lib.library();
.br
.fi
will set \fIstr\fR to "mylib.dll" on Windows, and "libmylib.so" on Linux.
.SH "bool QLibrary::load ()"
.SH "bool TQLibrary::load ()"
Loads the library. Since resolve() always calls this function before resolving any symbols it is not necessary to call it explicitly. In some situations you might want the library loaded in advance, in which case you would use this function.
.PP
On Darwin and Mac OS X this function uses code from dlcompat, part of the OpenDarwin project.
@ -149,7 +149,7 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
.PP
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Returns the address of the exported symbol \fIsymb\fR. The library is loaded if necessary. The function returns 0 if the symbol could not be resolved or the library could not be loaded.
.PP
.nf
@ -208,7 +208,7 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
.PP
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Loads the library \fIfilename\fR and returns the address of the exported symbol \fIsymb\fR. Note that like the constructor, \fIfilename\fR does not need to include the (platform specific) file extension. The library remains loaded until the process exits.
@ -227,7 +227,7 @@ This function is useful only if you want to resolve a single symbol, e.g. a func
If \fIenabled\fR is TRUE (the default), the wrapper object is set to automatically unload the library upon destruction. If \fIenabled\fR is FALSE, the wrapper object is not unloaded unless you explicitly call unload().
.PP
See also autoUnload().
.SH "bool QLibrary::unload ()\fC [virtual]\fR"
.SH "bool TQLibrary::unload ()\fC [virtual]\fR"
Unloads the library and returns TRUE if the library could be unloaded; otherwise returns FALSE.
.PP
This function is called by the destructor if autoUnload() is enabled.
@ -255,7 +255,7 @@ This function is called by the destructor if autoUnload() is enabled.
See also resolve().
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqlibrary.html
.BR http://doc.trolltech.com/tqlibrary.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
@ -439,7 +439,7 @@ Returns TRUE if the line edit is read only; otherwise returns FALSE. See the "re
Returns TRUE if redo is available; otherwise returns FALSE. See the "redoAvailable" property for details.
.SH "bool TQLineEdit::isUndoAvailable () const"
Returns TRUE if undo is available; otherwise returns FALSE. See the "undoAvailable" property for details.
.SH "void TQLineEdit::keyPressEvent ( QKeyEvent * e )\fC [virtual protected]\fR"
.SH "void TQLineEdit::keyPressEvent ( TQKeyEvent * e )\fC [virtual protected]\fR"
Converts key press event \fIe\fR into a line edit action.
.PP
If Return or Enter is pressed and the current text is valid (or can be made valid by the validator), the signal returnPressed() is emitted.
@ -516,7 +516,7 @@ Sets this line edit to only accept input that the validator, \fIv\fR, will accep
.PP
If \fIv\fR == 0, setValidator() removes the current input validator. The initial setting is to have no input validator (i.e. any input is accepted up to maxLength()).
.PP
See also validator(), QIntValidator, TQDoubleValidator, and TQRegExpValidator.
See also validator(), TQIntValidator, TQDoubleValidator, and TQRegExpValidator.
.PP
Examples:
.)l lineedits/lineedits.cpp and wizard/wizard.cpp.
@ -58,16 +58,16 @@ Inherits TQFrame and TQMenuData.
.SS "Important Inherited Members"
.in +1c
.ti -1c
.BI "int \fBinsertItem\fR ( const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.BI "int \fBinsertItem\fR ( const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
.br
.ti -1c
.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
.br
.ti -1c
.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
.br
.ti -1c
.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
.br
.ti -1c
.BI "int \fBinsertItem\fR ( const TQString & text, int id = -1, int index = -1 )"
@ -275,7 +275,7 @@ This signal is emitted when a menu item is highlighted; \fIid\fR is the id of th
Normally, you will connect each menu item to a single slot using TQMenuData::insertItem(), but sometimes you will want to connect several items to a single slot (most often if the user selects from an array). This signal is useful in such cases.
.PP
See also activated() and TQMenuData::insertItem().
.SH "int TQMenuData::insertItem ( const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.SH "int TQMenuData::insertItem ( const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
The family of insertItem() functions inserts menu items into a popup menu or a menu bar.
.PP
A menu item is usually either a text string or a pixmap, both with an optional icon or keyboard accelerator. For special cases it is also possible to insert custom items (see TQCustomMenuItem) or even widgets into popup menus.
@ -334,7 +334,7 @@ See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntq
.PP
Examples:
.)l addressbook/mainwindow.cpp, canvas/canvas.cpp, menu/menu.cpp, qwerty/qwerty.cpp, scrollview/scrollview.cpp, showimg/showimg.cpp, and sound/sound.cpp.
.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item.
@ -342,7 +342,7 @@ Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\
Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0).
.PP
See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntqnamespace.h.
.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Inserts a menu item with pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item.
@ -352,7 +352,7 @@ To look best when being highlighted as a menu item, the pixmap should provide a
Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0).
.PP
See also removeItem(), changeItem(), setAccel(), and connectItem().
.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. The item is connected to the \fImember\fR slot in the \fIreceiver\fR object.
@ -25,16 +25,16 @@ Inherited by TQMenuBar and TQPopupMenu.
.BI "uint \fBcount\fR () const"
.br
.ti -1c
.BI "int \fBinsertItem\fR ( const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.BI "int \fBinsertItem\fR ( const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
.br
.ti -1c
.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
.br
.ti -1c
.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.BI "int \fBinsertItem\fR ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
.br
.ti -1c
.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.BI "int \fBinsertItem\fR ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
.br
.ti -1c
.BI "int \fBinsertItem\fR ( const TQString & text, int id = -1, int index = -1 )"
@ -82,10 +82,10 @@ Inherited by TQMenuBar and TQPopupMenu.
.BI "void \fBclear\fR ()"
.br
.ti -1c
.BI "QKeySequence \fBaccel\fR ( int id ) const"
.BI "TQKeySequence \fBaccel\fR ( int id ) const"
.br
.ti -1c
.BI "void \fBsetAccel\fR ( const QKeySequence & key, int id )"
.BI "void \fBsetAccel\fR ( const TQKeySequence & key, int id )"
.br
.ti -1c
.BI "TQIconSet * \fBiconSet\fR ( int id ) const"
@ -214,7 +214,7 @@ See also TQAccel, TQPopupMenu, TQAction, and Miscellaneous Classes.
Constructs an empty menu data list.
.SH "TQMenuData::~TQMenuData ()\fC [virtual]\fR"
Removes all menu items and disconnects any signals that have been connected.
.SH "QKeySequence TQMenuData::accel ( int id ) const"
.SH "TQKeySequence TQMenuData::accel ( int id ) const"
Returns the accelerator key that has been defined for the menu item \fIid\fR, or 0 if it has no accelerator key or if there is no such menu item.
.PP
See also setAccel(), TQAccel, and ntqnamespace.h.
@ -315,7 +315,7 @@ Returns the index of the menu item with identifier \fIid\fR, or -1 if there is n
See also idAt() and findItem().
.PP
Example: scrollview/scrollview.cpp.
.SH "int TQMenuData::insertItem ( const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.SH "int TQMenuData::insertItem ( const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
The family of insertItem() functions inserts menu items into a popup menu or a menu bar.
.PP
A menu item is usually either a text string or a pixmap, both with an optional icon or keyboard accelerator. For special cases it is also possible to insert custom items (see TQCustomMenuItem) or even widgets into popup menus.
@ -374,7 +374,7 @@ See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntq
.PP
Examples:
.)l addressbook/mainwindow.cpp, canvas/canvas.cpp, menu/menu.cpp, qwerty/qwerty.cpp, scrollview/scrollview.cpp, showimg/showimg.cpp, and sound/sound.cpp.
.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item.
@ -382,7 +382,7 @@ Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\
Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0).
.PP
See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntqnamespace.h.
.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Inserts a menu item with pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item.
@ -392,7 +392,7 @@ To look best when being highlighted as a menu item, the pixmap should provide a
Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0).
.PP
See also removeItem(), changeItem(), setAccel(), and connectItem().
.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. The item is connected to the \fImember\fR slot in the \fIreceiver\fR object.
@ -584,7 +584,7 @@ Example: chart/chartform.cpp.
Removes the menu item at position \fIindex\fR.
.PP
See also removeItem() and clear().
.SH "void TQMenuData::setAccel ( const QKeySequence & key, int id )"
.SH "void TQMenuData::setAccel ( const TQKeySequence & key, int id )"
Sets the accelerator key for the menu item \fIid\fR to \fIkey\fR.
.PP
An accelerator key consists of a key code and a combination of the modifiers \fCSHIFT\fR, \fCCTRL\fR, \fCALT\fR or \fCUNICODE_ACCEL\fR (OR'ed or added). The header file ntqnamespace.h contains a list of key codes.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the id of the item at \fIpos\fR, or -1 if there is no item there or if it is a separator.
.SH "int TQMenuData::insertItem ( const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.SH "int TQMenuData::insertItem ( const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
The family of insertItem() functions inserts menu items into a popup menu or a menu bar.
.PP
A menu item is usually either a text string or a pixmap, both with an optional icon or keyboard accelerator. For special cases it is also possible to insert custom items (see TQCustomMenuItem) or even widgets into popup menus.
@ -462,7 +462,7 @@ See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntq
.PP
Examples:
.)l addressbook/mainwindow.cpp, canvas/canvas.cpp, menu/menu.cpp, qwerty/qwerty.cpp, scrollview/scrollview.cpp, showimg/showimg.cpp, and sound/sound.cpp.
.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQString & text, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item.
@ -470,7 +470,7 @@ Inserts a menu item with icon \fIicon\fR, text \fItext\fR, accelerator \fIaccel\
Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0).
.PP
See also removeItem(), changeItem(), setAccel(), connectItem(), TQAccel, and ntqnamespace.h.
.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.SH "int TQMenuData::insertItem ( const TQPixmap & pixmap, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Inserts a menu item with pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The menu item is connected it to the \fIreceiver\fR's \fImember\fR slot. The icon will be displayed to the left of the text in the item.
@ -480,7 +480,7 @@ To look best when being highlighted as a menu item, the pixmap should provide a
Returns the allocated menu identifier number (\fIid\fR if \fIid\fR >= 0).
.PP
See also removeItem(), changeItem(), setAccel(), and connectItem().
.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const QKeySequence & accel = 0, int id = -1, int index = -1 )"
.SH "int TQMenuData::insertItem ( const TQIconSet & icon, const TQPixmap & pixmap, const TQObject * receiver, const char * member, const TQKeySequence & accel = 0, int id = -1, int index = -1 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Inserts a menu item with icon \fIicon\fR, pixmap \fIpixmap\fR, accelerator \fIaccel\fR, optional id \fIid\fR, and optional \fIindex\fR position. The icon will be displayed to the left of the pixmap in the item. The item is connected to the \fImember\fR slot in the \fIreceiver\fR object.
@ -680,7 +680,7 @@ Example: chart/chartform.cpp.
Removes the menu item at position \fIindex\fR.
.PP
See also removeItem() and clear().
.SH "void TQMenuData::setAccel ( const QKeySequence & key, int id )"
.SH "void TQMenuData::setAccel ( const TQKeySequence & key, int id )"
Sets the accelerator key for the menu item \fIid\fR to \fIkey\fR.
.PP
An accelerator key consists of a key code and a combination of the modifiers SHIFT, CTRL, ALT or UNICODE_ACCEL (OR'ed or added). The header file ntqnamespace.h contains a list of key codes.
Sets the suffix of the spin box to \fItext\fR. See the "suffix" property for details.
.SH "void TQSpinBox::setValidator ( const TQValidator * v )\fC [virtual]\fR"
Sets the validator to \fIv\fR. The validator controls what keyboard input is accepted when the user is editing in the value field. The default is to use a suitable QIntValidator.
Sets the validator to \fIv\fR. The validator controls what keyboard input is accepted when the user is editing in the value field. The default is to use a suitable TQIntValidator.
.PP
Use setValidator(0) to turn off input validation (entered input will still be kept within the spin box's range).
.SH "void TQSpinBox::setValue ( int value )\fC [virtual slot]\fR"
@ -13,7 +13,7 @@ TQValidator \- Validation of input text
.PP
Inherits TQObject.
.PP
Inherited by QIntValidator, TQDoubleValidator, and TQRegExpValidator.
Inherited by TQIntValidator, TQDoubleValidator, and TQRegExpValidator.
.PP
.SS "Public Members"
.in +1c
@ -36,7 +36,7 @@ Inherited by QIntValidator, TQDoubleValidator, and TQRegExpValidator.
.SH DESCRIPTION
The TQValidator class provides validation of input text.
.PP
The class itself is abstract. Two subclasses, QIntValidator and TQDoubleValidator, provide basic numeric-range checking, and TQRegExpValidator provides general checking using a custom regular expression.
The class itself is abstract. Two subclasses, TQIntValidator and TQDoubleValidator, provide basic numeric-range checking, and TQRegExpValidator provides general checking using a custom regular expression.
.PP
If the built-in validators aren't sufficient, you can subclass TQValidator. The class has two virtual functions: validate() and fixup().
.PP
@ -84,7 +84,7 @@ This pure virtual function returns Invalid if \fIinput\fR is invalid according t
.PP
The function can change \fIinput\fR and \fIpos\fR (the cursor position) if it wants to.
.PP
Reimplemented in QIntValidator, TQDoubleValidator, and TQRegExpValidator.
Reimplemented in TQIntValidator, TQDoubleValidator, and TQRegExpValidator.
.BI "virtual void \fBcontextMenuEvent\fR ( TQContextMenuEvent * e )"
.br
.ti -1c
.BI "virtual void \fBimStartEvent\fR ( QIMEvent * e )"
.BI "virtual void \fBimStartEvent\fR ( TQIMEvent * e )"
.br
.ti -1c
.BI "virtual void \fBimComposeEvent\fR ( QIMEvent * e )"
.BI "virtual void \fBimComposeEvent\fR ( TQIMEvent * e )"
.br
.ti -1c
.BI "virtual void \fBimEndEvent\fR ( QIMEvent * e )"
.BI "virtual void \fBimEndEvent\fR ( TQIMEvent * e )"
.br
.ti -1c
.BI "virtual void \fBtabletEvent\fR ( TQTabletEvent * e )"
@ -1540,24 +1540,24 @@ Returns the widget's icon. See the "icon" property for details.
Returns the widget's icon text. See the "iconText" property for details.
.SH "void TQWidget::iconify ()\fC [slot]\fR"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.SH "void TQWidget::imComposeEvent ( QIMEvent * e )\fC [virtual protected]\fR"
.SH "void TQWidget::imComposeEvent ( TQIMEvent * e )\fC [virtual protected]\fR"
This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive Input Method composition events. This handler is called when the user has entered some text using an Input Method.
.PP
The default implementation calls e->ignore(), which rejects the Input Method event. See the QIMEvent documentation for more details.
The default implementation calls e->ignore(), which rejects the Input Method event. See the TQIMEvent documentation for more details.
.PP
See also event() and QIMEvent.
.SH "void TQWidget::imEndEvent ( QIMEvent * e )\fC [virtual protected]\fR"
See also event() and TQIMEvent.
.SH "void TQWidget::imEndEvent ( TQIMEvent * e )\fC [virtual protected]\fR"
This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive Input Method composition events. This handler is called when the user has finished inputting text via an Input Method.
.PP
The default implementation calls e->ignore(), which rejects the Input Method event. See the QIMEvent documentation for more details.
The default implementation calls e->ignore(), which rejects the Input Method event. See the TQIMEvent documentation for more details.
.PP
See also event() and QIMEvent.
.SH "void TQWidget::imStartEvent ( QIMEvent * e )\fC [virtual protected]\fR"
See also event() and TQIMEvent.
.SH "void TQWidget::imStartEvent ( TQIMEvent * e )\fC [virtual protected]\fR"
This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive Input Method composition events. This handler is called when the user begins entering text using an Input Method.
.PP
The default implementation calls e->ignore(), which rejects the Input Method event. See the QIMEvent documentation for more details.
The default implementation calls e->ignore(), which rejects the Input Method event. See the TQIMEvent documentation for more details.
.PP
See also event() and QIMEvent.
See also event() and TQIMEvent.
.SH "bool TQWidget::isActiveWindow () const"
Returns TRUE if this widget is the active window; otherwise returns FALSE. See the "isActiveWindow" property for details.
.SH "bool TQWidget::isDesktop () const"
@ -1616,7 +1616,7 @@ See also show(), hide(), and visible.
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
This function is deprecated. It is equivalent to isVisible()
.SH "void TQWidget::keyPressEvent ( QKeyEvent * e )\fC [virtual protected]\fR"
.SH "void TQWidget::keyPressEvent ( TQKeyEvent * e )\fC [virtual protected]\fR"
This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive key press events for the widget.
.PP
A widget must call setFocusPolicy() to accept focus initially and have focus in order to receive a key press event.
@ -1625,12 +1625,12 @@ If you reimplement this handler, it is very important that you explicitly ignore
.PP
The default implementation closes popup widgets if the user presses \fBEsc\fR. Otherwise the event is ignored.
.PP
See also keyReleaseEvent(), QKeyEvent::ignore(), focusPolicy, focusInEvent(), focusOutEvent(), event(), and QKeyEvent.
See also keyReleaseEvent(), TQKeyEvent::ignore(), focusPolicy, focusInEvent(), focusOutEvent(), event(), and TQKeyEvent.
.PP
Example: picture/picture.cpp.
.PP
Reimplemented in TQLineEdit and TQTextEdit.
.SH "void TQWidget::keyReleaseEvent ( QKeyEvent * e )\fC [virtual protected]\fR"
.SH "void TQWidget::keyReleaseEvent ( TQKeyEvent * e )\fC [virtual protected]\fR"
This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive key release events for the widget.
.PP
A widget must accept focus initially and have focus in order to receive a key release event.
@ -1639,7 +1639,7 @@ If you reimplement this handler, it is very important that you ignore() the rele
.PP
The default implementation ignores the event.
.PP
See also keyPressEvent(), QKeyEvent::ignore(), focusPolicy, focusInEvent(), focusOutEvent(), event(), and QKeyEvent.
See also keyPressEvent(), TQKeyEvent::ignore(), focusPolicy, focusInEvent(), focusOutEvent(), event(), and TQKeyEvent.
Sets whether the widget is enabled. See the "enabled" property for details.
.SH "void TQWidget::setEraseColor ( const TQColor & color )\fC [virtual]\fR"
@ -2103,7 +2103,7 @@ Enables key event compression, if \fIcompress\fR is TRUE, and disables it if \fI
.PP
Key compression is off by default (except for TQLineEdit and TQTextEdit), so widgets receive one key press event for each key press (or more, since autorepeat is usually on). If you turn it on and your program doesn't keep up with key input, TQt may try to compress key events so that more than one character can be processed in each event.
.PP
For example, a word processor widget might receive 2, 3 or more characters in each QKeyEvent::text(), if the layout recalculation takes too long for the CPU.
For example, a word processor widget might receive 2, 3 or more characters in each TQKeyEvent::text(), if the layout recalculation takes too long for the CPU.
.PP
If a widget supports multiple character unicode input, it is always safe to turn the compression on.
.PP
@ -2111,7 +2111,7 @@ Qt performs key event compression only for printable characters. Modifier keys,
.PP
Not all platforms support this compression, in which case turning it on will have no effect.
Causes only the pixels of the widget for which \fIbitmap\fR has a corresponding 1 bit to be visible. Use TQt::color0 to draw transparent regions and TQt::color1 to draw opaque regions of the bitmap.
.PP
@ -2662,7 +2662,7 @@ Some widgets display themselves differently when they are disabled. For example
.PP
Disabling a widget implicitly disables all its children. Enabling respectively enables all child widgets unless they have been explicitly disabled.
.PP
See also enabled, isEnabledTo(), QKeyEvent, QMouseEvent, and enabledChange().
See also enabled, isEnabledTo(), TQKeyEvent, QMouseEvent, and enabledChange().
.PP
Set this property's value with setEnabled() and get this property's value with isEnabled().