diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-02 21:37:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-06 11:24:55 +0900 |
commit | 7552c6d73043b1040139033f6864db48ae5446cf (patch) | |
tree | f90d24d072dd3ee6a3f909bf7778abc7669f03ef /doc/man/man3/tqworkspace.3qt | |
parent | c113da2069b66130f67a0f27c699e1cec83588a5 (diff) | |
download | tqt3-7552c6d73043b1040139033f6864db48ae5446cf.tar.gz tqt3-7552c6d73043b1040139033f6864db48ae5446cf.zip |
Rename main window nt* related files to equivalent tq*. The file
"ntqsession.h" was totally unnecessary and has been removed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqworkspace.3qt')
-rw-r--r-- | doc/man/man3/tqworkspace.3qt | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/doc/man/man3/tqworkspace.3qt b/doc/man/man3/tqworkspace.3qt index 49d152636..0a5964ab8 100644 --- a/doc/man/man3/tqworkspace.3qt +++ b/doc/man/man3/tqworkspace.3qt @@ -1,5 +1,5 @@ '\" t -.TH QWorkspace 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQWorkspace 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,19 +7,19 @@ .ad l .nh .SH NAME -QWorkspace \- Workspace window that can contain decorated windows, e.g. for MDI +TQWorkspace \- Workspace window that can contain decorated windows, e.g. for MDI .SH SYNOPSIS -\fC#include <ntqworkspace.h>\fR +\fC#include <tqworkspace.h>\fR .PP Inherits TQWidget. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQWorkspace\fR ( TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQWorkspace\fR ( TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QWorkspace\fR ()" +.BI "\fB~TQWorkspace\fR ()" .br .ti -1c .BI "enum \fBWindowOrder\fR { CreationOrder, StackingOrder }" @@ -74,11 +74,11 @@ Inherits TQWidget. .br .in -1c .SH DESCRIPTION -The QWorkspace widget provides a workspace window that can contain decorated windows, e.g. for MDI. +The TQWorkspace widget provides a workspace window that can contain decorated windows, e.g. for MDI. .PP -MDI (multiple document interface) applications typically have one main window with a menu bar and toolbar, and a central widget that is a QWorkspace. The workspace itself contains zero, one or more document windows, each of which is a widget. +MDI (multiple document interface) applications typically have one main window with a menu bar and toolbar, and a central widget that is a TQWorkspace. The workspace itself contains zero, one or more document windows, each of which is a widget. .PP -The workspace itself is an ordinary TQt widget. It has a standard constructor that takes a parent widget and an object name. The parent window is usually a QMainWindow, but it need not be. +The workspace itself is an ordinary TQt widget. It has a standard constructor that takes a parent widget and an object name. The parent window is usually a TQMainWindow, but it need not be. .PP Document windows (i.e. MDI windows) are also ordinary TQt widgets which have the workspace as their parent widget. When you call show(), hide(), showMaximized(), setCaption(), etc. on a document window, it is shown, hidden, etc. with a frame, caption, icon and icon text, just as you'd expect. You can provide widget flags which will be used for the layout of the decoration or the behaviour of the widget itself. .PP @@ -88,68 +88,68 @@ A document window becomes active when it gets the keyboard focus. You can also a .PP The convenience function windowList() returns a list of all document windows. This is useful to create a popup menu" <u>W</u>indows" on the fly, for example. .PP -QWorkspace provides two built-in layout strategies for child windows: cascade() and tile(). Both are slots so you can easily connect menu entries to them. +TQWorkspace provides two built-in layout strategies for child windows: cascade() and tile(). Both are slots so you can easily connect menu entries to them. .PP If you want your users to be able to work with document windows larger than the actual workspace, set the scrollBarsEnabled property to TRUE. .PP -If the top-level window contains a menu bar and a document window is maximised, QWorkspace moves the document window's minimize, restore and close buttons from the document window's frame to the workspace window's menu bar. It then inserts a window operations menu at the far left of the menu bar. +If the top-level window contains a menu bar and a document window is maximised, TQWorkspace moves the document window's minimize, restore and close buttons from the document window's frame to the workspace window's menu bar. It then inserts a window operations menu at the far left of the menu bar. .PP See also Main Window and Related Classes and Organizers. .SS "Member Type Documentation" -.SH "QWorkspace::WindowOrder" +.SH "TQWorkspace::WindowOrder" Specifies the order in which windows are returned from windowList(). .TP -\fCQWorkspace::CreationOrder\fR - The windows are returned in the order of their creation +\fCTQWorkspace::CreationOrder\fR - The windows are returned in the order of their creation .TP -\fCQWorkspace::StackingOrder\fR - The windows are returned in the order of their stacking +\fCTQWorkspace::StackingOrder\fR - The windows are returned in the order of their stacking .SH MEMBER FUNCTION DOCUMENTATION -.SH "QWorkspace::QWorkspace ( TQWidget * parent = 0, const char * name = 0 )" +.SH "TQWorkspace::TQWorkspace ( TQWidget * parent = 0, const char * name = 0 )" Constructs a workspace with a \fIparent\fR and a \fIname\fR. -.SH "QWorkspace::~QWorkspace ()" +.SH "TQWorkspace::~TQWorkspace ()" Destroys the workspace and frees any allocated resources. -.SH "void QWorkspace::activateNextWindow ()\fC [slot]\fR" +.SH "void TQWorkspace::activateNextWindow ()\fC [slot]\fR" Activates the next window in the child window chain. .PP See also activatePrevWindow(). -.SH "void QWorkspace::activatePrevWindow ()\fC [slot]\fR" +.SH "void TQWorkspace::activatePrevWindow ()\fC [slot]\fR" Activates the previous window in the child window chain. .PP See also activateNextWindow(). -.SH "TQWidget * QWorkspace::activeWindow () const" +.SH "TQWidget * TQWorkspace::activeWindow () const" Returns the active window, or 0 if no window is active. .PP Example: mdi/application.cpp. -.SH "void QWorkspace::cascade ()\fC [slot]\fR" +.SH "void TQWorkspace::cascade ()\fC [slot]\fR" Arranges all the child windows in a cascade pattern. .PP See also tile(). .PP Example: mdi/application.cpp. -.SH "void QWorkspace::closeActiveWindow ()\fC [slot]\fR" +.SH "void TQWorkspace::closeActiveWindow ()\fC [slot]\fR" Closes the child window that is currently active. .PP See also closeAllWindows(). -.SH "void QWorkspace::closeAllWindows ()\fC [slot]\fR" +.SH "void TQWorkspace::closeAllWindows ()\fC [slot]\fR" Closes all child windows. .PP The windows are closed in random order. The operation stops if a window does not accept the close event. .PP See also closeActiveWindow(). -.SH "bool QWorkspace::scrollBarsEnabled () const" +.SH "bool TQWorkspace::scrollBarsEnabled () const" Returns TRUE if the workspace provides scrollbars; otherwise returns FALSE. See the "scrollBarsEnabled" property for details. -.SH "void QWorkspace::setScrollBarsEnabled ( bool enable )" +.SH "void TQWorkspace::setScrollBarsEnabled ( bool enable )" Sets whether the workspace provides scrollbars to \fIenable\fR. See the "scrollBarsEnabled" property for details. -.SH "void QWorkspace::tile ()\fC [slot]\fR" +.SH "void TQWorkspace::tile ()\fC [slot]\fR" Arranges all child windows in a tile pattern. .PP See also cascade(). .PP Example: mdi/application.cpp. -.SH "void QWorkspace::windowActivated ( TQWidget * w )\fC [signal]\fR" +.SH "void TQWorkspace::windowActivated ( TQWidget * w )\fC [signal]\fR" This signal is emitted when the window widget \fIw\fR becomes active. Note that \fIw\fR can be null, and that more than one signal may be emitted for a single activation event. .PP See also activeWindow() and windowList(). -.SH "TQWidgetList QWorkspace::windowList ( WindowOrder order ) const" +.SH "TQWidgetList TQWorkspace::windowList ( WindowOrder order ) const" Returns a list of all windows. If \fIorder\fR is CreationOrder (the default) the windows are listed in the order in which they had been inserted into the workspace. If \fIorder\fR is StackingOrder the windows are listed in their stacking order, with the topmost window being the last window in the list. .PP TQWidgetList is the same as TQPtrList<TQWidget>. @@ -157,7 +157,7 @@ TQWidgetList is the same as TQPtrList<TQWidget>. See also TQPtrList. .PP Example: mdi/application.cpp. -.SH "TQWidgetList QWorkspace::windowList () const" +.SH "TQWidgetList TQWorkspace::windowList () const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -171,7 +171,7 @@ If this property is set to TRUE, it is possible to resize child windows over the Set this property's value with setScrollBarsEnabled() and get this property's value with scrollBarsEnabled(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqworkspace.html +.BR http://doc.trolltech.com/tqworkspace.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |