summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqtoolbar.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-07-02 21:37:22 +0900
committerMichele Calgaro <[email protected]>2024-07-06 11:24:55 +0900
commit7552c6d73043b1040139033f6864db48ae5446cf (patch)
treef90d24d072dd3ee6a3f909bf7778abc7669f03ef /doc/man/man3/tqtoolbar.3qt
parentc113da2069b66130f67a0f27c699e1cec83588a5 (diff)
downloadtqt3-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 <[email protected]>
Diffstat (limited to 'doc/man/man3/tqtoolbar.3qt')
-rw-r--r--doc/man/man3/tqtoolbar.3qt66
1 files changed, 33 insertions, 33 deletions
diff --git a/doc/man/man3/tqtoolbar.3qt b/doc/man/man3/tqtoolbar.3qt
index e9b8b636e..cc5f6d130 100644
--- a/doc/man/man3/tqtoolbar.3qt
+++ b/doc/man/man3/tqtoolbar.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QToolBar 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQToolBar 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,28 +7,28 @@
.ad l
.nh
.SH NAME
-QToolBar \- Movable panel containing widgets such as tool buttons
+TQToolBar \- Movable panel containing widgets such as tool buttons
.SH SYNOPSIS
-\fC#include <ntqtoolbar.h>\fR
+\fC#include <tqtoolbar.h>\fR
.PP
Inherits QDockWindow.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "QToolBar ( const TQString & label, QMainWindow *, ToolBarDock = DockTop, bool newLine = FALSE, const char * name = 0 ) \fI(obsolete)\fR"
+.BI "TQToolBar ( const TQString & label, TQMainWindow *, ToolBarDock = DockTop, bool newLine = FALSE, const char * name = 0 ) \fI(obsolete)\fR"
.br
.ti -1c
-.BI "\fBQToolBar\fR ( const TQString & label, QMainWindow * mainWindow, TQWidget * parent, bool newLine = FALSE, const char * name = 0, WFlags f = 0 )"
+.BI "\fBTQToolBar\fR ( const TQString & label, TQMainWindow * mainWindow, TQWidget * parent, bool newLine = FALSE, const char * name = 0, WFlags f = 0 )"
.br
.ti -1c
-.BI "\fBQToolBar\fR ( QMainWindow * parent = 0, const char * name = 0 )"
+.BI "\fBTQToolBar\fR ( TQMainWindow * parent = 0, const char * name = 0 )"
.br
.ti -1c
.BI "void \fBaddSeparator\fR ()"
.br
.ti -1c
-.BI "QMainWindow * \fBmainWindow\fR () const"
+.BI "TQMainWindow * \fBmainWindow\fR () const"
.br
.ti -1c
.BI "virtual void \fBsetStretchableWidget\fR ( TQWidget * w )"
@@ -50,17 +50,17 @@ Inherits QDockWindow.
.br
.in -1c
.SH DESCRIPTION
-The QToolBar class provides a movable panel containing widgets such as tool buttons.
+The TQToolBar class provides a movable panel containing widgets such as tool buttons.
.PP
-A toolbar is a panel that contains a set of controls, usually represented by small icons. It's purpose is to provide quick access to frequently used commands or options. Within a QMainWindow the user can drag toolbars within and between the dock areas. Toolbars can also be dragged out of any dock area to float freely as top-level windows.
+A toolbar is a panel that contains a set of controls, usually represented by small icons. It's purpose is to provide quick access to frequently used commands or options. Within a TQMainWindow the user can drag toolbars within and between the dock areas. Toolbars can also be dragged out of any dock area to float freely as top-level windows.
.PP
-QToolBar is a specialization of QDockWindow, and so provides all the functionality of a QDockWindow.
+TQToolBar is a specialization of QDockWindow, and so provides all the functionality of a QDockWindow.
.PP
-To use QToolBar you simply create a QToolBar as a child of a QMainWindow, create a number of QToolButton widgets (or other widgets) in left to right (or top to bottom) order and call addSeparator() when you want a separator. When a toolbar is floated the caption used is the label given in the constructor call. This can be changed with setLabel().
+To use TQToolBar you simply create a TQToolBar as a child of a TQMainWindow, create a number of TQToolButton widgets (or other widgets) in left to right (or top to bottom) order and call addSeparator() when you want a separator. When a toolbar is floated the caption used is the label given in the constructor call. This can be changed with setLabel().
.PP
.nf
.br
- QToolBar * fileTools = new QToolBar( this, "file operations" );
+ TQToolBar * fileTools = new TQToolBar( this, "file operations" );
.br
fileTools->setLabel( "File Operations" );
.br
@@ -69,15 +69,15 @@ To use QToolBar you simply create a QToolBar as a child of a QMainWindow, create
fileSaveAction->addTo( fileTools );
.fi
.PP
-This extract from the application/application.cpp example shows the creation of a new toolbar as a child of a QMainWindow and adding two QActions.
+This extract from the application/application.cpp example shows the creation of a new toolbar as a child of a TQMainWindow and adding two TQActions.
.PP
-You may use most widgets within a toolbar, with QToolButton and QComboBox being the most common.
+You may use most widgets within a toolbar, with TQToolButton and QComboBox being the most common.
.PP
-If you create a new widget on an already visible QToolBar, this widget will automatically become visible without needing a show() call. (This differs from every other TQt widget container. We recommend calling show() anyway since we hope to fix this anomaly in a future release.)
+If you create a new widget on an already visible TQToolBar, this widget will automatically become visible without needing a show() call. (This differs from every other TQt widget container. We recommend calling show() anyway since we hope to fix this anomaly in a future release.)
.PP
-QToolBars, like QDockWindows, are located in QDockAreas or float as top-level windows. QMainWindow provides four QDockAreas (top, left, right and bottom). When you create a new toolbar (as in the example above) as a child of a QMainWindow the toolbar will be added to the top dock area. You can move it to another dock area (or float it) by calling QMainWindow::moveDockWindow(). QDock areas lay out their windows in Lines.
+TQToolBars, like QDockWindows, are located in QDockAreas or float as top-level windows. TQMainWindow provides four QDockAreas (top, left, right and bottom). When you create a new toolbar (as in the example above) as a child of a TQMainWindow the toolbar will be added to the top dock area. You can move it to another dock area (or float it) by calling TQMainWindow::moveDockWindow(). QDock areas lay out their windows in Lines.
.PP
-If the main window is resized so that the area occupied by the toolbar is too small to show all its widgets a little arrow button (which looks like a right-pointing chevron, '&#187;') will appear at the right or bottom of the toolbar depending on its orientation. Clicking this button pops up a menu that shows the 'overflowing' items. QToolButtons are represented in the menu using their textLabel property, other QButton subclasses are represented using their text property, and QComboBoxes are represented as submenus, with the caption text being used in the submenu item.
+If the main window is resized so that the area occupied by the toolbar is too small to show all its widgets a little arrow button (which looks like a right-pointing chevron, '&#187;') will appear at the right or bottom of the toolbar depending on its orientation. Clicking this button pops up a menu that shows the 'overflowing' items. TQToolButtons are represented in the menu using their textLabel property, other QButton subclasses are represented using their text property, and QComboBoxes are represented as submenus, with the caption text being used in the submenu item.
.PP
Usually a toolbar will get precisely the space it needs. However, with setHorizontalStretchable(), setVerticalStretchable() or setStretchableWidget() you can tell the main window to expand the toolbar to fill all available space in the specified orientation.
.PP
@@ -89,43 +89,43 @@ You can use the clear() method to remove all items from a toolbar.
.ce 1
.B "[Image Omitted]"
.PP
-</center> <blockquote><p align="center">\fI A floating QToolbar (dock window) \fR</p> </blockquote>
+</center> <blockquote><p align="center">\fI A floating TQToolbar (dock window) \fR</p> </blockquote>
.PP
-See also QToolButton, QMainWindow, Parts of Isys on Visual Design, GUI Design Handbook: Tool Bar, and Main Window and Related Classes.
+See also TQToolButton, TQMainWindow, Parts of Isys on Visual Design, GUI Design Handbook: Tool Bar, and Main Window and Related Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QToolBar::QToolBar ( const TQString & label, QMainWindow *, ToolBarDock = DockTop, bool newLine = FALSE, const char * name = 0 )"
+.SH "TQToolBar::TQToolBar ( const TQString & label, TQMainWindow *, ToolBarDock = DockTop, bool newLine = FALSE, const char * name = 0 )"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
-.SH "QToolBar::QToolBar ( const TQString & label, QMainWindow * mainWindow, TQWidget * parent, bool newLine = FALSE, const char * name = 0, WFlags f = 0 )"
+.SH "TQToolBar::TQToolBar ( const TQString & label, TQMainWindow * mainWindow, TQWidget * parent, bool newLine = FALSE, const char * name = 0, WFlags f = 0 )"
Constructs an empty horizontal toolbar.
.PP
-The toolbar is called \fIname\fR and is a child of \fIparent\fR and is managed by \fImainWindow\fR. The \fIlabel\fR and \fInewLine\fR parameters are passed straight to QMainWindow::addDockWindow(). \fIname\fR and the widget flags \fIf\fR are passed on to the QDockWindow constructor.
+The toolbar is called \fIname\fR and is a child of \fIparent\fR and is managed by \fImainWindow\fR. The \fIlabel\fR and \fInewLine\fR parameters are passed straight to TQMainWindow::addDockWindow(). \fIname\fR and the widget flags \fIf\fR are passed on to the QDockWindow constructor.
.PP
Use this constructor if you want to create torn-off (undocked, floating) toolbars or toolbars in the status bar.
-.SH "QToolBar::QToolBar ( QMainWindow * parent = 0, const char * name = 0 )"
+.SH "TQToolBar::TQToolBar ( TQMainWindow * parent = 0, const char * name = 0 )"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Constructs an empty toolbar called \fIname\fR, with parent \fIparent\fR, in its \fIparent\fR's top dock area, without any label and without requiring a newline.
-.SH "void QToolBar::addSeparator ()"
+.SH "void TQToolBar::addSeparator ()"
Adds a separator to the right/bottom of the toolbar.
.PP
Examples:
.)l chart/chartform.cpp, fileiconview/mainwindow.cpp, helpviewer/helpwindow.cpp, qfd/fontdisplayer.cpp, and scribble/scribble.cpp.
-.SH "void QToolBar::clear ()\fC [virtual]\fR"
+.SH "void TQToolBar::clear ()\fC [virtual]\fR"
Deletes all the toolbar's child widgets.
-.SH "TQString QToolBar::label () const"
+.SH "TQString TQToolBar::label () const"
Returns the toolbar's label. See the "label" property for details.
-.SH "QMainWindow * QToolBar::mainWindow () const"
-Returns a pointer to the QMainWindow which manages this toolbar.
-.SH "void QToolBar::setLabel ( const TQString & )\fC [virtual]\fR"
+.SH "TQMainWindow * TQToolBar::mainWindow () const"
+Returns a pointer to the TQMainWindow which manages this toolbar.
+.SH "void TQToolBar::setLabel ( const TQString & )\fC [virtual]\fR"
Sets the toolbar's label. See the "label" property for details.
-.SH "void QToolBar::setStretchableWidget ( TQWidget * w )\fC [virtual]\fR"
+.SH "void TQToolBar::setStretchableWidget ( TQWidget * w )\fC [virtual]\fR"
Sets the widget \fIw\fR to be expanded if this toolbar is requested to stretch.
.PP
-The request to stretch might occur because QMainWindow right-justifies the dock area the toolbar is in, or because this toolbar's isVerticalStretchable() or isHorizontalStretchable() is set to TRUE.
+The request to stretch might occur because TQMainWindow right-justifies the dock area the toolbar is in, or because this toolbar's isVerticalStretchable() or isHorizontalStretchable() is set to TRUE.
.PP
If you call this function and the toolbar is not yet stretchable, setStretchable() is called.
.PP
-See also QMainWindow::rightJustification, setVerticalStretchable(), and setHorizontalStretchable().
+See also TQMainWindow::rightJustification, setVerticalStretchable(), and setHorizontalStretchable().
.PP
Examples:
.)l fileiconview/mainwindow.cpp and helpviewer/helpwindow.cpp.
@@ -138,7 +138,7 @@ If the toolbar is floated the label becomes the toolbar window's caption. There
Set this property's value with setLabel() and get this property's value with label().
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqtoolbar.html
+.BR http://doc.trolltech.com/tqtoolbar.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the