diff options
Diffstat (limited to 'doc/man/man3/tqapplication.3qt')
-rw-r--r-- | doc/man/man3/tqapplication.3qt | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/man/man3/tqapplication.3qt b/doc/man/man3/tqapplication.3qt index e6d397ada..087c53964 100644 --- a/doc/man/man3/tqapplication.3qt +++ b/doc/man/man3/tqapplication.3qt @@ -139,10 +139,10 @@ Inherits TQObject. .BI "TQString \fBsessionKey\fR () const" .br .ti -1c -.BI "virtual void \fBcommitData\fR ( QSessionManager & sm )" +.BI "virtual void \fBcommitData\fR ( TQSessionManager & sm )" .br .ti -1c -.BI "virtual void \fBsaveState\fR ( QSessionManager & sm )" +.BI "virtual void \fBsaveState\fR ( TQSessionManager & sm )" .br .ti -1c .BI "void \fBwakeUpGuiThread\fR ()" @@ -325,10 +325,10 @@ Inherits TQObject. .BI "int \fBwheelScrollLines\fR ()" .br .ti -1c -.BI "void \fBsetGlobalStrut\fR ( const QSize & strut )" +.BI "void \fBsetGlobalStrut\fR ( const TQSize & strut )" .br .ti -1c -.BI "QSize \fBglobalStrut\fR ()" +.BI "TQSize \fBglobalStrut\fR ()" .br .ti -1c .BI "void \fBsetLibraryPaths\fR ( const TQStringList & paths )" @@ -631,7 +631,7 @@ See also activePopupWidget() and topLevelWidgets(). .SH "TQWidget * QApplication::activePopupWidget ()\fC [static]\fR" Returns the active popup widget. .PP -A popup widget is a special top level widget that sets the WType_Popup widget flag, e.g. the QPopupMenu widget. When the application opens a popup widget, all events are sent to the popup. Normal widgets and modal widgets cannot be accessed before the popup widget is closed. +A popup widget is a special top level widget that sets the WType_Popup widget flag, e.g. the TQPopupMenu widget. When the application opens a popup widget, all events are sent to the popup. Normal widgets and modal widgets cannot be accessed before the popup widget is closed. .PP Only other popup widgets may be opened when a popup widget is shown. The popup widgets are organized in a stack. This function returns the active popup widget at the top of the stack. .PP @@ -776,7 +776,7 @@ This function is particularly useful for applications with many top-level window .br // the "Quit" menu entry should try to close all windows .br - QPopupMenu* file = new QPopupMenu( this ); + TQPopupMenu* file = new TQPopupMenu( this ); .br file->insertItem( "&Quit", tqApp, TQ_SLOT(closeAllWindows()), CTRL+Key_Q ); .br @@ -803,14 +803,14 @@ Returns the color specification. See also QApplication::setColorSpec(). .PP Example: showimg/showimg.cpp. -.SH "void QApplication::commitData ( QSessionManager & sm )\fC [virtual]\fR" -This function deals with session management. It is invoked when the QSessionManager wants the application to commit all its data. +.SH "void QApplication::commitData ( TQSessionManager & sm )\fC [virtual]\fR" +This function deals with session management. It is invoked when the TQSessionManager wants the application to commit all its data. .PP Usually this means saving all open files, after getting permission from the user. Furthermore you may want to provide a means by which the user can cancel the shutdown. .PP Note that you should not exit the application within this function. Instead, the session manager may or may not do this afterwards, depending on the context. .PP -\fBWarning:\fR Within this function, no user interaction is possible, \fIunless\fR you ask the session manager \fIsm\fR for explicit permission. See QSessionManager::allowsInteraction() and QSessionManager::allowsErrorInteraction() for details and example usage. +\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 and example usage. .PP The default implementation requests interaction and sends a close event to all visible top level widgets. If any event was rejected, the shutdown is canceled. .PP @@ -927,7 +927,7 @@ Examples: Returns display (screen) font metrics for the application font. .PP See also font(), setFont(), TQWidget::fontMetrics(), and QPainter::fontMetrics(). -.SH "QSize QApplication::globalStrut ()\fC [static]\fR" +.SH "TQSize QApplication::globalStrut ()\fC [static]\fR" Returns the application's global strut. .PP The strut is a size object whose dimensions are the minimum that any GUI element that the user can interact with should have. For example no button should be resized to be smaller than the global strut size. @@ -1109,7 +1109,7 @@ See also processEvents(), exec(), and TQTimer. .SH "void QApplication::quit ()\fC [slot]\fR" Tells the application to exit with return code 0 (success). Equivalent to calling QApplication::exit( 0 ). .PP -It's common to connect the lastWindowClosed() signal to quit(), and you also often connect e.g. QButton::clicked() or signals in QAction, QPopupMenu or QMenuBar to it. +It's common to connect the lastWindowClosed() signal to quit(), and you also often connect e.g. QButton::clicked() or signals in TQAction, TQPopupMenu or TQMenuBar to it. .PP Example: .PP @@ -1121,7 +1121,7 @@ Example: .br .fi .PP -See also exit(), aboutToQuit(), lastWindowClosed(), and QAction. +See also exit(), aboutToQuit(), lastWindowClosed(), and TQAction. .PP Examples: .)l addressbook/main.cpp, mdi/main.cpp, network/archivesearch/main.cpp, regexptester/main.cpp, t2/main.cpp, t4/main.cpp, and t6/main.cpp. @@ -1152,14 +1152,14 @@ Examples: Returns TRUE if all dialogs and widgets will be laid out in a mirrored (right to left) fashion. Returns FALSE if dialogs and widgets will be laid out left to right. .PP See also setReverseLayout(). -.SH "void QApplication::saveState ( QSessionManager & sm )\fC [virtual]\fR" +.SH "void QApplication::saveState ( TQSessionManager & sm )\fC [virtual]\fR" This function deals with session management. It is invoked when the session manager wants the application to preserve its state for a future session. .PP For example, a text editor would create a temporary file that includes the current contents of its edit buffers, the location of the cursor and other aspects of the current editing session. .PP Note that you should never exit the application within this function. Instead, the session manager may or may not do this afterwards, depending on the context. Futhermore, most session managers will very likely request a saved state immediately after the application has been started. This permits the session manager to learn about the application's restart policy. .PP -\fBWarning:\fR Within this function, no user interaction is possible, \fIunless\fR you ask the session manager \fIsm\fR for explicit permission. See QSessionManager::allowsInteraction() and QSessionManager::allowsErrorInteraction() for details. +\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" @@ -1333,7 +1333,7 @@ This function uses an internal counter. Each setGlobalMouseTracking(TRUE) must h .fi .PP See also hasGlobalMouseTracking() and TQWidget::mouseTracking. -.SH "void QApplication::setGlobalStrut ( const QSize & strut )\fC [static]\fR" +.SH "void QApplication::setGlobalStrut ( const TQSize & strut )\fC [static]\fR" Sets the application's global strut to \fIstrut\fR. .PP The strut is a size object whose dimensions are the minimum that any GUI element that the user can interact with should have. For example no button should be resized to be smaller than the global strut size. @@ -1344,11 +1344,11 @@ Example: .PP .nf .br - QSize& WidgetClass::sizeHint() const + TQSize& WidgetClass::sizeHint() const .br { .br - return QSize( 80, 25 ).expandedTo( QApplication::globalStrut() ); + return TQSize( 80, 25 ).expandedTo( QApplication::globalStrut() ); .br } .br |