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/html/ntqmainwindow.html | |
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/html/ntqmainwindow.html')
-rw-r--r-- | doc/html/ntqmainwindow.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/html/ntqmainwindow.html b/doc/html/ntqmainwindow.html index 84a4ad912..ce9fbc405 100644 --- a/doc/html/ntqmainwindow.html +++ b/doc/html/ntqmainwindow.html @@ -36,7 +36,7 @@ with a menu bar, dock windows (e.g. for toolbars), and a status bar. <a href="#details">More...</a> <p><tt>#include <<a href="qmainwindow-h.html">ntqmainwindow.h</a>></tt> -<p>Inherits <a href="ntqwidget.html">TQWidget</a>. +<p>Inherits <a href="tqwidget.html">TQWidget</a>. <p><a href="qmainwindow-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -151,10 +151,10 @@ itself. <p> <pre> TQMainWindow *mw = new TQMainWindow; <a href="ntqtextedit.html">TQTextEdit</a> *edit = new <a href="ntqtextedit.html">TQTextEdit</a>( mw, "editor" ); - edit-><a href="ntqwidget.html#setFocus">setFocus</a>(); - mw-><a href="ntqwidget.html#setCaption">setCaption</a>( "Main Window" ); + edit-><a href="tqwidget.html#setFocus">setFocus</a>(); + mw-><a href="tqwidget.html#setCaption">setCaption</a>( "Main Window" ); mw-><a href="#setCentralWidget">setCentralWidget</a>( edit ); - mw-><a href="ntqwidget.html#show">show</a>(); + mw-><a href="tqwidget.html#show">show</a>(); </pre> <p> TQMainWindows may be created in their own right as shown above. @@ -165,8 +165,8 @@ dock areas. <p> <pre> ApplicationWindow *mw = new ApplicationWindow(); - mw-><a href="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - Application" ); - <a name="x2115"></a> mw-><a href="ntqwidget.html#show">show</a>(); + mw-><a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Application" ); + <a name="x2115"></a> mw-><a href="tqwidget.html#show">show</a>(); </pre> <p> In the extract above ApplicationWindow is a subclass of TQMainWindow that we must write for ourselves; this is the usual @@ -206,7 +206,7 @@ as the parent. <p> <pre> e = new <a href="ntqtextedit.html">TQTextEdit</a>( this, "editor" ); - e-><a href="ntqwidget.html#setFocus">setFocus</a>(); + e-><a href="tqwidget.html#setFocus">setFocus</a>(); <a href="#setCentralWidget">setCentralWidget</a>( e ); <a href="#statusBar">statusBar</a>()->message( "Ready", 2000 ); </pre> @@ -313,7 +313,7 @@ enabled the user can hide (minimize) a dock window or show (restore) a minimized dock window by clicking the dock window handle. If the user hovers the mouse cursor over one of the handles, the caption of the dock window is displayed in a tool tip (see -<a href="ntqwidget.html#caption">TQDockWindow::caption</a>() or <a href="ntqtoolbar.html#label">TQToolBar::label</a>()), so if you enable the +<a href="tqwidget.html#caption">TQDockWindow::caption</a>() or <a href="ntqtoolbar.html#label">TQToolBar::label</a>()), so if you enable the <a href="ntqt.html#Dock-enum">Minimized</a> dock area, it is best to specify a meaningful caption or label for each dock window. To minimize a dock window programmatically use <a href="#moveDockWindow">moveDockWindow</a>() with an edge of <a href="ntqt.html#Dock-enum">Minimized</a>. @@ -380,7 +380,7 @@ transparently behind-the-scenes by <a href="ntqdockarea.html">TQDockArea</a>. central widget. <p> Adding dock windows, e.g. toolbars, to TQMainWindow's dock areas is straightforward. If the supplied dock areas are not sufficient for -your application we suggest that you create a <a href="ntqwidget.html">TQWidget</a> subclass and +your application we suggest that you create a <a href="tqwidget.html">TQWidget</a> subclass and add your own dock areas (see <a href="ntqdockarea.html">TQDockArea</a>) to the subclass since TQMainWindow provides functionality specific to the standard dock areas it provides. @@ -403,10 +403,10 @@ toolbars. dock windows. (This is the default.) </ul> <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQMainWindow"></a>TQMainWindow::TQMainWindow ( <a href="ntqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, WFlags f = WType_TopLevel ) +<h3 class=fn><a name="TQMainWindow"></a>TQMainWindow::TQMainWindow ( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, WFlags f = WType_TopLevel ) </h3> Constructs an empty main window. The <em>parent</em>, <em>name</em> and widget -flags <em>f</em>, are passed on to the <a href="ntqwidget.html">TQWidget</a> constructor. +flags <em>f</em>, are passed on to the <a href="tqwidget.html">TQWidget</a> constructor. <p> By default, the widget flags are set to <a href="ntqt.html#WidgetFlags-enum">WType_TopLevel</a> rather than 0 as they are with TQWidget. If you don't want your TQMainWindow to be a top level widget then you will need to set <em>f</em> to 0. @@ -466,7 +466,7 @@ window should appear on the popup menu. Returns a pointer the <a href="ntqt.html#Dock-enum">Bottom</a> dock area <p> <p>See also <a href="#topDock">topDock</a>(), <a href="#leftDock">leftDock</a>(), and <a href="#rightDock">rightDock</a>(). -<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="centralWidget"></a>TQMainWindow::centralWidget () const +<h3 class=fn><a href="tqwidget.html">TQWidget</a> * <a name="centralWidget"></a>TQMainWindow::centralWidget () const </h3> Returns a pointer to the main window's central widget. <p> The central widget is surrounded by the left, top, right and @@ -724,7 +724,7 @@ appropriate. If <em>a</em> is FALSE the <em>dw</em> will not appear on the popup menu. <p> <p>See also <a href="#showDockMenu">showDockMenu</a>(), <a href="#isCustomizable">isCustomizable</a>(), and <a href="#customize">customize</a>(). -<h3 class=fn>void <a name="setCentralWidget"></a>TQMainWindow::setCentralWidget ( <a href="ntqwidget.html">TQWidget</a> * w )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setCentralWidget"></a>TQMainWindow::setCentralWidget ( <a href="tqwidget.html">TQWidget</a> * w )<tt> [virtual]</tt> </h3> Sets the central widget for this main window to <em>w</em>. <p> The central widget is surrounded by the left, top, right and @@ -928,7 +928,7 @@ and for connecting to the main window's widget's dock areas of the TQMainWindow <em>mainWindow</em>, including <a href="ntqt.html#Dock-enum">Minimized</a> and <a href="ntqt.html#Dock-enum">TornOff</a> dock windows, to the text stream <em>ts</em>. <p> This can be used, for example, in conjunction with <a href="ntqsettings.html">TQSettings</a> to save the user's layout when the \mainWindow receives a closeEvent. -<p> <p>See also <a href="#operator-gt-gt">operator>></a>() and <a href="ntqwidget.html#closeEvent">closeEvent</a>(). +<p> <p>See also <a href="#operator-gt-gt">operator>></a>() and <a href="tqwidget.html#closeEvent">closeEvent</a>(). <h3 class=fn><a href="ntqtextstream.html">TQTextStream</a> & <a name="operator-gt-gt"></a>operator>> ( <a href="ntqtextstream.html">TQTextStream</a> & ts, <a href="ntqmainwindow.html">TQMainWindow</a> & mainWindow ) </h3> |