summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqmainwindow.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqmainwindow.3qt')
-rw-r--r--doc/man/man3/tqmainwindow.3qt32
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/man/man3/tqmainwindow.3qt b/doc/man/man3/tqmainwindow.3qt
index 69a097ed..a2dc7519 100644
--- a/doc/man/man3/tqmainwindow.3qt
+++ b/doc/man/man3/tqmainwindow.3qt
@@ -11,12 +11,12 @@ QMainWindow \- Main application window, with a menu bar, dock windows (e.g. for
.SH SYNOPSIS
\fC#include <ntqmainwindow.h>\fR
.PP
-Inherits QWidget.
+Inherits TQWidget.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQMainWindow\fR ( QWidget * parent = 0, const char * name = 0, WFlags f = WType_TopLevel )"
+.BI "\fBQMainWindow\fR ( TQWidget * parent = 0, const char * name = 0, WFlags f = WType_TopLevel )"
.br
.ti -1c
.BI "\fB~QMainWindow\fR ()"
@@ -31,10 +31,10 @@ Inherits QWidget.
.BI "QToolTipGroup * \fBtoolTipGroup\fR () const"
.br
.ti -1c
-.BI "virtual void \fBsetCentralWidget\fR ( QWidget * w )"
+.BI "virtual void \fBsetCentralWidget\fR ( TQWidget * w )"
.br
.ti -1c
-.BI "QWidget * \fBcentralWidget\fR () const"
+.BI "TQWidget * \fBcentralWidget\fR () const"
.br
.ti -1c
.BI "virtual void \fBsetDockEnabled\fR ( Dock dock, bool enable )"
@@ -58,7 +58,7 @@ Inherits QWidget.
.BI "virtual void \fBaddDockWindow\fR ( QDockWindow * dockWindow, Dock edge = DockTop, bool newLine = FALSE )"
.br
.ti -1c
-.BI "virtual void \fBaddDockWindow\fR ( QDockWindow * dockWindow, const QString & label, Dock edge = DockTop, bool newLine = FALSE )"
+.BI "virtual void \fBaddDockWindow\fR ( QDockWindow * dockWindow, const TQString & label, Dock edge = DockTop, bool newLine = FALSE )"
.br
.ti -1c
.BI "virtual void \fBmoveDockWindow\fR ( QDockWindow * dockWindow, Dock edge = DockTop )"
@@ -106,7 +106,7 @@ Inherits QWidget.
.BI "void addToolBar ( QDockWindow *, Dock = DockTop, bool newLine = FALSE ) \fI(obsolete)\fR"
.br
.ti -1c
-.BI "void addToolBar ( QDockWindow *, const QString & label, Dock = DockTop, bool newLine = FALSE ) \fI(obsolete)\fR"
+.BI "void addToolBar ( QDockWindow *, const TQString & label, Dock = DockTop, bool newLine = FALSE ) \fI(obsolete)\fR"
.br
.ti -1c
.BI "void moveToolBar ( QDockWindow *, Dock = DockTop ) \fI(obsolete)\fR"
@@ -303,7 +303,7 @@ Here we've added a new menu with one menu item. The menu has been inserted into
.br
QToolButton * fileOpen
.br
- = new QToolButton( openIcon, "Open File", QString::null,
+ = new QToolButton( openIcon, "Open File", TQString::null,
.br
this, SLOT(choose()), fileTools, "open file" );
.fi
@@ -456,7 +456,7 @@ QMainWindow's management of dock windows and toolbars is done transparently behi
.PP
For multi-document interfaces (MDI), use a QWorkspace as the central widget.
.PP
-Adding dock windows, e.g. toolbars, to QMainWindow's dock areas is straightforward. If the supplied dock areas are not sufficient for your application we suggest that you create a QWidget subclass and add your own dock areas (see QDockArea) to the subclass since QMainWindow provides functionality specific to the standard dock areas it provides.
+Adding dock windows, e.g. toolbars, to QMainWindow's dock areas is straightforward. If the supplied dock areas are not sufficient for your application we suggest that you create a TQWidget subclass and add your own dock areas (see QDockArea) to the subclass since QMainWindow provides functionality specific to the standard dock areas it provides.
.PP
.ce 1
.B "[Image Omitted]"
@@ -476,10 +476,10 @@ Right-clicking a dock area will pop-up the dock window menu (createDockWindowMen
.TP
\fCQMainWindow::AllDockWindows\fR - The menu will list all toolbars and other dock windows. (This is the default.)
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QMainWindow::QMainWindow ( QWidget * parent = 0, const char * name = 0, WFlags f = WType_TopLevel )"
-Constructs an empty main window. The \fIparent\fR, \fIname\fR and widget flags \fIf\fR, are passed on to the QWidget constructor.
+.SH "QMainWindow::QMainWindow ( TQWidget * parent = 0, const char * name = 0, WFlags f = WType_TopLevel )"
+Constructs an empty main window. The \fIparent\fR, \fIname\fR and widget flags \fIf\fR, are passed on to the TQWidget constructor.
.PP
-By default, the widget flags are set to WType_TopLevel rather than 0 as they are with QWidget. If you don't want your QMainWindow to be a top level widget then you will need to set \fIf\fR to 0.
+By default, the widget flags are set to WType_TopLevel rather than 0 as they are with TQWidget. If you don't want your QMainWindow to be a top level widget then you will need to set \fIf\fR to 0.
.SH "QMainWindow::~QMainWindow ()"
Destroys the object and frees any allocated resources.
.SH "void QMainWindow::addDockWindow ( QDockWindow * dockWindow, Dock edge = DockTop, bool newLine = FALSE )\fC [virtual]\fR"
@@ -488,7 +488,7 @@ Adds \fIdockWindow\fR to the \fIedge\fR dock area.
If \fInewLine\fR is FALSE (the default) then the \fIdockWindow\fR is added at the end of the \fIedge\fR. For vertical edges the end is at the bottom, for horizontal edges (including Minimized) the end is at the right. If \fInewLine\fR is TRUE a new line of dock windows is started with \fIdockWindow\fR as the first (left-most and top-most) dock window.
.PP
If \fIdockWindow\fR is managed by another main window, it is first removed from that window.
-.SH "void QMainWindow::addDockWindow ( QDockWindow * dockWindow, const QString & label, Dock edge = DockTop, bool newLine = FALSE )\fC [virtual]\fR"
+.SH "void QMainWindow::addDockWindow ( QDockWindow * dockWindow, const TQString & label, Dock edge = DockTop, bool newLine = FALSE )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Adds \fIdockWindow\fR to the dock area with label \fIlabel\fR.
@@ -498,7 +498,7 @@ If \fInewLine\fR is FALSE (the default) the \fIdockWindow\fR is added at the end
If \fIdockWindow\fR is managed by another main window, it is first removed from that window.
.SH "void QMainWindow::addToolBar ( QDockWindow *, Dock = DockTop, bool newLine = FALSE )"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
-.SH "void QMainWindow::addToolBar ( QDockWindow *, const QString & label, Dock = DockTop, bool newLine = FALSE )"
+.SH "void QMainWindow::addToolBar ( QDockWindow *, const TQString & label, Dock = DockTop, bool newLine = FALSE )"
\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.
@@ -514,7 +514,7 @@ See also setAppropriate().
Returns a pointer the Bottom dock area
.PP
See also topDock(), leftDock(), and rightDock().
-.SH "QWidget * QMainWindow::centralWidget () const"
+.SH "TQWidget * QMainWindow::centralWidget () const"
Returns a pointer to the main window's central widget.
.PP
The central widget is surrounded by the left, top, right and bottom dock areas. The menu bar is above the top dock area.
@@ -525,7 +525,7 @@ Example: qfd/qfd.cpp.
.SH "void QMainWindow::childEvent ( QChildEvent * e )\fC [virtual protected]\fR"
Monitors events, recieved in \fIe\fR, to ensure the layout is updated.
.PP
-Reimplemented from QObject.
+Reimplemented from TQObject.
.SH "QPopupMenu * QMainWindow::createDockWindowMenu ( DockWindows dockWindows = AllDockWindows ) const"
Creates the dock window menu which contains all toolbars (if \fIdockWindows\fR is OnlyToolBars ), all dock windows (if \fIdockWindows\fR is NoToolBars) or all toolbars and dock windows (if \fIdockWindows\fR is AllDockWindows - the default).
.PP
@@ -672,7 +672,7 @@ Use this function to control whether or not the \fIdw\fR dock window's caption s
If \fIa\fR is TRUE then the \fIdw\fR will appear as a menu item on the dock window menu. The user is able to change the state (show or hide) a dock window that has a menu item by clicking the item; depending on the state of your application, this may or may not be appropriate. If \fIa\fR is FALSE the \fIdw\fR will not appear on the popup menu.
.PP
See also showDockMenu(), isCustomizable(), and customize().
-.SH "void QMainWindow::setCentralWidget ( QWidget * w )\fC [virtual]\fR"
+.SH "void QMainWindow::setCentralWidget ( TQWidget * w )\fC [virtual]\fR"
Sets the central widget for this main window to \fIw\fR.
.PP
The central widget is surrounded by the left, top, right and bottom dock areas. The menu bar is above the top dock area.