summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqapplication.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-07-24 21:06:28 +0900
committerMichele Calgaro <[email protected]>2024-07-28 18:25:42 +0900
commit8ef4ea451dd81dd66b34ed31aaa631f6df24a192 (patch)
treefb639fd5c35cb99f87172bc61484f5bf74b6beb9 /doc/man/man3/tqapplication.3qt
parent0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (diff)
downloadtqt3-8ef4ea451dd81dd66b34ed31aaa631f6df24a192.tar.gz
tqt3-8ef4ea451dd81dd66b34ed31aaa631f6df24a192.zip
Rename environment class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqapplication.3qt')
-rw-r--r--doc/man/man3/tqapplication.3qt46
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/man/man3/tqapplication.3qt b/doc/man/man3/tqapplication.3qt
index dfa7de94f..4e9a030b0 100644
--- a/doc/man/man3/tqapplication.3qt
+++ b/doc/man/man3/tqapplication.3qt
@@ -88,7 +88,7 @@ Inherits TQObject.
.BI "int loopLevel () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "virtual bool \fBnotify\fR ( TQObject * receiver, QEvent * e )"
+.BI "virtual bool \fBnotify\fR ( TQObject * receiver, TQEvent * e )"
.br
.ti -1c
.BI "void setDefaultCodec ( TQTextCodec * codec ) \fI(obsolete)\fR"
@@ -97,10 +97,10 @@ Inherits TQObject.
.BI "TQTextCodec * defaultCodec () const \fI(obsolete)\fR"
.br
.ti -1c
-.BI "void \fBinstallTranslator\fR ( QTranslator * mf )"
+.BI "void \fBinstallTranslator\fR ( TQTranslator * mf )"
.br
.ti -1c
-.BI "void \fBremoveTranslator\fR ( QTranslator * mf )"
+.BI "void \fBremoveTranslator\fR ( TQTranslator * mf )"
.br
.ti -1c
.BI "enum \fBEncoding\fR { DefaultCodec, UnicodeUTF8 }"
@@ -238,7 +238,7 @@ Inherits TQObject.
.BI "TQWidgetList * \fBtopLevelWidgets\fR ()"
.br
.ti -1c
-.BI "QDesktopWidget * \fBdesktop\fR ()"
+.BI "TQDesktopWidget * \fBdesktop\fR ()"
.br
.ti -1c
.BI "TQWidget * \fBactivePopupWidget\fR ()"
@@ -256,16 +256,16 @@ Inherits TQObject.
.BI "TQWidget * \fBwidgetAt\fR ( const TQPoint & pos, bool child = FALSE )"
.br
.ti -1c
-.BI "QEventLoop * \fBeventLoop\fR ()"
+.BI "TQEventLoop * \fBeventLoop\fR ()"
.br
.ti -1c
.BI "void \fBexit\fR ( int retcode = 0 )"
.br
.ti -1c
-.BI "bool \fBsendEvent\fR ( TQObject * receiver, QEvent * event )"
+.BI "bool \fBsendEvent\fR ( TQObject * receiver, TQEvent * event )"
.br
.ti -1c
-.BI "void \fBpostEvent\fR ( TQObject * receiver, QEvent * event )"
+.BI "void \fBpostEvent\fR ( TQObject * receiver, TQEvent * event )"
.br
.ti -1c
.BI "void \fBsendPostedEvents\fR ( TQObject * receiver, int event_type )"
@@ -827,14 +827,14 @@ See also setCursorFlashTime().
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
Returns TQTextCodec::codecForTr().
-.SH "QDesktopWidget * QApplication::desktop ()\fC [static]\fR"
+.SH "TQDesktopWidget * QApplication::desktop ()\fC [static]\fR"
Returns the desktop widget (also called the root window).
.PP
The desktop widget is useful for obtaining the size of the screen. It may also be possible to draw on the desktop. We recommend against assuming that it's possible to draw on the desktop, since this does not work on all operating systems.
.PP
.nf
.br
- QDesktopWidget *d = QApplication::desktop();
+ TQDesktopWidget *d = QApplication::desktop();
.br
int w = d->width(); // returns desktop width
.br
@@ -860,12 +860,12 @@ See also setDoubleClickInterval().
This function enters the main event loop (recursively). Do not call it unless you really know what you are doing.
.PP
Use QApplication::eventLoop()->enterLoop() instead.
-.SH "QEventLoop * QApplication::eventLoop ()\fC [static]\fR"
+.SH "TQEventLoop * QApplication::eventLoop ()\fC [static]\fR"
Returns the application event loop. This function will return zero if called during and after destroying QApplication.
.PP
-To create your own instance of QEventLoop or QEventLoop subclass create it before you create the QApplication object.
+To create your own instance of TQEventLoop or TQEventLoop subclass create it before you create the QApplication object.
.PP
-See also QEventLoop.
+See also TQEventLoop.
.PP
Example: distributor/distributor.ui.h.
.SH "int QApplication::exec ()"
@@ -945,12 +945,12 @@ See also setGlobalMouseTracking().
This function returns TRUE if there are pending events; otherwise returns FALSE. Pending events can be either from the window system or posted events using QApplication::postEvent().
.SH "int QApplication::horizontalAlignment ( int align )\fC [static]\fR"
Strips out vertical alignment flags and transforms an alignment \fIalign\fR of AlignAuto into AlignLeft or AlignRight according to the language used. The other horizontal alignment flags are left untouched.
-.SH "void QApplication::installTranslator ( QTranslator * mf )"
+.SH "void QApplication::installTranslator ( TQTranslator * mf )"
Adds the message file \fImf\fR to the list of message files to be used for translations.
.PP
Multiple message files can be installed. Translations are searched for in the last installed message file, then the one from last, and so on, back to the first installed message file. The search stops as soon as a matching translation is found.
.PP
-See also removeTranslator(), translate(), and QTranslator::load().
+See also removeTranslator(), translate(), and TQTranslator::load().
.PP
Example: i18n/main.cpp.
.SH "bool QApplication::isEffectEnabled ( TQt::UIEffect effect )\fC [static]\fR"
@@ -1026,7 +1026,7 @@ Return TRUE if you want to stop the event from being processed. Return FALSE for
Returns the main application widget, or 0 if there is no main widget.
.PP
See also setMainWidget().
-.SH "bool QApplication::notify ( TQObject * receiver, QEvent * e )\fC [virtual]\fR"
+.SH "bool QApplication::notify ( TQObject * receiver, TQEvent * e )\fC [virtual]\fR"
Sends event \fIe\fR to \fIreceiver\fR: \fIreceiver\fR->event(\fIe\fR). Returns the value that is returned from the receiver's event handler.
.PP
For certain types of events (e.g. mouse and key events), the event will be propagated to the receiver's parent and so on up to the top-level object if the receiver is not interested in the event (i.e., it returns FALSE).
@@ -1071,7 +1071,7 @@ Usually widgets call this automatically when they are polished. It may be used t
Note that you are not limited to the public functions of TQWidget. Instead, based on meta information like TQObject::className() you are able to customize any kind of widget.
.PP
See also TQStyle::polish(), TQWidget::polish(), setPalette(), and setFont().
-.SH "void QApplication::postEvent ( TQObject * receiver, QEvent * event )\fC [static]\fR"
+.SH "void QApplication::postEvent ( TQObject * receiver, TQEvent * event )\fC [static]\fR"
\fBNote:\fR This function is thread-safe when TQt is built withthread support.</p> Adds the event \fIevent\fR with the object \fIreceiver\fR as the receiver of the event, to an event queue and returns immediately.
.PP
The event must be allocated on the heap since the post event queue will take ownership of the event and delete it once it has been posted.
@@ -1084,7 +1084,7 @@ Processes pending events, for 3 seconds or until there are no more events to pro
.PP
You can call this function occasionally when your program is busy performing a long operation (e.g. copying a file).
.PP
-See also exec(), TQTimer, and QEventLoop::processEvents().
+See also exec(), TQTimer, and TQEventLoop::processEvents().
.PP
Examples:
.)l fileiconview/tqfileiconview.cpp and network/ftpclient/main.cpp.
@@ -1095,7 +1095,7 @@ Processes pending events for \fImaxtime\fR milliseconds or until there are no mo
.PP
You can call this function occasionally when you program is busy doing a long operation (e.g. copying a file).
.PP
-See also exec(), TQTimer, and QEventLoop::processEvents().
+See also exec(), TQTimer, and TQEventLoop::processEvents().
.SH "void QApplication::processOneEvent ()"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
.PP
@@ -1133,7 +1133,7 @@ See also addLibraryPath(), libraryPaths(), and setLibraryPaths().
\fBNote:\fR This function is thread-safe when TQt is built withthread support.</p> Removes all events posted using postEvent() for \fIreceiver\fR.
.PP
The events are \fInot\fR dispatched, instead they are removed from the queue. You should never need to call this function. If you do call it, be aware that killing events may cause \fIreceiver\fR to break one or more invariants.
-.SH "void QApplication::removeTranslator ( QTranslator * mf )"
+.SH "void QApplication::removeTranslator ( TQTranslator * mf )"
Removes the message file \fImf\fR from the list of message files used by this application. (It does not delete the message file from the file system.)
.PP
See also installTranslator(), translate(), and TQObject::tr().
@@ -1162,14 +1162,14 @@ Note that you should never exit the application within this function. Instead, t
\fBWarning:\fR Within this function, no user interaction is possible, \fIunless\fR you ask the session manager \fIsm\fR for explicit permission. See TQSessionManager::allowsInteraction() and TQSessionManager::allowsErrorInteraction() for details.
.PP
See also isSessionRestored(), sessionId(), commitData(), and the Session Management overview.
-.SH "bool QApplication::sendEvent ( TQObject * receiver, QEvent * event )\fC [static]\fR"
+.SH "bool QApplication::sendEvent ( TQObject * receiver, TQEvent * event )\fC [static]\fR"
Sends event \fIevent\fR directly to receiver \fIreceiver\fR, using the notify() function. Returns the value that was returned from the event handler.
.PP
The event is \fInot\fR deleted when the event has been sent. The normal approach is to create the event on the stack, e.g.
.PP
.nf
.br
- QMouseEvent me( QEvent::MouseButtonPress, pos, 0, 0 );
+ QMouseEvent me( TQEvent::MouseButtonPress, pos, 0, 0 );
.br
QApplication::sendEvent( mainWindow, &me );
.br
@@ -1551,11 +1551,11 @@ TQObject::tr() and TQObject::trUtf8() provide this functionality more convenient
.PP
\fIcomment\fR is a disambiguating comment, for when the same \fIsourceText\fR is used in different roles within the same context. By default, it is null. \fIencoding\fR indicates the 8-bit encoding of character stings
.PP
-See the QTranslator documentation for more information about contexts and comments.
+See the TQTranslator documentation for more information about contexts and comments.
.PP
If none of the message files contain a translation for \fIsourceText\fR in \fIcontext\fR, this function returns a TQString equivalent of \fIsourceText\fR. The encoding of \fIsourceText\fR is specified by \fIencoding\fR; it defaults to DefaultCodec.
.PP
-This function is not virtual. You can use alternative translation techniques by subclassing QTranslator.
+This function is not virtual. You can use alternative translation techniques by subclassing TQTranslator.
.PP
\fBWarning:\fR This method is reentrant only if all translators are installed \fIbefore\fR 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.
.PP