diff options
Diffstat (limited to 'doc/html/ntqapplication.html')
-rw-r--r-- | doc/html/ntqapplication.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/ntqapplication.html b/doc/html/ntqapplication.html index 23534ff03..3097b45c1 100644 --- a/doc/html/ntqapplication.html +++ b/doc/html/ntqapplication.html @@ -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="tqobject.html#tr">TQObject::tr</a>(), <a href="tqobject.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="tqstring.html#fromUtf8">TQString::fromUtf8</a>(). <h3 class=fn><a name="Type-enum"></a>TQApplication::Type</h3> @@ -572,7 +572,7 @@ for example if no widget in that window accepts key events. <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 <a href="ntqstring.html">TQString</a> & path )<tt> [static]</tt> +<h3 class=fn>void <a name="addLibraryPath"></a>TQApplication::addLibraryPath ( const <a href="tqstring.html">TQString</a> & path )<tt> [static]</tt> </h3> Append <em>path</em> to the end of the library path list. If <em>path</em> is empty or already in the path list, the path list is not changed. @@ -606,7 +606,7 @@ file. 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="tqwidget.html#visible-prop">TQWidget::visible</a>, and <a href="tqptrlist.html#isEmpty">TQPtrList::isEmpty</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="applicationDirPath"></a>TQApplication::applicationDirPath () +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="applicationDirPath"></a>TQApplication::applicationDirPath () </h3> Returns the directory that contains the application executable. <p> For example, if you have installed TQt in the <tt>C:\Trolltech\TQt</tt> @@ -620,7 +620,7 @@ name of the executable (which it normally does). It also assumes that the current directory hasn't been changed by the application. <p> <p>See also <a href="#applicationFilePath">applicationFilePath</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="applicationFilePath"></a>TQApplication::applicationFilePath () +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="applicationFilePath"></a>TQApplication::applicationFilePath () </h3> Returns the file path of the application executable. <p> For example, if you have installed TQt in the <tt>C:\Trolltech\TQt</tt> @@ -952,7 +952,7 @@ widgets such as popup menus and dialogs. <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> +<h3 class=fn><a href="tqstringlist.html">TQStringList</a> <a name="libraryPaths"></a>TQApplication::libraryPaths ()<tt> [static]</tt> </h3> Returns a list of paths that the application will search when dynamically loading libraries. @@ -964,7 +964,7 @@ working directory) is also added to the plugin paths. <p> If you want to iterate over the list, you should iterate over a copy, e.g. <pre> - <a href="ntqstringlist.html">TQStringList</a> list = app.libraryPaths(); + <a href="tqstringlist.html">TQStringList</a> list = app.libraryPaths(); TQStringList::Iterator it = list.<a href="tqvaluelist.html#begin">begin</a>(); while( it != list.<a href="tqvaluelist.html#end">end</a>() ) { myProcessing( *it ); @@ -1168,7 +1168,7 @@ TQt/Embedded windows to <em>d</em>. TQt/Embedded. <p> <p>See also <a href="qwsdecoration.html">TQWSDecoration</a>. -<h3 class=fn>void <a name="removeLibraryPath"></a>TQApplication::removeLibraryPath ( const <a href="ntqstring.html">TQString</a> & path )<tt> [static]</tt> +<h3 class=fn>void <a name="removeLibraryPath"></a>TQApplication::removeLibraryPath ( const <a href="tqstring.html">TQString</a> & path )<tt> [static]</tt> </h3> Removes <em>path</em> from the library path list. If <em>path</em> is empty or not in the path list, the list is not changed. @@ -1261,7 +1261,7 @@ objects. If <em>event_type</em> is 0, all the events are sent for <em>receiver</ </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Dispatches all posted events, i.e. empties the event queue. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="sessionId"></a>TQApplication::sessionId () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="sessionId"></a>TQApplication::sessionId () const </h3> <p> Returns the current <a href="session.html">session's</a> identifier. @@ -1271,7 +1271,7 @@ identifier is the same as it was in that previous session. applications and for different instances of the same application. <p> <p>See also <a href="#isSessionRestored">isSessionRestored</a>(), <a href="#sessionKey">sessionKey</a>(), <a href="#commitData">commitData</a>(), and <a href="#saveState">saveState</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="sessionKey"></a>TQApplication::sessionKey () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="sessionKey"></a>TQApplication::sessionKey () const </h3> <p> Returns the session key in the current <a href="session.html">session</a>. @@ -1452,7 +1452,7 @@ that may be used on touch-screens or similar IO-devices. <p> <p>See also <a href="#globalStrut">globalStrut</a>(). -<h3 class=fn>void <a name="setLibraryPaths"></a>TQApplication::setLibraryPaths ( const <a href="ntqstringlist.html">TQStringList</a> & paths )<tt> [static]</tt> +<h3 class=fn>void <a name="setLibraryPaths"></a>TQApplication::setLibraryPaths ( const <a href="tqstringlist.html">TQStringList</a> & paths )<tt> [static]</tt> </h3> 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 @@ -1556,7 +1556,7 @@ style-guide compliant. <p> <p>See also <a href="#style">style</a>(), <a href="ntqstyle.html">TQStyle</a>, <a href="#setPalette">setPalette</a>(), and <a href="#desktopSettingsAware">desktopSettingsAware</a>(). <p>Example: <a href="themes-example.html#x325">themes/themes.cpp</a>. -<h3 class=fn><a href="ntqstyle.html">TQStyle</a> * <a name="setStyle-2"></a>TQApplication::setStyle ( const <a href="ntqstring.html">TQString</a> & style )<tt> [static]</tt> +<h3 class=fn><a href="ntqstyle.html">TQStyle</a> * <a name="setStyle-2"></a>TQApplication::setStyle ( const <a href="tqstring.html">TQString</a> & style )<tt> [static]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Requests a <a href="ntqstyle.html">TQStyle</a> object for <em>style</em> from the <a href="ntqstylefactory.html">TQStyleFactory</a>. @@ -1660,7 +1660,7 @@ the tooltip if no tooltip is currently shown. 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="tqwidget.html#isTopLevel-prop">TQWidget::isTopLevel</a>, <a href="tqwidget.html#visible-prop">TQWidget::visible</a>, and <a href="tqptrlist.html#isEmpty">TQPtrList::isEmpty</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="translate"></a>TQApplication::translate ( const char * context, const char * sourceText, const char * comment = 0, <a href="ntqapplication.html#Encoding-enum">Encoding</a> encoding = DefaultCodec ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="translate"></a>TQApplication::translate ( const char * context, const char * sourceText, const char * comment = 0, <a href="ntqapplication.html#Encoding-enum">Encoding</a> 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> Returns the translation text for <em>sourceText</em>, by querying the @@ -1677,7 +1677,7 @@ default, it is null. <em>encoding</em> indicates the 8-bit encoding of character stings <p> See the <a href="ntqtranslator.html">TQTranslator</a> documentation for more information about contexts and comments. -<p> If none of the message files contain a translation for <em>sourceText</em> in <em>context</em>, this function returns a <a href="ntqstring.html">TQString</a> +<p> If none of the message files contain a translation for <em>sourceText</em> in <em>context</em>, this function returns a <a href="tqstring.html">TQString</a> equivalent of <em>sourceText</em>. The encoding of <em>sourceText</em> is specified by <em>encoding</em>; it defaults to <a href="#Encoding-enum">DefaultCodec</a>. <p> This function is not virtual. You can use alternative translation |