diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/man/man3/tqwidgetstack.3qt | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip |
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqwidgetstack.3qt')
-rw-r--r-- | doc/man/man3/tqwidgetstack.3qt | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/man/man3/tqwidgetstack.3qt b/doc/man/man3/tqwidgetstack.3qt index f65c5ff2b..08601ac84 100644 --- a/doc/man/man3/tqwidgetstack.3qt +++ b/doc/man/man3/tqwidgetstack.3qt @@ -1,5 +1,5 @@ '\" t -.TH QWidgetStack 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQWidgetStack 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,22 +7,22 @@ .ad l .nh .SH NAME -QWidgetStack \- Stack of widgets of which only the top widget is user-visible +TQWidgetStack \- Stack of widgets of which only the top widget is user-visible .SH SYNOPSIS -\fC#include <ntqwidgetstack.h>\fR +\fC#include <tqwidgetstack.h>\fR .PP Inherits QFrame. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQWidgetStack\fR ( TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQWidgetStack\fR ( TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fBQWidgetStack\fR ( TQWidget * parent, const char * name, WFlags f )" +.BI "\fBTQWidgetStack\fR ( TQWidget * parent, const char * name, WFlags f )" .br .ti -1c -.BI "\fB~QWidgetStack\fR ()" +.BI "\fB~TQWidgetStack\fR ()" .br .ti -1c .BI "int \fBaddWidget\fR ( TQWidget * w, int id = -1 )" @@ -65,41 +65,41 @@ Inherits QFrame. .br .in -1c .SH DESCRIPTION -The QWidgetStack class provides a stack of widgets of which only the top widget is user-visible. +The TQWidgetStack class provides a stack of widgets of which only the top widget is user-visible. .PP The application programmer can move any widget to the top of the stack at any time using raiseWidget(), and add or remove widgets using addWidget() and removeWidget(). It is not sufficient to pass the widget stack as parent to a widget which should be inserted into the widgetstack. .PP visibleWidget() is the \fIget\fR equivalent of raiseWidget(); it returns a pointer to the widget that is currently at the top of the stack. .PP -QWidgetStack also provides the ability to manipulate widgets through application-specified integer IDs. You can also translate from widget pointers to IDs using id() and from IDs to widget pointers using widget(). These numeric IDs are unique (per QWidgetStack, not globally), but QWidgetStack does not attach any additional meaning to them. +TQWidgetStack also provides the ability to manipulate widgets through application-specified integer IDs. You can also translate from widget pointers to IDs using id() and from IDs to widget pointers using widget(). These numeric IDs are unique (per TQWidgetStack, not globally), but TQWidgetStack does not attach any additional meaning to them. .PP The default widget stack is frameless, but you can use the usual QFrame functions (such as setFrameStyle()) to add a frame. .PP -QWidgetStack provides a signal, aboutToShow(), which is emitted just before a managed widget is shown. +TQWidgetStack provides a signal, aboutToShow(), which is emitted just before a managed widget is shown. .PP See also QTabDialog, QTabBar, QFrame, and Organizers. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QWidgetStack::QWidgetStack ( TQWidget * parent = 0, const char * name = 0 )" +.SH "TQWidgetStack::TQWidgetStack ( TQWidget * parent = 0, const char * name = 0 )" Constructs an empty widget stack. .PP The \fIparent\fR and \fIname\fR arguments are passed to the QFrame constructor. -.SH "QWidgetStack::QWidgetStack ( TQWidget * parent, const char * name, WFlags f )" +.SH "TQWidgetStack::TQWidgetStack ( TQWidget * parent, const char * name, WFlags f )" Constructs an empty widget stack. .PP The \fIparent\fR, \fIname\fR and \fIf\fR arguments are passed to the QFrame constructor. -.SH "QWidgetStack::~QWidgetStack ()" +.SH "TQWidgetStack::~TQWidgetStack ()" Destroys the object and frees any allocated resources. -.SH "void QWidgetStack::aboutToShow ( int )\fC [signal]\fR" +.SH "void TQWidgetStack::aboutToShow ( int )\fC [signal]\fR" This signal is emitted just before a managed widget is shown if that managed widget has an ID != -1. The argument is the numeric ID of the widget. .PP If you call visibleWidget() in a slot connected to aboutToShow(), the widget it returns is the one that is currently visible, not the one that is about to be shown. -.SH "void QWidgetStack::aboutToShow ( TQWidget * )\fC [signal]\fR" +.SH "void TQWidgetStack::aboutToShow ( TQWidget * )\fC [signal]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP This signal is emitted just before a managed widget is shown. The argument is a pointer to the widget. .PP If you call visibleWidget() in a slot connected to aboutToShow(), the widget returned is the one that is currently visible, not the one that is about to be shown. -.SH "int QWidgetStack::addWidget ( TQWidget * w, int id = -1 )" +.SH "int TQWidgetStack::addWidget ( TQWidget * w, int id = -1 )" Adds widget \fIw\fR to this stack of widgets, with ID \fIid\fR. .PP If you pass an id >= 0 this ID is used. If you pass an \fIid\fR of -1 (the default), the widgets will be numbered automatically. If you pass -2 a unique negative integer will be generated. No widget has an ID of -1. Returns the ID or -1 on failure (e.g. \fIw\fR is 0). @@ -108,40 +108,40 @@ If you pass an id that is already used, then a unique negative integer will be g .PP If \fIw\fR already exists in the stack the widget will be removed first. .PP -If \fIw\fR is not a child of this QWidgetStack moves it using reparent(). +If \fIw\fR is not a child of this TQWidgetStack moves it using reparent(). .PP Example: xform/xform.cpp. -.SH "int QWidgetStack::id ( TQWidget * widget ) const" +.SH "int TQWidgetStack::id ( TQWidget * widget ) const" Returns the ID of the \fIwidget\fR. Returns -1 if \fIwidget\fR is 0 or is not being managed by this widget stack. .PP See also widget() and addWidget(). -.SH "void QWidgetStack::raiseWidget ( int id )\fC [slot]\fR" +.SH "void TQWidgetStack::raiseWidget ( int id )\fC [slot]\fR" Raises the widget with ID \fIid\fR to the top of the widget stack. .PP See also visibleWidget(). .PP Example: xform/xform.cpp. -.SH "void QWidgetStack::raiseWidget ( TQWidget * w )\fC [slot]\fR" +.SH "void TQWidgetStack::raiseWidget ( TQWidget * w )\fC [slot]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Raises widget \fIw\fR to the top of the widget stack. -.SH "void QWidgetStack::removeWidget ( TQWidget * w )" +.SH "void TQWidgetStack::removeWidget ( TQWidget * w )" Removes widget \fIw\fR from this stack of widgets. Does not delete \fIw\fR. If \fIw\fR is the currently visible widget, no other widget is substituted. .PP See also visibleWidget() and raiseWidget(). -.SH "void QWidgetStack::setChildGeometries ()\fC [virtual protected]\fR" +.SH "void TQWidgetStack::setChildGeometries ()\fC [virtual protected]\fR" Fixes up the children's geometries. -.SH "TQWidget * QWidgetStack::visibleWidget () const" +.SH "TQWidget * TQWidgetStack::visibleWidget () const" Returns the currently visible widget (the one at the top of the stack), or 0 if nothing is currently being shown. .PP See also aboutToShow(), id(), and raiseWidget(). -.SH "TQWidget * QWidgetStack::widget ( int id ) const" +.SH "TQWidget * TQWidgetStack::widget ( int id ) const" Returns the widget with ID \fIid\fR. Returns 0 if this widget stack does not manage a widget with ID \fIid\fR. .PP See also id() and addWidget(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqwidgetstack.html +.BR http://doc.trolltech.com/tqwidgetstack.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |