summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqapplication.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqapplication.html')
-rw-r--r--doc/html/ntqapplication.html82
1 files changed, 41 insertions, 41 deletions
diff --git a/doc/html/ntqapplication.html b/doc/html/ntqapplication.html
index d4bfcc2a3..8fc277163 100644
--- a/doc/html/ntqapplication.html
+++ b/doc/html/ntqapplication.html
@@ -539,7 +539,7 @@ last-second cleanup. Note that no user interaction is possible in
this state.
<p> <p>See also <a href="#quit">quit</a>().
-<h3 class=fn><a href="ntqwidget.html">TQWidget</a>&nbsp;* <a name="activeModalWidget"></a>TQApplication::activeModalWidget ()<tt> [static]</tt>
+<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="activeModalWidget"></a>TQApplication::activeModalWidget ()<tt> [static]</tt>
</h3>
Returns the active modal widget.
<p> A modal widget is a special top level widget which is a subclass of
@@ -550,7 +550,7 @@ with other parts of the program.
the active modal widget at the top of the stack.
<p> <p>See also <a href="#activePopupWidget">activePopupWidget</a>() and <a href="#topLevelWidgets">topLevelWidgets</a>().
-<h3 class=fn><a href="ntqwidget.html">TQWidget</a>&nbsp;* <a name="activePopupWidget"></a>TQApplication::activePopupWidget ()<tt> [static]</tt>
+<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="activePopupWidget"></a>TQApplication::activePopupWidget ()<tt> [static]</tt>
</h3>
Returns the active popup widget.
<p> A popup widget is a special top level widget that sets the <a href="ntqt.html#WidgetFlags-enum">WType_Popup</a> widget flag, e.g. the <a href="ntqpopupmenu.html">TQPopupMenu</a> widget. When the
@@ -562,14 +562,14 @@ The popup widgets are organized in a stack. This function returns
the active popup widget at the top of the stack.
<p> <p>See also <a href="#activeModalWidget">activeModalWidget</a>() and <a href="#topLevelWidgets">topLevelWidgets</a>().
-<h3 class=fn><a href="ntqwidget.html">TQWidget</a>&nbsp;* <a name="activeWindow"></a>TQApplication::activeWindow () const
+<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="activeWindow"></a>TQApplication::activeWindow () const
</h3>
<p> Returns the application top-level window that has the keyboard input
focus, or 0 if no application window has the focus. Note that
there might be an <a href="#activeWindow">activeWindow</a>() even if there is no <a href="#focusWidget">focusWidget</a>(),
for example if no widget in that window accepts key events.
-<p> <p>See also <a href="ntqwidget.html#setFocus">TQWidget::setFocus</a>(), <a href="ntqwidget.html#focus-prop">TQWidget::focus</a>, and <a href="#focusWidget">focusWidget</a>().
+<p> <p>See also <a href="tqwidget.html#setFocus">TQWidget::setFocus</a>(), <a href="tqwidget.html#focus-prop">TQWidget::focus</a>, and <a href="#focusWidget">focusWidget</a>().
<p>Example: <a href="mail-example.html#x704">network/mail/smtp.cpp</a>.
<h3 class=fn>void <a name="addLibraryPath"></a>TQApplication::addLibraryPath ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;path )<tt> [static]</tt>
@@ -592,19 +592,19 @@ Returns a list of all the widgets in the application.
<pre>
TQWidgetList *list = TQApplication::<a href="#allWidgets">allWidgets</a>();
TQWidgetListIt it( *list ); // iterate over the widgets
- <a href="ntqwidget.html">TQWidget</a> * w;
+ <a href="tqwidget.html">TQWidget</a> * w;
while ( (w=it.current()) != 0 ) { // for each widget...
++it;
- w-&gt;<a href="ntqwidget.html#update">update</a>();
+ w-&gt;<a href="tqwidget.html#update">update</a>();
}
delete list; // delete the list, not the widgets
</pre>
-<p> The TQWidgetList class is defined in the <tt>ntqwidgetlist.h</tt> header
+<p> The TQWidgetList class is defined in the <tt>tqwidgetlist.h</tt> header
file.
<p> <b>Warning:</b> Delete the list as soon as you have finished using it.
The widgets in the list may be deleted by someone else at any time.
-<p> <p>See also <a href="#topLevelWidgets">topLevelWidgets</a>(), <a href="ntqwidget.html#visible-prop">TQWidget::visible</a>, and <a href="ntqptrlist.html#isEmpty">TQPtrList::isEmpty</a>().
+<p> <p>See also <a href="#topLevelWidgets">topLevelWidgets</a>(), <a href="tqwidget.html#visible-prop">TQWidget::visible</a>, and <a href="ntqptrlist.html#isEmpty">TQPtrList::isEmpty</a>().
<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="applicationDirPath"></a>TQApplication::applicationDirPath ()
</h3>
@@ -664,7 +664,7 @@ and a few more options.
a.<a href="#setMainWidget">setMainWidget</a>( &amp;b );
for ( int i = 0; i &lt; a.<a href="#argc">argc</a>(); i++ ) // a.<a href="#argc">argc</a>() == argc
b.<a href="ntqlistbox.html#insertItem">insertItem</a>( a.<a href="#argv">argv</a>()[i] ); // a.<a href="#argv">argv</a>()[i] == argv[i]
- b.<a href="ntqwidget.html#show">show</a>();
+ b.<a href="tqwidget.html#show">show</a>();
return a.<a href="#exec">exec</a>();
}
</pre>
@@ -704,7 +704,7 @@ entry in the file menu as shown in the following code example:
<p> The windows are closed in random order, until one window does not
accept the close event.
-<p> <p>See also <a href="ntqwidget.html#close">TQWidget::close</a>(), <a href="ntqwidget.html#closeEvent">TQWidget::closeEvent</a>(), <a href="#lastWindowClosed">lastWindowClosed</a>(), <a href="#quit">quit</a>(), <a href="#topLevelWidgets">topLevelWidgets</a>(), and <a href="ntqwidget.html#isTopLevel-prop">TQWidget::isTopLevel</a>.
+<p> <p>See also <a href="tqwidget.html#close">TQWidget::close</a>(), <a href="tqwidget.html#closeEvent">TQWidget::closeEvent</a>(), <a href="#lastWindowClosed">lastWindowClosed</a>(), <a href="#quit">quit</a>(), <a href="#topLevelWidgets">topLevelWidgets</a>(), and <a href="tqwidget.html#isTopLevel-prop">TQWidget::isTopLevel</a>.
<p>
<p>Examples: <a href="qaction-application-example.html#x1127">action/application.cpp</a>, <a href="simple-application-example.html#x1544">application/application.cpp</a>, <a href="helpviewer-example.html#x980">helpviewer/helpwindow.cpp</a>, <a href="mdi-example.html#x2020">mdi/application.cpp</a>, and <a href="qwerty-example.html#x358">qwerty/qwerty.cpp</a>.
@@ -765,8 +765,8 @@ assuming that it's possible to draw on the desktop, since this does
not work on all operating systems.
<p> <pre>
<a href="ntqdesktopwidget.html">TQDesktopWidget</a> *d = TQApplication::<a href="#desktop">desktop</a>();
- int w = d-&gt;<a href="ntqwidget.html#width">width</a>(); // returns desktop width
- int h = d-&gt;<a href="ntqwidget.html#height">height</a>(); // returns desktop height
+ int w = d-&gt;<a href="tqwidget.html#width">width</a>(); // returns desktop width
+ int h = d-&gt;<a href="tqwidget.html#height">height</a>(); // returns desktop height
</pre>
@@ -856,24 +856,24 @@ returns almost immediately. Does nothing on other platforms.
<p> <p>See also <a href="#syncX">syncX</a>().
<p>Example: <a href="xform-example.html#x1217">xform/xform.cpp</a>.
-<h3 class=fn><a href="ntqwidget.html">TQWidget</a>&nbsp;* <a name="focusWidget"></a>TQApplication::focusWidget () const
+<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="focusWidget"></a>TQApplication::focusWidget () const
</h3>
<p> Returns the application widget that has the keyboard input focus, or
0 if no widget in this application has the focus.
-<p> <p>See also <a href="ntqwidget.html#setFocus">TQWidget::setFocus</a>(), <a href="ntqwidget.html#focus-prop">TQWidget::focus</a>, and <a href="#activeWindow">activeWindow</a>().
+<p> <p>See also <a href="tqwidget.html#setFocus">TQWidget::setFocus</a>(), <a href="tqwidget.html#focus-prop">TQWidget::focus</a>, and <a href="#activeWindow">activeWindow</a>().
-<h3 class=fn><a href="ntqfont.html">TQFont</a> <a name="font"></a>TQApplication::font ( const&nbsp;<a href="ntqwidget.html">TQWidget</a>&nbsp;*&nbsp;w = 0 )<tt> [static]</tt>
+<h3 class=fn><a href="ntqfont.html">TQFont</a> <a name="font"></a>TQApplication::font ( const&nbsp;<a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;w = 0 )<tt> [static]</tt>
</h3>
Returns the default font for the widget <em>w</em>, or the default
application font if <em>w</em> is 0.
-<p> <p>See also <a href="#setFont">setFont</a>(), <a href="#fontMetrics">fontMetrics</a>(), and <a href="ntqwidget.html#font-prop">TQWidget::font</a>.
+<p> <p>See also <a href="#setFont">setFont</a>(), <a href="#fontMetrics">fontMetrics</a>(), and <a href="tqwidget.html#font-prop">TQWidget::font</a>.
<p>Examples: <a href="qfd-example.html#x1979">qfd/fontdisplayer.cpp</a>, <a href="themes-example.html#x264">themes/metal.cpp</a>, and <a href="themes-example.html#x321">themes/themes.cpp</a>.
<h3 class=fn><a href="ntqfontmetrics.html">TQFontMetrics</a> <a name="fontMetrics"></a>TQApplication::fontMetrics ()<tt> [static]</tt>
</h3>
Returns display (screen) font metrics for the application font.
-<p> <p>See also <a href="#font">font</a>(), <a href="#setFont">setFont</a>(), <a href="ntqwidget.html#fontMetrics">TQWidget::fontMetrics</a>(), and <a href="ntqpainter.html#fontMetrics">TQPainter::fontMetrics</a>().
+<p> <p>See also <a href="#font">font</a>(), <a href="#setFont">setFont</a>(), <a href="tqwidget.html#fontMetrics">TQWidget::fontMetrics</a>(), and <a href="ntqpainter.html#fontMetrics">TQPainter::fontMetrics</a>().
<h3 class=fn><a href="ntqsize.html">TQSize</a> <a name="globalStrut"></a>TQApplication::globalStrut ()<tt> [static]</tt>
</h3>
@@ -949,7 +949,7 @@ widgets but no main widget. You can then connect it to the <a href="#quit">quit<
slot.
<p> For convenience, this signal is <em>not</em> emitted for transient top level
widgets such as popup menus and dialogs.
-<p> <p>See also <a href="#mainWidget">mainWidget</a>(), <a href="#topLevelWidgets">topLevelWidgets</a>(), <a href="ntqwidget.html#isTopLevel-prop">TQWidget::isTopLevel</a>, and <a href="ntqwidget.html#close">TQWidget::close</a>().
+<p> <p>See also <a href="#mainWidget">mainWidget</a>(), <a href="#topLevelWidgets">topLevelWidgets</a>(), <a href="tqwidget.html#isTopLevel-prop">TQWidget::isTopLevel</a>, and <a href="tqwidget.html#close">TQWidget::close</a>().
<p>Examples: <a href="addressbook-example.html#x608">addressbook/main.cpp</a>, <a href="extension-dialog-example.html#x2867">extension/main.cpp</a>, <a href="helpviewer-example.html#x1039">helpviewer/main.cpp</a>, <a href="mdi-example.html#x2096">mdi/main.cpp</a>, <a href="archivesearch-example.html#x487">network/archivesearch/main.cpp</a>, <a href="qwerty-example.html#x416">qwerty/main.cpp</a>, and <a href="regexptester-example.html#x2509">regexptester/main.cpp</a>.
<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="libraryPaths"></a>TQApplication::libraryPaths ()<tt> [static]</tt>
@@ -1007,7 +1007,7 @@ that are received from the MacOS.
<p> Return TRUE if you want to stop the event from being processed.
Return FALSE for normal event dispatching.
-<h3 class=fn><a href="ntqwidget.html">TQWidget</a>&nbsp;* <a name="mainWidget"></a>TQApplication::mainWidget () const
+<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="mainWidget"></a>TQApplication::mainWidget () const
</h3>
<p> Returns the main application widget, or 0 if there is no main
@@ -1032,11 +1032,11 @@ complete control; but only one subclass can be tqApp.
to process all events for all widgets, so it's just as powerful as
reimplementing <a href="#notify">notify</a>(); furthermore, it's possible to have more
than one application-global event filter. Global event filters even
-see mouse events for <a href="ntqwidget.html#isEnabled">disabled
+see mouse events for <a href="tqwidget.html#isEnabled">disabled
widgets,</a> and if <a href="#setGlobalMouseTracking">global mouse
tracking</a> is enabled, as well as mouse move events for all
widgets.
-<p> <li> Reimplementing <a href="tqobject.html#event">TQObject::event</a>() (as <a href="ntqwidget.html">TQWidget</a> does). If you do
+<p> <li> Reimplementing <a href="tqobject.html#event">TQObject::event</a>() (as <a href="tqwidget.html">TQWidget</a> does). If you do
this you get Tab key presses, and you get to see the events before
any widget-specific event filters.
<p> <li> Installing an event filter on the object. Such an event filter
@@ -1054,7 +1054,7 @@ on. This is the commonest, easiest and least powerful way.
(i.e. the internal cursor stack is empty).
<p> <p>See also <a href="#setOverrideCursor">setOverrideCursor</a>() and <a href="#restoreOverrideCursor">restoreOverrideCursor</a>().
-<h3 class=fn><a href="ntqpalette.html">TQPalette</a> <a name="palette"></a>TQApplication::palette ( const&nbsp;<a href="ntqwidget.html">TQWidget</a>&nbsp;*&nbsp;w = 0 )<tt> [static]</tt>
+<h3 class=fn><a href="ntqpalette.html">TQPalette</a> <a name="palette"></a>TQApplication::palette ( const&nbsp;<a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;w = 0 )<tt> [static]</tt>
</h3>
Returns the application palette.
<p> If a widget is passed in <em>w</em>, the default palette for the
@@ -1063,19 +1063,19 @@ palette. In most cases there isn't a special palette for certain
types of widgets, but one notable exception is the popup menu under
Windows, if the user has defined a special background color for
menus in the display settings.
-<p> <p>See also <a href="#setPalette">setPalette</a>() and <a href="ntqwidget.html#palette-prop">TQWidget::palette</a>.
+<p> <p>See also <a href="#setPalette">setPalette</a>() and <a href="tqwidget.html#palette-prop">TQWidget::palette</a>.
<p>Examples: <a href="desktop-example.html#x1723">desktop/desktop.cpp</a>, <a href="themes-example.html#x265">themes/metal.cpp</a>, and <a href="themes-example.html#x186">themes/wood.cpp</a>.
-<h3 class=fn>void <a name="polish"></a>TQApplication::polish ( <a href="ntqwidget.html">TQWidget</a>&nbsp;*&nbsp;w )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="polish"></a>TQApplication::polish ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;w )<tt> [virtual]</tt>
</h3>
Initialization of the appearance of the widget <em>w</em> <em>before</em> it is first
shown.
<p> Usually widgets call this automatically when they are polished. It
may be used to do some style-based central customization of widgets.
-<p> Note that you are not limited to the public functions of <a href="ntqwidget.html">TQWidget</a>.
+<p> Note that you are not limited to the public functions of <a href="tqwidget.html">TQWidget</a>.
Instead, based on meta information like <a href="tqobject.html#className">TQObject::className</a>() you are
able to customize any kind of widget.
-<p> <p>See also <a href="ntqstyle.html#polish">TQStyle::polish</a>(), <a href="ntqwidget.html#polish">TQWidget::polish</a>(), <a href="#setPalette">setPalette</a>(), and <a href="#setFont">setFont</a>().
+<p> <p>See also <a href="ntqstyle.html#polish">TQStyle::polish</a>(), <a href="tqwidget.html#polish">TQWidget::polish</a>(), <a href="#setPalette">setPalette</a>(), and <a href="#setFont">setFont</a>().
<h3 class=fn>void <a name="postEvent"></a>TQApplication::postEvent ( <a href="tqobject.html">TQObject</a>&nbsp;*&nbsp;receiver, <a href="ntqevent.html">TQEvent</a>&nbsp;*&nbsp;event )<tt> [static]</tt>
</h3><p><b>Note:</b> This function is <a href="threads.html#threadsafe">thread-safe</a> when TQt is built withthread support.</p>
@@ -1405,7 +1405,7 @@ system. It can vary depending on both the window system version and
the locale. This function lets you override the default font; but
overriding may be a bad idea because, for example, some locales need
extra-large fonts to support their special characters.
-<p> <p>See also <a href="#font">font</a>(), <a href="#fontMetrics">fontMetrics</a>(), and <a href="ntqwidget.html#font-prop">TQWidget::font</a>.
+<p> <p>See also <a href="#font">font</a>(), <a href="#fontMetrics">fontMetrics</a>(), and <a href="tqwidget.html#font-prop">TQWidget::font</a>.
<p>Examples: <a href="desktop-example.html#x1724">desktop/desktop.cpp</a>, <a href="themes-example.html#x266">themes/metal.cpp</a>, and <a href="themes-example.html#x323">themes/themes.cpp</a>.
<h3 class=fn>void <a name="setGlobalMouseTracking"></a>TQApplication::setGlobalMouseTracking ( bool&nbsp;enable )<tt> [static]</tt>
@@ -1418,7 +1418,7 @@ even when no button is depressed. This is useful for special GUI
elements, e.g. tooltips.
<p> Global mouse tracking does not affect widgets and their
mouseMoveEvent(). For a widget to get mouse move events when no
-button is depressed, it must do <a href="ntqwidget.html#setMouseTracking">TQWidget::setMouseTracking</a>(TRUE).
+button is depressed, it must do <a href="tqwidget.html#setMouseTracking">TQWidget::setMouseTracking</a>(TRUE).
<p> This function uses an internal counter. Each
<a href="#setGlobalMouseTracking">setGlobalMouseTracking</a>(TRUE) must have a corresponding
setGlobalMouseTracking(FALSE):
@@ -1432,7 +1432,7 @@ setGlobalMouseTracking(FALSE):
// but now it's off
</pre>
-<p> <p>See also <a href="#hasGlobalMouseTracking">hasGlobalMouseTracking</a>() and <a href="ntqwidget.html#mouseTracking-prop">TQWidget::mouseTracking</a>.
+<p> <p>See also <a href="#hasGlobalMouseTracking">hasGlobalMouseTracking</a>() and <a href="tqwidget.html#mouseTracking-prop">TQWidget::mouseTracking</a>.
<h3 class=fn>void <a name="setGlobalStrut"></a>TQApplication::setGlobalStrut ( const&nbsp;<a href="ntqsize.html">TQSize</a>&nbsp;&amp;&nbsp;strut )<tt> [static]</tt>
</h3>
@@ -1459,7 +1459,7 @@ All existing paths will be deleted and the path list will consist of the
paths given in <em>paths</em>.
<p> <p>See also <a href="#libraryPaths">libraryPaths</a>(), <a href="#addLibraryPath">addLibraryPath</a>(), <a href="#removeLibraryPath">removeLibraryPath</a>(), and <a href="ntqlibrary.html">TQLibrary</a>.
-<h3 class=fn>void <a name="setMainWidget"></a>TQApplication::setMainWidget ( <a href="ntqwidget.html">TQWidget</a>&nbsp;*&nbsp;mainWidget )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setMainWidget"></a>TQApplication::setMainWidget ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;mainWidget )<tt> [virtual]</tt>
</h3>
Sets the application's main widget to <em>mainWidget</em>.
<p> In most respects the main widget is like any other widget, except
@@ -1471,7 +1471,7 @@ yourself.
<a href="#quit">quit</a>() is an alternative.
<p> For X11, this function also resizes and moves the main widget
according to the <em>-geometry</em> command-line option, so you should
-set the default geometry (using <a href="ntqwidget.html#setGeometry">TQWidget::setGeometry</a>()) before
+set the default geometry (using <a href="tqwidget.html#setGeometry">TQWidget::setGeometry</a>()) before
calling <a href="#setMainWidget">setMainWidget</a>().
<p> <p>See also <a href="#mainWidget">mainWidget</a>(), <a href="#exec">exec</a>(), and <a href="#quit">quit</a>().
@@ -1501,7 +1501,7 @@ FALSE, the new stack is pushed onto the top of the stack.
TQApplication::<a href="#restoreOverrideCursor">restoreOverrideCursor</a>();
</pre>
-<p> <p>See also <a href="#overrideCursor">overrideCursor</a>(), <a href="#restoreOverrideCursor">restoreOverrideCursor</a>(), and <a href="ntqwidget.html#cursor-prop">TQWidget::cursor</a>.
+<p> <p>See also <a href="#overrideCursor">overrideCursor</a>(), <a href="#restoreOverrideCursor">restoreOverrideCursor</a>(), and <a href="tqwidget.html#cursor-prop">TQWidget::cursor</a>.
<p>Examples: <a href="distributor-example.html#x2653">distributor/distributor.ui.h</a>, <a href="archivesearch-example.html#x474">network/archivesearch/archivedialog.ui.h</a>, <a href="ftpclient-example.html#x738">network/ftpclient/ftpmainwindow.ui.h</a>, and <a href="showimg-example.html#x1312">showimg/showimg.cpp</a>.
<h3 class=fn>void <a name="setPalette"></a>TQApplication::setPalette ( const&nbsp;<a href="ntqpalette.html">TQPalette</a>&nbsp;&amp;&nbsp;palette, bool&nbsp;informWidgets = FALSE, const&nbsp;char&nbsp;*&nbsp;className = 0 )<tt> [static]</tt>
@@ -1516,7 +1516,7 @@ inherit <em>className</em> (as reported by <a href="tqobject.html#inherits">TQOb
any previously set class specific palettes.
<p> The palette may be changed according to the current GUI style in
<a href="ntqstyle.html#polish">TQStyle::polish</a>().
-<p> <p>See also <a href="ntqwidget.html#palette-prop">TQWidget::palette</a>, <a href="#palette">palette</a>(), and <a href="ntqstyle.html#polish">TQStyle::polish</a>().
+<p> <p>See also <a href="tqwidget.html#palette-prop">TQWidget::palette</a>, <a href="#palette">palette</a>(), and <a href="ntqstyle.html#polish">TQStyle::polish</a>().
<p>Examples: <a href="i18n-example.html#x1934">i18n/main.cpp</a>, <a href="themes-example.html#x267">themes/metal.cpp</a>, <a href="themes-example.html#x324">themes/themes.cpp</a>, and <a href="themes-example.html#x187">themes/wood.cpp</a>.
<h3 class=fn>void <a name="setReverseLayout"></a>TQApplication::setReverseLayout ( bool&nbsp;b )<tt> [static]</tt>
@@ -1647,18 +1647,18 @@ the tooltip if no tooltip is currently shown.
// Show all hidden top level widgets.
TQWidgetList *list = TQApplication::<a href="#topLevelWidgets">topLevelWidgets</a>();
TQWidgetListIt it( *list ); // iterate over the widgets
- <a href="ntqwidget.html">TQWidget</a> * w;
+ <a href="tqwidget.html">TQWidget</a> * w;
while ( (w=it.current()) != 0 ) { // for each top level widget...
++it;
- if ( !w-&gt;<a href="ntqwidget.html#isVisible">isVisible</a>() )
- w-&gt;<a href="ntqwidget.html#show">show</a>();
+ if ( !w-&gt;<a href="tqwidget.html#isVisible">isVisible</a>() )
+ w-&gt;<a href="tqwidget.html#show">show</a>();
}
delete list; // delete the list, not the widgets
</pre>
<p> <b>Warning:</b> Delete the list as soon you have finished using it.
The widgets in the list may be deleted by someone else at any time.
-<p> <p>See also <a href="#allWidgets">allWidgets</a>(), <a href="ntqwidget.html#isTopLevel-prop">TQWidget::isTopLevel</a>, <a href="ntqwidget.html#visible-prop">TQWidget::visible</a>, and <a href="ntqptrlist.html#isEmpty">TQPtrList::isEmpty</a>().
+<p> <p>See also <a href="#allWidgets">allWidgets</a>(), <a href="tqwidget.html#isTopLevel-prop">TQWidget::isTopLevel</a>, <a href="tqwidget.html#visible-prop">TQWidget::visible</a>, and <a href="ntqptrlist.html#isEmpty">TQPtrList::isEmpty</a>().
<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="translate"></a>TQApplication::translate ( const&nbsp;char&nbsp;*&nbsp;context, const&nbsp;char&nbsp;*&nbsp;sourceText, const&nbsp;char&nbsp;*&nbsp;comment = 0, <a href="ntqapplication.html#Encoding-enum">Encoding</a>&nbsp;encoding = DefaultCodec ) const
</h3><p><b>Note:</b> This function is <a href="threads.html#reentrant">reentrant</a> when TQt is built with thread support.</p>
@@ -1719,15 +1719,15 @@ Returns the number of lines to scroll when the mouse wheel is
rotated.
<p> <p>See also <a href="#setWheelScrollLines">setWheelScrollLines</a>().
-<h3 class=fn><a href="ntqwidget.html">TQWidget</a>&nbsp;* <a name="widgetAt"></a>TQApplication::widgetAt ( int&nbsp;x, int&nbsp;y, bool&nbsp;child = FALSE )<tt> [static]</tt>
+<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="widgetAt"></a>TQApplication::widgetAt ( int&nbsp;x, int&nbsp;y, bool&nbsp;child = FALSE )<tt> [static]</tt>
</h3>
Returns a pointer to the widget at global screen position <em>(x, y)</em>, or 0 if there is no TQt widget there.
<p> If <em>child</em> is FALSE and there is a child widget at position <em>(x, y)</em>, the top-level widget containing it is returned. If <em>child</em>
is TRUE the child widget at position <em>(x, y)</em> is returned.
<p> This function is normally rather slow.
-<p> <p>See also <a href="ntqcursor.html#pos">TQCursor::pos</a>(), <a href="ntqwidget.html#grabMouse">TQWidget::grabMouse</a>(), and <a href="ntqwidget.html#grabKeyboard">TQWidget::grabKeyboard</a>().
+<p> <p>See also <a href="ntqcursor.html#pos">TQCursor::pos</a>(), <a href="tqwidget.html#grabMouse">TQWidget::grabMouse</a>(), and <a href="tqwidget.html#grabKeyboard">TQWidget::grabKeyboard</a>().
-<h3 class=fn><a href="ntqwidget.html">TQWidget</a>&nbsp;* <a name="widgetAt-2"></a>TQApplication::widgetAt ( const&nbsp;<a href="ntqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos, bool&nbsp;child = FALSE )<tt> [static]</tt>
+<h3 class=fn><a href="tqwidget.html">TQWidget</a>&nbsp;* <a name="widgetAt-2"></a>TQApplication::widgetAt ( const&nbsp;<a href="ntqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;pos, bool&nbsp;child = FALSE )<tt> [static]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
<p> Returns a pointer to the widget at global screen position <em>pos</em>,
@@ -1744,7 +1744,7 @@ messages that are not processed by TQt. If you don't want
the event to be processed by TQt, then return TRUE; otherwise
return FALSE.
-<h3 class=fn>void <a name="winFocus"></a>TQApplication::winFocus ( <a href="ntqwidget.html">TQWidget</a>&nbsp;*&nbsp;widget, bool&nbsp;gotFocus )
+<h3 class=fn>void <a name="winFocus"></a>TQApplication::winFocus ( <a href="tqwidget.html">TQWidget</a>&nbsp;*&nbsp;widget, bool&nbsp;gotFocus )
</h3>
This function is available only on Windows.
<p> If <em>gotFocus</em> is TRUE, <em>widget</em> will become the active window.