diff options
author | Michele Calgaro <[email protected]> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/man/man3 | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip |
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3')
-rw-r--r-- | doc/man/man3/tqapplication.3qt | 18 | ||||
-rw-r--r-- | doc/man/man3/tqframe.3qt | 2 | ||||
-rw-r--r-- | doc/man/man3/tqlayoutitem.3qt | 16 | ||||
-rw-r--r-- | doc/man/man3/tqmotifwidget.3qt | 2 | ||||
-rw-r--r-- | doc/man/man3/tqscrollview.3qt | 2 | ||||
-rw-r--r-- | doc/man/man3/tqtabdialog.3qt | 2 | ||||
-rw-r--r-- | doc/man/man3/tqtable.3qt | 2 | ||||
-rw-r--r-- | doc/man/man3/tqtabwidget.3qt | 6 | ||||
-rw-r--r-- | doc/man/man3/tqwidget.3qt | 28 | ||||
-rw-r--r-- | doc/man/man3/tqwidgetfactory.3qt | 54 | ||||
-rw-r--r-- | doc/man/man3/tqwidgetitem.3qt | 26 | ||||
-rw-r--r-- | doc/man/man3/tqwidgetplugin.3qt | 38 | ||||
-rw-r--r-- | doc/man/man3/tqwidgetstack.3qt | 48 | ||||
-rw-r--r-- | doc/man/man3/tqworkspace.3qt | 10 |
14 files changed, 127 insertions, 127 deletions
diff --git a/doc/man/man3/tqapplication.3qt b/doc/man/man3/tqapplication.3qt index 347998f9e..7cb94cc41 100644 --- a/doc/man/man3/tqapplication.3qt +++ b/doc/man/man3/tqapplication.3qt @@ -238,10 +238,10 @@ Inherits TQObject. .BI "QFontMetrics \fBfontMetrics\fR ()" .br .ti -1c -.BI "QWidgetList * \fBallWidgets\fR ()" +.BI "TQWidgetList * \fBallWidgets\fR ()" .br .ti -1c -.BI "QWidgetList * \fBtopLevelWidgets\fR ()" +.BI "TQWidgetList * \fBtopLevelWidgets\fR ()" .br .ti -1c .BI "QDesktopWidget * \fBdesktop\fR ()" @@ -662,7 +662,7 @@ Append \fIpath\fR to the end of the library path list. If \fIpath\fR is empty or The default path list consists of a single entry, the installation directory for plugins. The default installation directory for plugins is \fCINSTALL/plugins\fR, where \fCINSTALL\fR is the directory where TQt was installed. .PP See also removeLibraryPath(), libraryPaths(), and setLibraryPaths(). -.SH "QWidgetList * QApplication::allWidgets ()\fC [static]\fR" +.SH "TQWidgetList * QApplication::allWidgets ()\fC [static]\fR" Returns a list of all the widgets in the application. .PP The list is created using \fCnew\fR and must be deleted by the caller. @@ -675,9 +675,9 @@ Example that updates all widgets: .PP .nf .br - QWidgetList *list = QApplication::allWidgets(); + TQWidgetList *list = QApplication::allWidgets(); .br - QWidgetListIt it( *list ); // iterate over the widgets + TQWidgetListIt it( *list ); // iterate over the widgets .br TQWidget * w; .br @@ -693,7 +693,7 @@ Example that updates all widgets: .br .fi .PP -The QWidgetList class is defined in the \fCntqwidgetlist.h\fR header file. +The TQWidgetList class is defined in the \fCtqwidgetlist.h\fR header file. .PP \fBWarning:\fR Delete the list as soon as you have finished using it. The widgets in the list may be deleted by someone else at any time. .PP @@ -1544,7 +1544,7 @@ See also setStyle() and QStyle. Synchronizes with the X server in the X11 implementation. This normally takes some time. Does nothing on other platforms. .PP See also flushX(). -.SH "QWidgetList * QApplication::topLevelWidgets ()\fC [static]\fR" +.SH "TQWidgetList * QApplication::topLevelWidgets ()\fC [static]\fR" Returns a list of the top level widgets in the application. .PP The list is created using \fCnew\fR and must be deleted by the caller. @@ -1559,9 +1559,9 @@ Example: .br // Show all hidden top level widgets. .br - QWidgetList *list = QApplication::topLevelWidgets(); + TQWidgetList *list = QApplication::topLevelWidgets(); .br - QWidgetListIt it( *list ); // iterate over the widgets + TQWidgetListIt it( *list ); // iterate over the widgets .br TQWidget * w; .br diff --git a/doc/man/man3/tqframe.3qt b/doc/man/man3/tqframe.3qt index c3b83a68b..30dcce7b8 100644 --- a/doc/man/man3/tqframe.3qt +++ b/doc/man/man3/tqframe.3qt @@ -13,7 +13,7 @@ QFrame \- The base class of widgets that can have a frame .PP Inherits TQWidget. .PP -Inherited by QGroupBox, QScrollView, QDockWindow, QGrid, QHBox, QLabel, QLCDNumber, QLineEdit, QMenuBar, QPopupMenu, QProgressBar, QSplitter, QToolBox, and QWidgetStack. +Inherited by QGroupBox, QScrollView, QDockWindow, QGrid, QHBox, QLabel, QLCDNumber, QLineEdit, QMenuBar, QPopupMenu, QProgressBar, QSplitter, QToolBox, and TQWidgetStack. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqlayoutitem.3qt b/doc/man/man3/tqlayoutitem.3qt index 419316c8d..babd5553b 100644 --- a/doc/man/man3/tqlayoutitem.3qt +++ b/doc/man/man3/tqlayoutitem.3qt @@ -11,7 +11,7 @@ QLayoutItem \- Abstract item that a QLayout manipulates .SH SYNOPSIS \fC#include <ntqlayout.h>\fR .PP -Inherited by QLayout, QSpacerItem, and QWidgetItem. +Inherited by QLayout, QSpacerItem, and TQWidgetItem. .PP .SS "Public Members" .in +1c @@ -92,7 +92,7 @@ Returns the alignment of this item. .SH "QSizePolicy::ExpandData QLayoutItem::expanding () const\fC [pure virtual]\fR" Implemented in subclasses to return the direction(s) this item" wants" to expand in (if any). .PP -Reimplemented in QLayout, QSpacerItem, and QWidgetItem. +Reimplemented in QLayout, QSpacerItem, and TQWidgetItem. .SH "QRect QLayoutItem::geometry () const\fC [pure virtual]\fR" Returns the rectangle covered by this layout item. .PP @@ -155,7 +155,7 @@ Reimplemented in QLayout. .SH "bool QLayoutItem::isEmpty () const\fC [pure virtual]\fR" Implemented in subclasses to return whether this item is empty, i.e. whether it contains any widgets. .PP -Reimplemented in QLayout, QSpacerItem, and QWidgetItem. +Reimplemented in QLayout, QSpacerItem, and TQWidgetItem. .SH "QLayoutIterator QLayoutItem::iterator ()\fC [virtual]\fR" Returns an iterator over this item's QLayoutItem children. The default implementation returns an empty iterator. .PP @@ -167,14 +167,14 @@ If this item is a QLayout, it is returned as a QLayout; otherwise 0 is returned. .SH "QSize QLayoutItem::maximumSize () const\fC [pure virtual]\fR" Implemented in subclasses to return the maximum size of this item. .PP -Reimplemented in QLayout, QSpacerItem, and QWidgetItem. +Reimplemented in QLayout, QSpacerItem, and TQWidgetItem. .SH "QSize QLayoutItem::minimumSize () const\fC [pure virtual]\fR" Implemented in subclasses to return the minimum size of this item. .PP Examples: .)l customlayout/border.cpp, customlayout/card.cpp, and customlayout/flow.cpp. .PP -Reimplemented in QLayout, QSpacerItem, and QWidgetItem. +Reimplemented in QLayout, QSpacerItem, and TQWidgetItem. .SH "void QLayoutItem::setAlignment ( int a )\fC [virtual]\fR" Sets the alignment of this item to \fIa\fR, which is a bitwise OR of the TQt::AlignmentFlags. Not all subclasses support alignment. .PP @@ -185,20 +185,20 @@ Implemented in subclasses to set this item's geometry to \fIr\fR. Examples: .)l customlayout/border.cpp, customlayout/card.cpp, and customlayout/flow.cpp. .PP -Reimplemented in QLayout, QSpacerItem, and QWidgetItem. +Reimplemented in QLayout, QSpacerItem, and TQWidgetItem. .SH "QSize QLayoutItem::sizeHint () const\fC [pure virtual]\fR" Implemented in subclasses to return the preferred size of this item. .PP Examples: .)l customlayout/border.cpp, customlayout/card.cpp, and customlayout/flow.cpp. .PP -Reimplemented in QSpacerItem, QWidgetItem, QGridLayout, and QBoxLayout. +Reimplemented in QSpacerItem, TQWidgetItem, QGridLayout, and QBoxLayout. .SH "QSpacerItem * QLayoutItem::spacerItem ()\fC [virtual]\fR" If this item is a QSpacerItem, it is returned as a QSpacerItem; otherwise 0 is returned. This function provides type-safe casting. .SH "TQWidget * QLayoutItem::widget ()\fC [virtual]\fR" If this item is a TQWidget, it is returned as a TQWidget; otherwise 0 is returned. This function provides type-safe casting. .PP -Reimplemented in QWidgetItem. +Reimplemented in TQWidgetItem. .SH "SEE ALSO" .BR http://doc.trolltech.com/qlayoutitem.html diff --git a/doc/man/man3/tqmotifwidget.3qt b/doc/man/man3/tqmotifwidget.3qt index db2170751..0f3c0c076 100644 --- a/doc/man/man3/tqmotifwidget.3qt +++ b/doc/man/man3/tqmotifwidget.3qt @@ -38,7 +38,7 @@ This class is defined in the \fBQt Motif Extension\fR, which can be found in the .PP The QMotifWidget class provides the TQWidget API for Xt/Motif widgets. .PP -QMotifWidget exists to provide a TQWidget that can act as a parent for any Xt/Motif widget. Since the QMotifWidget is a proper TQWidget, it can be used as a top-level widget (e.g. 0 parent) or as a child of any other TQWidget. Note: Since QMotifWidget acts as a parent for Xt/Motif widgets, you should not create QWidgets with a QMotifWidget parent. +QMotifWidget exists to provide a TQWidget that can act as a parent for any Xt/Motif widget. Since the QMotifWidget is a proper TQWidget, it can be used as a top-level widget (e.g. 0 parent) or as a child of any other TQWidget. Note: Since QMotifWidget acts as a parent for Xt/Motif widgets, you should not create TQWidgets with a QMotifWidget parent. .PP An Xt/Motif widget with a top-level QMotifWidget parent can begin using the standard TQt dialogs and custom QDialogs while keeping the main Xt/Motif interface of the application. Using a QMotifWidget as the parent for the various QDialogs will ensure that modality and stacking works properly throughout the entire application. .PP diff --git a/doc/man/man3/tqscrollview.3qt b/doc/man/man3/tqscrollview.3qt index fc77918a9..baa98574c 100644 --- a/doc/man/man3/tqscrollview.3qt +++ b/doc/man/man3/tqscrollview.3qt @@ -309,7 +309,7 @@ Inherited by TQCanvasView, QTable, QGridView, QIconView, QListBox, QListView, an .SH DESCRIPTION The QScrollView widget provides a scrolling area with on-demand scroll bars. .PP -The QScrollView is a large canvas - potentially larger than the coordinate system normally supported by the underlying window system. This is important because it is quite easy to go beyond these limitations (e.g. many web pages are more than 32000 pixels high). Additionally, the QScrollView can have QWidgets positioned on it that scroll around with the drawn content. These sub-widgets can also have positions outside the normal coordinate range (but they are still limited in size). +The QScrollView is a large canvas - potentially larger than the coordinate system normally supported by the underlying window system. This is important because it is quite easy to go beyond these limitations (e.g. many web pages are more than 32000 pixels high). Additionally, the QScrollView can have TQWidgets positioned on it that scroll around with the drawn content. These sub-widgets can also have positions outside the normal coordinate range (but they are still limited in size). .PP To provide content for the widget, inherit from QScrollView, reimplement drawContents() and use resizeContents() to set the size of the viewed area. Use addChild() and moveChild() to position widgets on the view. .PP diff --git a/doc/man/man3/tqtabdialog.3qt b/doc/man/man3/tqtabdialog.3qt index abf351c71..cad20b82c 100644 --- a/doc/man/man3/tqtabdialog.3qt +++ b/doc/man/man3/tqtabdialog.3qt @@ -322,7 +322,7 @@ See also setTabEnabled() and TQWidget::enabled. .SH "void QTabDialog::removePage ( TQWidget * w )" Removes page \fIw\fR from this stack of widgets. Does not delete \fIw\fR. .PP -See also showPage(), QTabWidget::removePage(), and QWidgetStack::removeWidget(). +See also showPage(), QTabWidget::removePage(), and TQWidgetStack::removeWidget(). .SH "void QTabDialog::selected ( const TQString & )\fC [signal]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP diff --git a/doc/man/man3/tqtable.3qt b/doc/man/man3/tqtable.3qt index ec0bbfb79..ea7962d75 100644 --- a/doc/man/man3/tqtable.3qt +++ b/doc/man/man3/tqtable.3qt @@ -548,7 +548,7 @@ For large, sparse, tables using QTableItems or other widgets is inefficient. The .PP This approach requires that you reimplement various functions. Reimplement paintCell() to display your data, and createEditor() and setCellContentFromEditor() to support in-place editing. It is very important to reimplement resizeData() to have no functionality, to prevent QTable from attempting to create a huge array. You will also need to reimplement item(), setItem(), takeItem(), clearCell(), and insertWidget(), cellWidget() and clearCellWidget(). In almost every circumstance (for sorting, removing and inserting columns and rows, etc.), you also need to reimplement swapRows(), swapCells() and swapColumns(), including header handling. .PP -If you represent active cells with a dictionary of QTableItems and QWidgets, i.e. only store references to cells that are actually used, many of the functions can be implemented with a single line of code. (See the table/bigtable/main.cpp example.) +If you represent active cells with a dictionary of QTableItems and TQWidgets, i.e. only store references to cells that are actually used, many of the functions can be implemented with a single line of code. (See the table/bigtable/main.cpp example.) .PP For more information on cells see the QTableItem documenation. .SH "Selections" diff --git a/doc/man/man3/tqtabwidget.3qt b/doc/man/man3/tqtabwidget.3qt index 1289df01c..7cab09f1c 100644 --- a/doc/man/man3/tqtabwidget.3qt +++ b/doc/man/man3/tqtabwidget.3qt @@ -191,9 +191,9 @@ You can change a tab's label and iconset using changeTab() or setTabLabel() and .PP Each tab is either enabled or disabled at any given time (see setTabEnabled()). If a tab is enabled, the tab text is drawn normally and the user can select that tab. If it is disabled, the tab is drawn in a different way and the user cannot select that tab. Note that even if a tab is disabled, the page can still be visible, for example if all of the tabs happen to be disabled. .PP -Although tab widgets can be a very good way to split up a complex dialog, it's also very easy to get into a mess. See QTabDialog for some design hints. An alternative is to use a QWidgetStack for which you provide some means of navigating between pages, for example, a QToolBar or a QListBox. +Although tab widgets can be a very good way to split up a complex dialog, it's also very easy to get into a mess. See QTabDialog for some design hints. An alternative is to use a TQWidgetStack for which you provide some means of navigating between pages, for example, a QToolBar or a QListBox. .PP -Most of the functionality in QTabWidget is provided by a QTabBar (at the top, providing the tabs) and a QWidgetStack (most of the area, organizing the individual pages). +Most of the functionality in QTabWidget is provided by a QTabBar (at the top, providing the tabs) and a TQWidgetStack (most of the area, organizing the individual pages). .PP .ce 1 .B "[Image Omitted]" @@ -299,7 +299,7 @@ Returns the tab page at index position \fIindex\fR or 0 if the \fIindex\fR is ou .SH "void QTabWidget::removePage ( TQWidget * w )\fC [virtual slot]\fR" Removes page \fIw\fR from this stack of widgets. Does not delete \fIw\fR. .PP -See also addTab(), showPage(), and QWidgetStack::removeWidget(). +See also addTab(), showPage(), and TQWidgetStack::removeWidget(). .SH "void QTabWidget::removeTabToolTip ( TQWidget * w )" Removes the tab tool tip for page \fIw\fR. If the page does not have a tip, nothing happens. .PP diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt index dbba2636e..1446620f2 100644 --- a/doc/man/man3/tqwidget.3qt +++ b/doc/man/man3/tqwidget.3qt @@ -9,7 +9,7 @@ .SH NAME TQWidget \- The base class of all user interface objects .SH SYNOPSIS -\fC#include <ntqwidget.h>\fR +\fC#include <tqwidget.h>\fR .PP Inherits TQObject and QPaintDevice. .PP @@ -18,7 +18,7 @@ Inherited by QAxWidget, QButton, QFrame, QDialog, QComboBox, TQDataBrowser, TQDa .SS "Public Members" .in +1c .ti -1c -.BI "explicit \fBQWidget\fR ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" +.BI "explicit \fBTQWidget\fR ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" .br .ti -1c .BI "\fB~TQWidget\fR ()" @@ -1026,7 +1026,7 @@ functions .PP Every widget's constructor accepts two or three standard arguments: <ol type=1> .IP 1 -\fCQWidget *parent = 0\fR is the parent of the new widget. If it is 0 (the default), the new widget will be a top-level window. If not, it will be a child of \fIparent\fR, and be constrained by \fIparent\fR's geometry (unless you specify WType_TopLevel as widget flag). +\fCTQWidget *parent = 0\fR is the parent of the new widget. If it is 0 (the default), the new widget will be a top-level window. If not, it will be a child of \fIparent\fR, and be constrained by \fIparent\fR's geometry (unless you specify WType_TopLevel as widget flag). .IP 2 \fCconst char *name = 0\fR is the widget name of the new widget. You can access it using name(). The widget name is little used by programmers but is quite useful with GUI builders such as \fIQt Designer\fR (you can name a widget in \fIQt Designer\fR, and connect() to it using the name in your code). The dumpObjectTree() debugging function also uses it. .IP 3 @@ -1111,25 +1111,25 @@ This enum defines the origin used to draw a widget's background pixmap. .PP The pixmap is drawn using the: .TP -\fCQWidget::WidgetOrigin\fR - widget's coordinate system. +\fCTQWidget::WidgetOrigin\fR - widget's coordinate system. .TP -\fCQWidget::ParentOrigin\fR - parent's coordinate system. +\fCTQWidget::ParentOrigin\fR - parent's coordinate system. .TP -\fCQWidget::WindowOrigin\fR - top-level window's coordinate system. +\fCTQWidget::WindowOrigin\fR - top-level window's coordinate system. .TP -\fCQWidget::AncestorOrigin\fR - same origin as the parent uses. +\fCTQWidget::AncestorOrigin\fR - same origin as the parent uses. .SH "TQWidget::FocusPolicy" This enum type defines the various policies a widget can have with respect to acquiring keyboard focus. .TP -\fCQWidget::TabFocus\fR - the widget accepts focus by tabbing. +\fCTQWidget::TabFocus\fR - the widget accepts focus by tabbing. .TP -\fCQWidget::ClickFocus\fR - the widget accepts focus by clicking. +\fCTQWidget::ClickFocus\fR - the widget accepts focus by clicking. .TP -\fCQWidget::StrongFocus\fR - the widget accepts focus by both tabbing and clicking. On Mac OS X this will also be indicate that the widget accepts tab focus when in 'Text/List focus mode'. +\fCTQWidget::StrongFocus\fR - the widget accepts focus by both tabbing and clicking. On Mac OS X this will also be indicate that the widget accepts tab focus when in 'Text/List focus mode'. .TP -\fCQWidget::WheelFocus\fR - like StrongFocus plus the widget accepts focus by using the mouse wheel. +\fCTQWidget::WheelFocus\fR - like StrongFocus plus the widget accepts focus by using the mouse wheel. .TP -\fCQWidget::NoFocus\fR - the widget does not accept focus. +\fCTQWidget::NoFocus\fR - the widget does not accept focus. .PP .SH MEMBER FUNCTION DOCUMENTATION .SH "explicit TQWidget::TQWidget ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" @@ -1929,7 +1929,7 @@ If the new parent widget is in a different top-level widget, the reparented widg .PP If the new parent widget is in the same top-level widget as the old parent, reparent doesn't change the tab order or keyboard focus. .PP -\fBWarning:\fR It is extremely unlikely that you will ever need this function. If you have a widget that changes its content dynamically, it is far easier to use QWidgetStack or QWizard. +\fBWarning:\fR It is extremely unlikely that you will ever need this function. If you have a widget that changes its content dynamically, it is far easier to use TQWidgetStack or QWizard. .PP See also getWFlags(). .PP @@ -3194,7 +3194,7 @@ See also frameGeometry, x, and pos. Get this property's value with y(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqwidget.html +.BR http://doc.trolltech.com/tqwidget.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqwidgetfactory.3qt b/doc/man/man3/tqwidgetfactory.3qt index 23e0f8c51..b5231a0d3 100644 --- a/doc/man/man3/tqwidgetfactory.3qt +++ b/doc/man/man3/tqwidgetfactory.3qt @@ -1,5 +1,5 @@ '\" t -.TH QWidgetFactory 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQWidgetFactory 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,17 +7,17 @@ .ad l .nh .SH NAME -QWidgetFactory \- For the dynamic creation of widgets from TQt Designer .ui files +TQWidgetFactory \- For the dynamic creation of widgets from TQt Designer .ui files .SH SYNOPSIS -\fC#include <ntqwidgetfactory.h>\fR +\fC#include <tqwidgetfactory.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQWidgetFactory\fR ()" +.BI "\fBTQWidgetFactory\fR ()" .br .ti -1c -.BI "virtual \fB~QWidgetFactory\fR ()" +.BI "virtual \fB~TQWidgetFactory\fR ()" .br .ti -1c .BI "virtual TQWidget * \fBcreateWidget\fR ( const TQString & className, TQWidget * parent, const char * name ) const" @@ -32,7 +32,7 @@ QWidgetFactory \- For the dynamic creation of widgets from TQt Designer .ui file .BI "TQWidget * \fBcreate\fR ( TQIODevice * dev, TQObject * connector = 0, TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "void \fBaddWidgetFactory\fR ( QWidgetFactory * factory )" +.BI "void \fBaddWidgetFactory\fR ( TQWidgetFactory * factory )" .br .ti -1c .BI "void \fBloadImages\fR ( const TQString & dir )" @@ -45,12 +45,12 @@ QWidgetFactory \- For the dynamic creation of widgets from TQt Designer .ui file .br .in -1c .SH DESCRIPTION -The QWidgetFactory class provides for the dynamic creation of widgets from TQt Designer .ui files. +The TQWidgetFactory class provides for the dynamic creation of widgets from TQt Designer .ui files. .PP This class basically offers two things: .IP .TP -Dynamically creating widgets from TQt Designer user interface description files. You can do this using the static function QWidgetFactory::create(). This function also performs signal and slot connections, tab ordering, etc., as defined in the .ui file, and returns the top-level widget in the .ui file. After creating the widget you can use TQObject::child() and TQObject::queryList() to access child widgets of this returned widget. +Dynamically creating widgets from TQt Designer user interface description files. You can do this using the static function TQWidgetFactory::create(). This function also performs signal and slot connections, tab ordering, etc., as defined in the .ui file, and returns the top-level widget in the .ui file. After creating the widget you can use TQObject::child() and TQObject::queryList() to access child widgets of this returned widget. .IP .TP Adding additional widget factories to be able to create custom widgets. See createWidget() for details. @@ -58,17 +58,17 @@ Adding additional widget factories to be able to create custom widgets. See crea .PP This class is not included in the TQt library itself. To use it you must link against \fClibtqui.so\fR (Unix) or \fCtqui.lib\fR (Windows), which is built into \fCINSTALL/lib\fR if you built \fIQt Designer\fR (\fCINSTALL\fR is the directory where TQt is installed ). .PP -If you create a QMainWindow using a QWidgetFactory, be aware that it already has a central widget. Therefore, you need to delete this one before setting another one. +If you create a QMainWindow using a TQWidgetFactory, be aware that it already has a central widget. Therefore, you need to delete this one before setting another one. .PP -See the "Creating Dynamic Dialogs from .ui Files" section of the TQt Designer manual for an example. See also the QWidgetPlugin class and the Plugins documentation. +See the "Creating Dynamic Dialogs from .ui Files" section of the TQt Designer manual for an example. See also the TQWidgetPlugin class and the Plugins documentation. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QWidgetFactory::QWidgetFactory ()" -Constructs a QWidgetFactory. -.SH "QWidgetFactory::~QWidgetFactory ()\fC [virtual]\fR" +.SH "TQWidgetFactory::TQWidgetFactory ()" +Constructs a TQWidgetFactory. +.SH "TQWidgetFactory::~TQWidgetFactory ()\fC [virtual]\fR" Destructor. -.SH "void QWidgetFactory::addWidgetFactory ( QWidgetFactory * factory )\fC [static]\fR" -Installs a widget factory \fIfactory\fR, which normally contains additional widgets that can then be created using a QWidgetFactory. See createWidget() for further details. -.SH "TQWidget * QWidgetFactory::create ( const TQString & uiFile, TQObject * connector = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" +.SH "void TQWidgetFactory::addWidgetFactory ( TQWidgetFactory * factory )\fC [static]\fR" +Installs a widget factory \fIfactory\fR, which normally contains additional widgets that can then be created using a TQWidgetFactory. See createWidget() for further details. +.SH "TQWidget * TQWidgetFactory::create ( const TQString & uiFile, TQObject * connector = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" Loads the \fIQt Designer\fR user interface description file \fIuiFile\fR and returns the top-level widget in that description. \fIparent\fR and \fIname\fR are passed to the constructor of the top-level widget. .PP This function also performs signal and slot connections, tab ordering, etc., as described in the .ui file. In \fIQt Designer\fR it is possible to add custom slots to a form and connect to them. If you want these connections to be made, you must create a class derived from TQObject, which implements all these slots. Then pass an instance of the object as \fIconnector\fR to this function. If you do this, the connections to the custom slots will be done using the \fIconnector\fR as slot. @@ -76,11 +76,11 @@ This function also performs signal and slot connections, tab ordering, etc., as If something fails, 0 is returned. .PP The ownership of the returned widget is passed to the caller. -.SH "TQWidget * QWidgetFactory::create ( TQIODevice * dev, TQObject * connector = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" +.SH "TQWidget * TQWidgetFactory::create ( TQIODevice * dev, TQObject * connector = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Loads the user interface description from device \fIdev\fR. -.SH "TQWidget * QWidgetFactory::createWidget ( const TQString & className, TQWidget * parent, const char * name ) const\fC [virtual]\fR" +.SH "TQWidget * TQWidgetFactory::createWidget ( const TQString & className, TQWidget * parent, const char * name ) const\fC [virtual]\fR" Creates a widget of the type \fIclassName\fR passing \fIparent\fR and \fIname\fR to its constructor. .PP If \fIclassName\fR is a widget in the TQt library, it is directly created by this function. If the widget isn't in the TQt library, each of the installed widget plugins is asked, in turn, to create the widget. As soon as a plugin says it can create the widget it is asked to do so. It may occur that none of the plugins can create the widget, in which case each installed widget factory is asked to create the widget (see addWidgetFactory()). If the widget cannot be created by any of these means, 0 is returned. @@ -90,27 +90,27 @@ If you have a custom widget, and want it to be created using the widget factory, <ol type=1> .IP .TP -Write a widget plugin. This allows you to use the widget in \fIQt Designer\fR and in this QWidgetFactory. See the widget plugin documentation for further details. (See the "Creating Custom Widgets with Plugins" section of the TQt Designer manual for an example. +Write a widget plugin. This allows you to use the widget in \fIQt Designer\fR and in this TQWidgetFactory. See the widget plugin documentation for further details. (See the "Creating Custom Widgets with Plugins" section of the TQt Designer manual for an example. .IP .TP -Subclass QWidgetFactory. Then reimplement this function to create and return an instance of your custom widget if \fIclassName\fR equals the name of your widget, otherwise return 0. Then at the beginning of your program where you want to use the widget factory to create widgets do a: +Subclass TQWidgetFactory. Then reimplement this function to create and return an instance of your custom widget if \fIclassName\fR equals the name of your widget, otherwise return 0. Then at the beginning of your program where you want to use the widget factory to create widgets do a: .IP .nf .br - QWidgetFactory::addWidgetFactory( new MyWidgetFactory ); + TQWidgetFactory::addWidgetFactory( new MyWidgetFactory ); .br .fi -where MyWidgetFactory is your QWidgetFactory subclass. +where MyWidgetFactory is your TQWidgetFactory subclass. .IP -.SH "void QWidgetFactory::loadImages ( const TQString & dir )\fC [static]\fR" -If you use a pixmap collection (which is the default for new projects) rather than saving the pixmaps within the .ui XML file, you must load the pixmap collection. QWidgetFactory looks in the default QMimeSourceFactory for the pixmaps. Either add it there manually, or call this function and specify the directory where the images can be found, as \fIdir\fR. This is normally the directory called \fCimages\fR in the project's directory. -.SH "bool QWidgetFactory::supportsWidget ( const TQString & widget )\fC [static]\fR" +.SH "void TQWidgetFactory::loadImages ( const TQString & dir )\fC [static]\fR" +If you use a pixmap collection (which is the default for new projects) rather than saving the pixmaps within the .ui XML file, you must load the pixmap collection. TQWidgetFactory looks in the default QMimeSourceFactory for the pixmaps. Either add it there manually, or call this function and specify the directory where the images can be found, as \fIdir\fR. This is normally the directory called \fCimages\fR in the project's directory. +.SH "bool TQWidgetFactory::supportsWidget ( const TQString & widget )\fC [static]\fR" Returns TRUE if the widget factory can create the specified \fIwidget\fR; otherwise returns FALSE. -.SH "QStringList QWidgetFactory::widgets ()\fC [static]\fR" +.SH "QStringList TQWidgetFactory::widgets ()\fC [static]\fR" Returns the names of the widgets this factory can create. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqwidgetfactory.html +.BR http://doc.trolltech.com/tqwidgetfactory.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqwidgetitem.3qt b/doc/man/man3/tqwidgetitem.3qt index 70d6f9cf5..b23d2c7c9 100644 --- a/doc/man/man3/tqwidgetitem.3qt +++ b/doc/man/man3/tqwidgetitem.3qt @@ -1,5 +1,5 @@ '\" t -.TH QWidgetItem 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQWidgetItem 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,7 +7,7 @@ .ad l .nh .SH NAME -QWidgetItem \- Layout item that represents a widget +TQWidgetItem \- Layout item that represents a widget .SH SYNOPSIS \fC#include <ntqlayout.h>\fR .PP @@ -16,7 +16,7 @@ Inherits QLayoutItem. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQWidgetItem\fR ( TQWidget * w )" +.BI "\fBTQWidgetItem\fR ( TQWidget * w )" .br .ti -1c .BI "virtual QSize \fBsizeHint\fR () const" @@ -41,45 +41,45 @@ Inherits QLayoutItem. .br .in -1c .SH DESCRIPTION -The QWidgetItem class is a layout item that represents a widget. +The TQWidgetItem class is a layout item that represents a widget. .PP This is used by custom layouts. .PP See also QLayout, QLayout::widget(), Widget Appearance and Style, and Layout Management. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QWidgetItem::QWidgetItem ( TQWidget * w )" +.SH "TQWidgetItem::TQWidgetItem ( TQWidget * w )" Creates an item containing widget \fIw\fR. -.SH "QSizePolicy::ExpandData QWidgetItem::expanding () const\fC [virtual]\fR" +.SH "QSizePolicy::ExpandData TQWidgetItem::expanding () const\fC [virtual]\fR" Returns whether this item's widget can make use of more space than sizeHint(). A value of \fCVertical\fR or \fCHorizontal\fR means that it wants to grow in only one dimension, whereas \fCBothDirections\fR means that it wants to grow in both dimensions and \fCNoDirection\fR means that it doesn't want to grow at all. .PP Reimplemented from QLayoutItem. -.SH "bool QWidgetItem::isEmpty () const\fC [virtual]\fR" +.SH "bool TQWidgetItem::isEmpty () const\fC [virtual]\fR" Returns TRUE if the widget has been hidden; otherwise returns FALSE. .PP Reimplemented from QLayoutItem. -.SH "QSize QWidgetItem::maximumSize () const\fC [virtual]\fR" +.SH "QSize TQWidgetItem::maximumSize () const\fC [virtual]\fR" Returns the maximum size of this item. .PP Reimplemented from QLayoutItem. -.SH "QSize QWidgetItem::minimumSize () const\fC [virtual]\fR" +.SH "QSize TQWidgetItem::minimumSize () const\fC [virtual]\fR" Returns the minimum size of this item. .PP Reimplemented from QLayoutItem. -.SH "void QWidgetItem::setGeometry ( const QRect & r )\fC [virtual]\fR" +.SH "void TQWidgetItem::setGeometry ( const QRect & r )\fC [virtual]\fR" Sets the geometry of this item's widget to be contained within rect \fIr\fR, taking alignment and maximum size into account. .PP Reimplemented from QLayoutItem. -.SH "QSize QWidgetItem::sizeHint () const\fC [virtual]\fR" +.SH "QSize TQWidgetItem::sizeHint () const\fC [virtual]\fR" Returns the preferred size of this item. .PP Reimplemented from QLayoutItem. -.SH "TQWidget * QWidgetItem::widget ()\fC [virtual]\fR" +.SH "TQWidget * TQWidgetItem::widget ()\fC [virtual]\fR" Returns the widget managed by this item. .PP Reimplemented from QLayoutItem. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qwidgetitem.html +.BR http://doc.trolltech.com/tqwidgetitem.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqwidgetplugin.3qt b/doc/man/man3/tqwidgetplugin.3qt index 2f263c844..062f6b1b7 100644 --- a/doc/man/man3/tqwidgetplugin.3qt +++ b/doc/man/man3/tqwidgetplugin.3qt @@ -1,5 +1,5 @@ '\" t -.TH QWidgetPlugin 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQWidgetPlugin 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,17 +7,17 @@ .ad l .nh .SH NAME -QWidgetPlugin \- Abstract base for custom TQWidget plugins +TQWidgetPlugin \- Abstract base for custom TQWidget plugins .SH SYNOPSIS -\fC#include <ntqwidgetplugin.h>\fR +\fC#include <tqwidgetplugin.h>\fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQWidgetPlugin\fR ()" +.BI "\fBTQWidgetPlugin\fR ()" .br .ti -1c -.BI "\fB~QWidgetPlugin\fR ()" +.BI "\fB~TQWidgetPlugin\fR ()" .br .ti -1c .BI "virtual QStringList \fBkeys\fR () const = 0" @@ -45,61 +45,61 @@ QWidgetPlugin \- Abstract base for custom TQWidget plugins .br .in -1c .SH DESCRIPTION -The QWidgetPlugin class provides an abstract base for custom TQWidget plugins. +The TQWidgetPlugin class provides an abstract base for custom TQWidget plugins. .PP The widget plugin is a simple plugin interface that makes it easy to create custom widgets that can be included in forms using TQt Designer and used by applications. .PP Writing a widget plugin is achieved by subclassing this base class, reimplementing the pure virtual functions keys(), create(), group(), iconSet(), includeFile(), toolTip(), whatsThis() and isContainer(), and exporting the class with the \fCQ_EXPORT_PLUGIN\fR macro. .PP -See the TQt Designer manual's, 'Creating Custom Widgets' section in the 'Creating Custom Widgets' chapter, for a complete example of a QWidgetPlugin. +See the TQt Designer manual's, 'Creating Custom Widgets' section in the 'Creating Custom Widgets' chapter, for a complete example of a TQWidgetPlugin. .PP -See also the Plugins documentation and the QWidgetFactory class that is supplied with TQt Designer. +See also the Plugins documentation and the TQWidgetFactory class that is supplied with TQt Designer. .PP See also Plugins. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QWidgetPlugin::QWidgetPlugin ()" +.SH "TQWidgetPlugin::TQWidgetPlugin ()" Constructs a widget plugin. This is invoked automatically by the \fCQ_EXPORT_PLUGIN\fR macro. -.SH "QWidgetPlugin::~QWidgetPlugin ()" +.SH "TQWidgetPlugin::~TQWidgetPlugin ()" Destroys the widget plugin. .PP You never have to call this explicitly. TQt destroys a plugin automatically when it is no longer used. -.SH "TQWidget * QWidgetPlugin::create ( const TQString & key, TQWidget * parent = 0, const char * name = 0 )\fC [pure virtual]\fR" +.SH "TQWidget * TQWidgetPlugin::create ( const TQString & key, TQWidget * parent = 0, const char * name = 0 )\fC [pure virtual]\fR" Creates and returns a TQWidget object for the widget key \fIkey\fR. The widget key is the class name of the required widget. The \fIname\fR and \fIparent\fR arguments are passed to the custom widget's constructor. .PP See also keys(). -.SH "TQString QWidgetPlugin::group ( const TQString & key ) const\fC [virtual]\fR" +.SH "TQString TQWidgetPlugin::group ( const TQString & key ) const\fC [virtual]\fR" Returns the group (toolbar name) that the custom widget of class \fIkey\fR should be part of when \fIQt Designer\fR loads it. .PP The default implementation returns TQString::null. -.SH "QIconSet QWidgetPlugin::iconSet ( const TQString & key ) const\fC [virtual]\fR" +.SH "QIconSet TQWidgetPlugin::iconSet ( const TQString & key ) const\fC [virtual]\fR" Returns the iconset that \fIQt Designer\fR should use to represent the custom widget of class \fIkey\fR in the toolbar. .PP The default implementation returns an null iconset. -.SH "TQString QWidgetPlugin::includeFile ( const TQString & key ) const\fC [virtual]\fR" +.SH "TQString TQWidgetPlugin::includeFile ( const TQString & key ) const\fC [virtual]\fR" Returns the name of the include file that \fIQt Designer\fR and \fCuic\fR should use to include the custom widget of class \fIkey\fR in generated code. .PP The default implementation returns TQString::null. -.SH "bool QWidgetPlugin::isContainer ( const TQString & key ) const\fC [virtual]\fR" +.SH "bool TQWidgetPlugin::isContainer ( const TQString & key ) const\fC [virtual]\fR" Returns TRUE if the custom widget of class \fIkey\fR can contain other widgets, e.g. like QFrame; otherwise returns FALSE. .PP The default implementation returns FALSE. -.SH "QStringList QWidgetPlugin::keys () const\fC [pure virtual]\fR" +.SH "QStringList TQWidgetPlugin::keys () const\fC [pure virtual]\fR" Returns the list of widget keys this plugin supports. .PP These keys must be the class names of the custom widgets that are implemented in the plugin. .PP See also create(). -.SH "TQString QWidgetPlugin::toolTip ( const TQString & key ) const\fC [virtual]\fR" +.SH "TQString TQWidgetPlugin::toolTip ( const TQString & key ) const\fC [virtual]\fR" Returns the text of the tooltip that \fIQt Designer\fR should use for the custom widget of class \fIkey\fR's toolbar button. .PP The default implementation returns TQString::null. -.SH "TQString QWidgetPlugin::whatsThis ( const TQString & key ) const\fC [virtual]\fR" +.SH "TQString TQWidgetPlugin::whatsThis ( const TQString & key ) const\fC [virtual]\fR" Returns the text of the whatsThis text that \fIQt Designer\fR should use when the user requests whatsThis help for the custom widget of class \fIkey\fR. .PP The default implementation returns TQString::null. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqwidgetplugin.html +.BR http://doc.trolltech.com/tqwidgetplugin.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the 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 diff --git a/doc/man/man3/tqworkspace.3qt b/doc/man/man3/tqworkspace.3qt index 0b8286fc4..89de0dda2 100644 --- a/doc/man/man3/tqworkspace.3qt +++ b/doc/man/man3/tqworkspace.3qt @@ -28,10 +28,10 @@ Inherits TQWidget. .BI "TQWidget * \fBactiveWindow\fR () const" .br .ti -1c -.BI "QWidgetList windowList () const \fI(obsolete)\fR" +.BI "TQWidgetList windowList () const \fI(obsolete)\fR" .br .ti -1c -.BI "QWidgetList \fBwindowList\fR ( WindowOrder order ) const" +.BI "TQWidgetList \fBwindowList\fR ( WindowOrder order ) const" .br .ti -1c .BI "bool \fBscrollBarsEnabled\fR () const" @@ -149,15 +149,15 @@ Example: mdi/application.cpp. 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 "QWidgetList QWorkspace::windowList ( WindowOrder order ) const" +.SH "TQWidgetList QWorkspace::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 -QWidgetList is the same as QPtrList<TQWidget>. +TQWidgetList is the same as QPtrList<TQWidget>. .PP See also QPtrList. .PP Example: mdi/application.cpp. -.SH "QWidgetList QWorkspace::windowList () const" +.SH "TQWidgetList QWorkspace::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. |