diff options
Diffstat (limited to 'doc/html/ntqapplication.html')
-rw-r--r-- | doc/html/ntqapplication.html | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/html/ntqapplication.html b/doc/html/ntqapplication.html index 832037473..d4bfcc2a3 100644 --- a/doc/html/ntqapplication.html +++ b/doc/html/ntqapplication.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } flow and main settings. <a href="#details">More...</a> <p><tt>#include <<a href="qapplication-h.html">ntqapplication.h</a>></tt> -<p>Inherits <a href="ntqobject.html">TQObject</a>. +<p>Inherits <a href="tqobject.html">TQObject</a>. <p><a href="qapplication-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -376,7 +376,7 @@ arguments to <a href="#translate">translate</a>(): <li><tt>TQApplication::DefaultCodec</tt> - the encoding specified by <a href="ntqtextcodec.html#codecForTr">TQTextCodec::codecForTr</a>() (Latin-1 if none has been set) <li><tt>TQApplication::UnicodeUTF8</tt> - UTF-8 -</ul><p> <p>See also <a href="ntqobject.html#tr">TQObject::tr</a>(), <a href="ntqobject.html#trUtf8">TQObject::trUtf8</a>(), and <a href="ntqstring.html#fromUtf8">TQString::fromUtf8</a>(). +</ul><p> <p>See also <a href="tqobject.html#tr">TQObject::tr</a>(), <a href="tqobject.html#trUtf8">TQObject::trUtf8</a>(), and <a href="ntqstring.html#fromUtf8">TQString::fromUtf8</a>(). <h3 class=fn><a name="Type-enum"></a>TQApplication::Type</h3> @@ -699,7 +699,7 @@ entry in the file menu as shown in the following code example: file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, TQ_SLOT(<a href="#closeAllWindows">closeAllWindows</a>()), CTRL+Key_Q ); // when the last window is closed, the application should quit - <a href="ntqobject.html#connect">connect</a>( tqApp, TQ_SIGNAL( <a href="#lastWindowClosed">lastWindowClosed</a>() ), tqApp, TQ_SLOT( <a href="#quit">quit</a>() ) ); + <a href="tqobject.html#connect">connect</a>( tqApp, TQ_SIGNAL( <a href="#lastWindowClosed">lastWindowClosed</a>() ), tqApp, TQ_SLOT( <a href="#quit">quit</a>() ) ); </pre> <p> The windows are closed in random order, until one window does not @@ -1014,7 +1014,7 @@ Return FALSE for normal event dispatching. widget. <p> <p>See also <a href="#setMainWidget">setMainWidget</a>(). -<h3 class=fn>bool <a name="notify"></a>TQApplication::notify ( <a href="ntqobject.html">TQObject</a> * receiver, <a href="ntqevent.html">TQEvent</a> * e )<tt> [virtual]</tt> +<h3 class=fn>bool <a name="notify"></a>TQApplication::notify ( <a href="tqobject.html">TQObject</a> * receiver, <a href="ntqevent.html">TQEvent</a> * e )<tt> [virtual]</tt> </h3> Sends event <em>e</em> to <em>receiver</em>: <em>receiver</em>->event(<em>e</em>). Returns the value that is returned from the receiver's event handler. @@ -1036,7 +1036,7 @@ see mouse events for <a href="ntqwidget.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="ntqobject.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="ntqwidget.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 @@ -1044,7 +1044,7 @@ gets all the events except Tab and Shift-Tab key presses. <p> <li> Reimplementing paintEvent(), mousePressEvent() and so on. This is the commonest, easiest and least powerful way. </ol> -<p> <p>See also <a href="ntqobject.html#event">TQObject::event</a>() and <a href="ntqobject.html#installEventFilter">installEventFilter</a>(). +<p> <p>See also <a href="tqobject.html#event">TQObject::event</a>() and <a href="tqobject.html#installEventFilter">installEventFilter</a>(). <h3 class=fn><a href="ntqcursor.html">TQCursor</a> * <a name="overrideCursor"></a>TQApplication::overrideCursor ()<tt> [static]</tt> </h3> @@ -1073,11 +1073,11 @@ 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>. -Instead, based on meta information like <a href="ntqobject.html#className">TQObject::className</a>() you are +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>(). -<h3 class=fn>void <a name="postEvent"></a>TQApplication::postEvent ( <a href="ntqobject.html">TQObject</a> * receiver, <a href="ntqevent.html">TQEvent</a> * event )<tt> [static]</tt> +<h3 class=fn>void <a name="postEvent"></a>TQApplication::postEvent ( <a href="tqobject.html">TQObject</a> * receiver, <a href="ntqevent.html">TQEvent</a> * 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> Adds the event <em>event</em> with the object <em>receiver</em> as the receiver of the @@ -1126,7 +1126,7 @@ you also often connect e.g. <a href="ntqbutton.html#clicked">TQButton::clicked</ <p> Example: <pre> <a href="ntqpushbutton.html">TQPushButton</a> *quitButton = new <a href="ntqpushbutton.html">TQPushButton</a>( "Quit" ); - <a href="ntqobject.html#connect">connect</a>( quitButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="#quit">quit</a>()) ); + <a href="tqobject.html#connect">connect</a>( quitButton, TQ_SIGNAL(<a href="ntqbutton.html#clicked">clicked</a>()), tqApp, TQ_SLOT(<a href="#quit">quit</a>()) ); </pre> <p> <p>See also <a href="#exit">exit</a>(), <a href="#aboutToQuit">aboutToQuit</a>(), <a href="#lastWindowClosed">lastWindowClosed</a>(), and <a href="ntqaction.html">TQAction</a>. @@ -1174,7 +1174,7 @@ Removes <em>path</em> from the library path list. If <em>path</em> is empty or n in the path list, the list is not changed. <p> <p>See also <a href="#addLibraryPath">addLibraryPath</a>(), <a href="#libraryPaths">libraryPaths</a>(), and <a href="#setLibraryPaths">setLibraryPaths</a>(). -<h3 class=fn>void <a name="removePostedEvents"></a>TQApplication::removePostedEvents ( <a href="ntqobject.html">TQObject</a> * receiver )<tt> [static]</tt> +<h3 class=fn>void <a name="removePostedEvents"></a>TQApplication::removePostedEvents ( <a href="tqobject.html">TQObject</a> * receiver )<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> Removes all events posted using <a href="#postEvent">postEvent</a>() for <em>receiver</em>. @@ -1189,7 +1189,7 @@ more invariants. Removes the message file <em>mf</em> from the list of message files used by this application. (It does not delete the message file from the file system.) -<p> <p>See also <a href="#installTranslator">installTranslator</a>(), <a href="#translate">translate</a>(), and <a href="ntqobject.html#tr">TQObject::tr</a>(). +<p> <p>See also <a href="#installTranslator">installTranslator</a>(), <a href="#translate">translate</a>(), and <a href="tqobject.html#tr">TQObject::tr</a>(). <p>Example: <a href="i18n-example.html#x1932">i18n/main.cpp</a>. <h3 class=fn>void <a name="restoreOverrideCursor"></a>TQApplication::restoreOverrideCursor ()<tt> [static]</tt> @@ -1230,7 +1230,7 @@ See <a href="ntqsessionmanager.html#allowsInteraction">TQSessionManager::allowsI <a href="ntqsessionmanager.html#allowsErrorInteraction">TQSessionManager::allowsErrorInteraction</a>() for details. <p> <p>See also <a href="#isSessionRestored">isSessionRestored</a>(), <a href="#sessionId">sessionId</a>(), <a href="#commitData">commitData</a>(), and <a href="session.html">the Session Management overview</a>. -<h3 class=fn>bool <a name="sendEvent"></a>TQApplication::sendEvent ( <a href="ntqobject.html">TQObject</a> * receiver, <a href="ntqevent.html">TQEvent</a> * event )<tt> [static]</tt> +<h3 class=fn>bool <a name="sendEvent"></a>TQApplication::sendEvent ( <a href="tqobject.html">TQObject</a> * receiver, <a href="ntqevent.html">TQEvent</a> * event )<tt> [static]</tt> </h3> <p> Sends event <em>event</em> directly to receiver <em>receiver</em>, using the @@ -1247,7 +1247,7 @@ If you create the event on the heap you must delete it. <p> <p>See also <a href="#postEvent">postEvent</a>() and <a href="#notify">notify</a>(). <p>Example: <a href="popup-example.html#x1602">popup/popup.cpp</a>. -<h3 class=fn>void <a name="sendPostedEvents"></a>TQApplication::sendPostedEvents ( <a href="ntqobject.html">TQObject</a> * receiver, int event_type )<tt> [static]</tt> +<h3 class=fn>void <a name="sendPostedEvents"></a>TQApplication::sendPostedEvents ( <a href="tqobject.html">TQObject</a> * receiver, int event_type )<tt> [static]</tt> </h3> Immediately dispatches all events which have been previously queued with <a href="#postEvent">TQApplication::postEvent</a>() and which are for the object <em>receiver</em> @@ -1399,7 +1399,7 @@ change and may adjust themselves to the new application setting. If <em>informWidgets</em> is FALSE, the change only affects newly created widgets. If <em>className</em> is passed, the change applies only to classes that inherit <em>className</em> (as reported by -<a href="ntqobject.html#inherits">TQObject::inherits</a>()). +<a href="tqobject.html#inherits">TQObject::inherits</a>()). <p> On application start-up, the default font depends on the window system. It can vary depending on both the window system version and the locale. This function lets you override the default font; but @@ -1511,7 +1511,7 @@ change and may adjust themselves to the new application setting. If <em>informWidgets</em> is FALSE, the change only affects newly created widgets. <p> If <em>className</em> is passed, the change applies only to widgets that -inherit <em>className</em> (as reported by <a href="ntqobject.html#inherits">TQObject::inherits</a>()). If +inherit <em>className</em> (as reported by <a href="tqobject.html#inherits">TQObject::inherits</a>()). If <em>className</em> is left 0, the change affects all widgets, thus overriding any previously set class specific palettes. <p> The palette may be changed according to the current GUI style in @@ -1667,7 +1667,7 @@ Returns the translation text for <em>sourceText</em>, by querying the installed messages files. The message files are searched from the most recently installed message file back to the first installed message file. -<p> <a href="ntqobject.html#tr">TQObject::tr</a>() and <a href="ntqobject.html#trUtf8">TQObject::trUtf8</a>() provide this functionality more +<p> <a href="tqobject.html#tr">TQObject::tr</a>() and <a href="tqobject.html#trUtf8">TQObject::trUtf8</a>() provide this functionality more conveniently. <p> <em>context</em> is typically a class name (e.g., "MyDialog") and <em>sourceText</em> is either English text or a short identifying text, if @@ -1686,7 +1686,7 @@ techniques by subclassing <a href="ntqtranslator.html">TQTranslator</a>. installed <em>before</em> calling this method. Installing or removing translators while performing translations is not supported. Doing so will most likely result in crashes or other undesirable behavior. -<p> <p>See also <a href="ntqobject.html#tr">TQObject::tr</a>(), <a href="#installTranslator">installTranslator</a>(), and <a href="#defaultCodec">defaultCodec</a>(). +<p> <p>See also <a href="tqobject.html#tr">TQObject::tr</a>(), <a href="#installTranslator">installTranslator</a>(), and <a href="#defaultCodec">defaultCodec</a>(). <h3 class=fn>bool <a name="tryLock"></a>TQApplication::tryLock () </h3> @@ -1860,15 +1860,15 @@ manager or TQt' parent-child delete mechanism may be better. Here is an example of a private class which uses the parent-child mechanism to call a cleanup function at the right time: <p> <pre> - class MyPrivateInitStuff: public <a href="ntqobject.html">TQObject</a> { + class MyPrivateInitStuff: public <a href="tqobject.html">TQObject</a> { private: - MyPrivateInitStuff( <a href="ntqobject.html">TQObject</a> * parent ): <a href="ntqobject.html">TQObject</a>( parent) { + MyPrivateInitStuff( <a href="tqobject.html">TQObject</a> * parent ): <a href="tqobject.html">TQObject</a>( parent) { // initialization goes here } MyPrivateInitStuff * p; public: - static MyPrivateInitStuff * initStuff( <a href="ntqobject.html">TQObject</a> * parent ) { + static MyPrivateInitStuff * initStuff( <a href="tqobject.html">TQObject</a> * parent ) { if ( !p ) p = new MyPrivateInitStuff( parent ); return p; |