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 <michele.calgaro@yahoo.it>
pull/167/head
Michele Calgaro 7 months ago
parent c113da2069
commit 7552c6d730
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -141,7 +141,7 @@
required feature for immodule. See also changes of ntqfeatures.h
* src/input/qinputcontextfactory.cpp
- Add #include "ntqinputcontext.h"
- Remove unnecessary #include "ntqpopupmenu.h"
- Remove unnecessary #include "qpopupmenu.h"
- Remove inappropriate #ifndef TQT_NO_STRINGLIST. QStringList is now
required feature for immodule. See also changes of ntqfeatures.h

@ -43,8 +43,8 @@
\title Walkthrough: A Simple Application
This walkthrough shows simple use of \l QMainWindow, \l QMenuBar, \l
QPopupMenu, \l QToolBar and \l QStatusBar - classes that every
This walkthrough shows simple use of \l TQMainWindow, \l TQMenuBar, \l
TQPopupMenu, \l TQToolBar and \l TQStatusBar - classes that every
modern application window tends to use. (See also \link tutorial2.html
Tutorial #2\endlink.)
@ -59,7 +59,7 @@ Here's the header file in full:
\include application/application.h
It declares a class that inherits \l QMainWindow, with slots and private
It declares a class that inherits \l TQMainWindow, with slots and private
variables. The class pre-declaration of \l TQTextEdit at the beginning
(instead of an include) helps to speed up compilation. With this
trick, \c{make depend} won't insist on recompiling every \c .cpp file that
@ -129,7 +129,7 @@ compile them into the binary. This is what we are doing here.
\printline ApplicationWindow::ApplicationWindow
\printuntil {
\e ApplicationWindow inherits QMainWindow, the TQt class that provides
\e ApplicationWindow inherits TQMainWindow, the TQt class that provides
typical application main windows, with menu bars, toolbars, etc.
\printuntil QPrinter
@ -144,7 +144,7 @@ For the sake of simplicity, our example only has a few commands in the
toolbar. The above variables are used to hold an icon for each of
them.
\printline QToolBar
\printline TQToolBar
We create a toolbar in \e this window ...
@ -199,7 +199,7 @@ this is not necessary.
\printuntil &File
Next we create a \l QPopupMenu for the \e File menu and
Next we create a \l TQPopupMenu for the \e File menu and
add it to the menu bar. With the ampersand in front of the letter F,
we allow the user to use the shortcut \e Alt+F to pop up this menu.
@ -218,7 +218,7 @@ letter N as marked by the ampersand) or uses the
We populate the \e File menu with three more commands (\e Open, \e Save and
\e{Save As}), and set "What's This?" help for them. Note in particular
that "What's This?" help and pixmaps are used in both the toolbar (above)
and the menu bar (here). (See QAction and the \c examples/action
and the menu bar (here). (See TQAction and the \c examples/action
example for a shorter and easier approach.)
\printline insertSeparator(
@ -260,7 +260,7 @@ side of the menu bar or not.
Now we create a simple text-editor, set the initial focus to it,
and make it the window's central widget.
\l QMainWindow::centralWidget() is the heart of the entire application:
\l TQMainWindow::centralWidget() is the heart of the entire application:
It's what menu bar, statusbar and toolbars are all arranged around. Since
the central widget is a text editing widget, we can now reveal that
our simple application is a text editor. :)

@ -192,15 +192,15 @@ Qt 3.0 introduces the concept of Dock Windows and Dock Areas. Dock
windows are widgets, that can be attached to, and detached from, dock
areas. The commonest kind of dock window is a tool bar. Any number of
dock windows may be placed in a dock area. A main window can have dock
areas, for example, QMainWindow provides four dock areas (top, left,
areas, for example, TQMainWindow provides four dock areas (top, left,
bottom, right) by default. The user can freely move dock windows and
place them at a convenient place in a dock area, or drag them out of
the application and have them float freely as top level windows in
their own right. Dock windows can also be minimized or hidden.
For developers, dock windows behave just like ordinary widgets. QToolbar
For developers, dock windows behave just like ordinary widgets. TQToolbar
for example is now a specialized subclass of a dock window. The API
of QMainWindow and QToolBar is source compatible with TQt 2.x, so
of TQMainWindow and TQToolBar is source compatible with TQt 2.x, so
existing code which uses these classes will continue to work.

@ -51,7 +51,7 @@
<area shape="rect" coords="33,149,147,168" href="ntqsyntaxhighlighter.html">
<area shape="rect" coords="33,168,133,185" href="qtab.html">
<area shape="rect" coords="31,186,134,203" href="tqthread.html">
<area shape="rect" coords="31,203,129,220" href="ntqtooltip.html">
<area shape="rect" coords="31,203,129,220" href="tqtooltip.html">
<area shape="rect" coords="33,220,129,240" href="ntqwhatsthis.html">
<area shape="rect" coords="33,239,155,255" href="tqcanvasitem.html">
<area shape="rect" coords="24,256,155,272" href="tqcanvastext.html">
@ -106,7 +106,7 @@
<area shape="rect" coords="163,649,271,671" href="tqsqlquery.html">
<area shape="rect" coords="287,36,386,64" href="tqobject.html">
<area shape="rect" coords="288,60,396,78" href="ntqaccel.html">
<area shape="rect" coords="291,78,395,97" href="ntqaction.html">
<area shape="rect" coords="291,78,395,97" href="tqaction.html">
<area shape="rect" coords="291,97,401,113" href="ntqapplication.html">
<area shape="rect" coords="294,115,395,133" href="tqcanvas.html">
<area shape="rect" coords="292,132,395,150" href="ntqclipboard.html">
@ -115,7 +115,7 @@
<area shape="rect" coords="295,188,401,205" href="ntqeventloop.html">
<area shape="rect" coords="291,202,399,223" href="ntqprocess.html">
<area shape="rect" coords="292,220,399,240" href="ntqserversocket.html">
<area shape="rect" coords="293,240,400,259" href="ntqsessionmanager.html">
<area shape="rect" coords="293,240,400,259" href="tqsessionmanager.html">
<area shape="rect" coords="293,259,400,276" href="ntqsignal.html">
<area shape="rect" coords="293,276,404,292" href="ntqsignalmapper.html">
<area shape="rect" coords="290,293,405,308" href="ntqsocket.html">
@ -148,21 +148,21 @@
<area shape="rect" coords="443,152,558,170" href="ntqdialog.html">
<area shape="rect" coords="443,170,542,186" href="ntqdial.html">
<area shape="rect" coords="445,186,542,201" href="ntqdockarea.html">
<area shape="rect" coords="445,201,540,222" href="ntqworkspace.html">
<area shape="rect" coords="445,201,540,222" href="tqworkspace.html">
<area shape="rect" coords="443,222,541,240" href="qglwidget.html">
<area shape="rect" coords="443,240,536,256" href="ntqheader.html">
<area shape="rect" coords="444,256,536,277" href="ntqmainwindow.html">
<area shape="rect" coords="444,256,536,277" href="tqmainwindow.html">
<area shape="rect" coords="444,277,535,293" href="ntqscrollbar.html">
<area shape="rect" coords="444,293,535,309" href="ntqslider.html">
<area shape="rect" coords="445,309,535,326" href="ntqframe.html">
<area shape="rect" coords="444,327,536,345" href="ntqsizegrip.html">
<area shape="rect" coords="444,327,536,345" href="tqsizegrip.html">
<area shape="rect" coords="445,345,540,360" href="ntqspinbox.html">
<area shape="rect" coords="446,361,540,383" href="ntqsplashscreen.html">
<area shape="rect" coords="446,383,541,399" href="ntqstatusbar.html">
<area shape="rect" coords="446,383,541,399" href="tqstatusbar.html">
<area shape="rect" coords="443,399,541,418" href="ntqtabbar.html">
<area shape="rect" coords="445,418,542,434" href="ntqtabwidget.html">
<area shape="rect" coords="445,434,545,453" href="tqtimeedit.html">
<area shape="rect" coords="446,453,539,470" href="ntqtoolbox.html">
<area shape="rect" coords="446,453,539,470" href="tqtoolbox.html">
<area shape="rect" coords="445,470,539,487" href="ntqscrollview.html">
<area shape="rect" coords="445,487,544,505" href="tqcanvasview.html">
<area shape="rect" coords="448,503,541,524" href="tqiconview.html">
@ -176,7 +176,7 @@
<area shape="rect" coords="454,649,542,663" href="qvboxlayout.html">
<area shape="rect" coords="454,663,536,689" href="ntqtable.html">
<area shape="rect" coords="549,50,651,81" href="ntqcheckbox.html">
<area shape="rect" coords="547,81,650,98" href="ntqtoolbutton.html">
<area shape="rect" coords="547,81,650,98" href="tqtoolbutton.html">
<area shape="rect" coords="548,99,651,114" href="ntqpushbutton.html">
<area shape="rect" coords="551,115,651,137" href="ntqradiobutton.html">
<area shape="rect" coords="553,146,643,169" href="ntqwizard.html">
@ -194,14 +194,14 @@
<area shape="rect" coords="545,382,653,398" href="ntqvbox.html">
<area shape="rect" coords="545,398,652,415" href="ntqsplitter.html">
<area shape="rect" coords="548,415,652,435" href="ntqlineedit.html">
<area shape="rect" coords="548,435,654,451" href="ntqmenubar.html">
<area shape="rect" coords="548,435,654,451" href="tqmenubar.html">
<area shape="rect" coords="551,451,654,470" href="ntqgroupbox.html">
<area shape="rect" coords="551,470,655,486" href="ntqpopupmenu.html">
<area shape="rect" coords="551,470,655,486" href="tqpopupmenu.html">
<area shape="rect" coords="554,487,655,505" href="ntqprogressbar.html">
<area shape="rect" coords="554,505,657,521" href="ntqlcdnumber.html">
<area shape="rect" coords="554,521,657,540" href="tqwidgetstack.html">
<area shape="rect" coords="558,541,655,559" href="ntqdockwindow.html">
<area shape="rect" coords="551,559,650,576" href="ntqtoolbar.html">
<area shape="rect" coords="551,559,650,576" href="tqtoolbar.html">
<area shape="rect" coords="551,576,661,595" href="tqiconviewitem.html">
<area shape="rect" coords="554,595,661,610" href="qlistviewitem.html">
<area shape="rect" coords="556,610,657,626" href="qchecklistitem.html">
@ -274,7 +274,7 @@
<area shape="rect" coords="787,648,891,664" href="qasciidictiterator.html">
<area shape="rect" coords="787,664,873,685" href="qdictiterator.html">
<area shape="rect" coords="896,37,990,62" href="ntqmemarray.html">
<area shape="rect" coords="896,62,990,78" href="ntqmenudata.html">
<area shape="rect" coords="896,62,990,78" href="tqmenudata.html">
<area shape="rect" coords="896,78,989,96" href="ntqmetaobject.html">
<area shape="rect" coords="894,96,989,116" href="qmetaproperty.html">
<area shape="rect" coords="894,116,995,134" href="qmimesource.html">
@ -296,8 +296,8 @@
<area shape="rect" coords="888,398,984,417" href="tqsemaphore.html">
<area shape="rect" coords="888,417,992,435" href="ntqsettings.html">
<area shape="rect" coords="887,435,991,451" href="ntqsimplerichtext.html">
<area shape="rect" coords="887,451,993,469" href="ntqsize.html">
<area shape="rect" coords="893,469,993,488" href="ntqsizepolicy.html">
<area shape="rect" coords="887,451,993,469" href="tqsize.html">
<area shape="rect" coords="893,469,993,488" href="tqsizepolicy.html">
<area shape="rect" coords="894,488,986,505" href="tqstring.html">
<area shape="rect" coords="894,506,986,524" href="qconststring.html">
<area shape="rect" coords="895,525,996,543" href="tqtextcodec.html">

@ -89,10 +89,10 @@ system:
\i A single 2D point in the coordinate system. Most functions in
Qt that deal with points can accept either a QPoint argument
or two ints, for example \l QPainter::drawPoint().
\row \i \l QSize
\i A single 2D vector. Internally, QPoint and QSize are the same,
\row \i \l TQSize
\i A single 2D vector. Internally, QPoint and TQSize are the same,
but a point is not the same as a size, so both classes exist.
Again, most functions accept either a QSize or two ints, for
Again, most functions accept either a TQSize or two ints, for
example \l TQWidget::resize().
\row \i \l QRect
\i A 2D rectangle. Most functions accept either a QRect or four

@ -209,7 +209,7 @@ and to read back into the same TQt integer type when reading.
\i The number of rectangles (TQ_UINT32)
\i The rectangles in sequential order (QRect)
\endlist
\row \i QSize
\row \i TQSize
\i \list
\i width (TQ_INT32)
\i height (TQ_INT32)

@ -177,7 +177,7 @@ The available options are:
\i Value control (\l QDial)
\i TQT_NO_WIDGETS
\row \i TQT_NO_WORKSPACE
\i MDI (Multiple Document Interface) (\l QWorkspace)
\i MDI (Multiple Document Interface) (\l TQWorkspace)
\i TQT_NO_WIDGETS
\row \i TQT_NO_LCDNUMBER
\i LCD-like number display (\l QLCDNumber)

@ -50,14 +50,14 @@ using an addressbook as the example.
#ifndef AB_MAINWINDOW_H
#define AB_MAINWINDOW_H
#include &lt;<a href="qmainwindow-h.html">ntqmainwindow.h</a>&gt;
#include &lt;<a href="tqmainwindow-h.html">tqmainwindow.h</a>&gt;
#include &lt;<a href="tqstring-h.html">tqstring.h</a>&gt;
class TQToolBar;
class TQPopupMenu;
class ABCentralWidget;
class ABMainWindow: public <a href="ntqmainwindow.html">TQMainWindow</a>
class ABMainWindow: public <a href="tqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
@ -79,7 +79,7 @@ protected:
void setupStatusBar();
void setupCentralWidget();
<a href="ntqtoolbar.html">TQToolBar</a> *fileTools;
<a href="tqtoolbar.html">TQToolBar</a> *fileTools;
<a href="tqstring.html">TQString</a> filename;
ABCentralWidget *view;
@ -104,16 +104,16 @@ protected:
#include "mainwindow.h"
#include "centralwidget.h"
#include &lt;<a href="qtoolbar-h.html">ntqtoolbar.h</a>&gt;
#include &lt;<a href="qtoolbutton-h.html">ntqtoolbutton.h</a>&gt;
#include &lt;<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>&gt;
#include &lt;<a href="qmenubar-h.html">ntqmenubar.h</a>&gt;
#include &lt;<a href="qstatusbar-h.html">ntqstatusbar.h</a>&gt;
#include &lt;<a href="tqtoolbar-h.html">tqtoolbar.h</a>&gt;
#include &lt;<a href="tqtoolbutton-h.html">tqtoolbutton.h</a>&gt;
#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
#include &lt;<a href="tqmenubar-h.html">tqmenubar.h</a>&gt;
#include &lt;<a href="tqstatusbar-h.html">tqstatusbar.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include &lt;<a href="qfiledialog-h.html">ntqfiledialog.h</a>&gt;
<a name="f263"></a>ABMainWindow::ABMainWindow()
: <a href="ntqmainwindow.html">TQMainWindow</a>( 0, "example addressbook application" ),
: <a href="tqmainwindow.html">TQMainWindow</a>( 0, "example addressbook application" ),
filename( <a href="tqstring.html#TQString-null">TQString::null</a> )
{
setupMenuBar();
@ -129,24 +129,24 @@ ABMainWindow::~ABMainWindow()
void <a name="f264"></a>ABMainWindow::setupMenuBar()
{
<a href="ntqpopupmenu.html">TQPopupMenu</a> *file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
<a href="ntqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;File", file );
<a name="x569"></a> file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "New", this, TQ_SLOT( fileNew() ), CTRL + Key_N );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( TQPixmap( "fileopen.xpm" ), "Open", this, TQ_SLOT( fileOpen() ), CTRL + Key_O );
<a name="x570"></a> file-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( TQPixmap( "filesave.xpm" ), "Save", this, TQ_SLOT( fileSave() ), CTRL + Key_S );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Save As...", this, TQ_SLOT( fileSaveAs() ) );
file-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( TQPixmap( "fileprint.xpm" ), "Print...", this, TQ_SLOT( filePrint() ), CTRL + Key_P );
file-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Close", this, TQ_SLOT( closeWindow() ), CTRL + Key_W );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Quit", tqApp, TQ_SLOT( <a href="ntqapplication.html#quit">quit</a>() ), CTRL + Key_Q );
<a href="tqpopupmenu.html">TQPopupMenu</a> *file = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this );
<a href="tqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;File", file );
<a name="x569"></a> file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "New", this, TQ_SLOT( fileNew() ), CTRL + Key_N );
file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( TQPixmap( "fileopen.xpm" ), "Open", this, TQ_SLOT( fileOpen() ), CTRL + Key_O );
<a name="x570"></a> file-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( TQPixmap( "filesave.xpm" ), "Save", this, TQ_SLOT( fileSave() ), CTRL + Key_S );
file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "Save As...", this, TQ_SLOT( fileSaveAs() ) );
file-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( TQPixmap( "fileprint.xpm" ), "Print...", this, TQ_SLOT( filePrint() ), CTRL + Key_P );
file-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "Close", this, TQ_SLOT( closeWindow() ), CTRL + Key_W );
file-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "Quit", tqApp, TQ_SLOT( <a href="ntqapplication.html#quit">quit</a>() ), CTRL + Key_Q );
}
void <a name="f265"></a>ABMainWindow::setupFileTools()
{
//fileTools = new <a href="ntqtoolbar.html">TQToolBar</a>( this, "file operations" );
//fileTools = new <a href="tqtoolbar.html">TQToolBar</a>( this, "file operations" );
}
void <a name="f266"></a>ABMainWindow::setupStatusBar()
@ -157,7 +157,7 @@ void <a name="f266"></a>ABMainWindow::setupStatusBar()
void <a name="f267"></a>ABMainWindow::setupCentralWidget()
{
view = new ABCentralWidget( this );
<a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( view );
<a href="tqmainwindow.html#setCentralWidget">setCentralWidget</a>( view );
}
void <a name="f268"></a>ABMainWindow::closeWindow()

@ -61,7 +61,7 @@ body { background: #ffffff; color: black; }
<tr bgcolor=#f0f0f0><td><b><a href="ntqtabwidget.html">TQTabWidget</a></b><td>Stack of tabbed widgets
<tr bgcolor=#f0f0f0><td><b><a href="tqtextbrowser.html">TQTextBrowser</a></b><td>Rich text browser with hypertext navigation
<tr bgcolor=#f0f0f0><td><b><a href="tqtimeedit.html">TQTimeEdit</a></b><td>Time editor
<tr bgcolor=#f0f0f0><td><b><a href="ntqtoolbox.html">TQToolBox</a></b><td>Column of tabbed widget items
<tr bgcolor=#f0f0f0><td><b><a href="tqtoolbox.html">TQToolBox</a></b><td>Column of tabbed widget items
</table>
<!-- eof -->
<p><address><hr><div align=center>

@ -39,8 +39,8 @@ body { background: #ffffff; color: black; }
<tr bgcolor=#f0f0f0><td><b><a href="ntqaccessible.html">TQAccessible</a></b><td>Enums and static functions relating to accessibility
<tr bgcolor=#f0f0f0><td><b><a href="qaccessibleinterface.html">TQAccessibleInterface</a></b><td>Defines an interface that exposes information about accessible objects
<tr bgcolor=#f0f0f0><td><b><a href="qaccessibleobject.html">TQAccessibleObject</a></b><td>Implements parts of the TQAccessibleInterface for TQObjects
<tr bgcolor=#f0f0f0><td><b><a href="ntqaction.html">TQAction</a></b><td>Abstract user interface action that can appear both in menus and tool bars
<tr bgcolor=#f0f0f0><td><b><a href="qactiongroup.html">TQActionGroup</a></b><td>Groups actions together
<tr bgcolor=#f0f0f0><td><b><a href="tqaction.html">TQAction</a></b><td>Abstract user interface action that can appear both in menus and tool bars
<tr bgcolor=#f0f0f0><td><b><a href="tqactiongroup.html">TQActionGroup</a></b><td>Groups actions together
<tr bgcolor=#f0f0f0><td><b><a href="ntqapplication.html">TQApplication</a></b><td>Manages the GUI application's control flow and main settings
<tr bgcolor=#f0f0f0><td><b><a href="ntqasciicache.html">TQAsciiCache</a></b><td>Template class that provides a cache based on char* keys
<tr bgcolor=#f0f0f0><td><b><a href="qasciicacheiterator.html">TQAsciiCacheIterator</a></b><td>Iterator for TQAsciiCache collections
@ -228,13 +228,13 @@ body { background: #ffffff; color: black; }
<tr bgcolor=#f0f0f0><td><b><a href="ntqlocale.html">TQLocale</a></b><td>Converts between numbers and their string representations in various languages
<tr bgcolor=#f0f0f0><td><b><a href="qmacmime.html">TQMacMime</a></b><td>Maps open-standard MIME to Mac flavors
<tr bgcolor=#f0f0f0><td><b><a href="qmacstyle.html">TQMacStyle</a></b><td>Implements an Appearance Manager style
<tr bgcolor=#f0f0f0><td><b><a href="ntqmainwindow.html">TQMainWindow</a></b><td>Main application window, with a menu bar, dock windows (e.g. for toolbars), and a status bar
<tr bgcolor=#f0f0f0><td><b><a href="tqmainwindow.html">TQMainWindow</a></b><td>Main application window, with a menu bar, dock windows (e.g. for toolbars), and a status bar
<tr bgcolor=#f0f0f0><td><b><a href="tqmap.html">TQMap</a></b><td>Value-based template class that provides a dictionary
<tr bgcolor=#f0f0f0><td><b><a href="tqmapconstiterator.html">TQMapConstIterator</a></b><td>Iterator for TQMap
<tr bgcolor=#f0f0f0><td><b><a href="tqmapiterator.html">TQMapIterator</a></b><td>Iterator for TQMap
<tr bgcolor=#f0f0f0><td><b><a href="ntqmemarray.html">TQMemArray</a></b><td>Template class that provides arrays of simple types
<tr bgcolor=#f0f0f0><td><b><a href="ntqmenubar.html">TQMenuBar</a></b><td>Horizontal menu bar
<tr bgcolor=#f0f0f0><td><b><a href="ntqmenudata.html">TQMenuData</a></b><td>Base class for TQMenuBar and TQPopupMenu
<tr bgcolor=#f0f0f0><td><b><a href="tqmenubar.html">TQMenuBar</a></b><td>Horizontal menu bar
<tr bgcolor=#f0f0f0><td><b><a href="tqmenudata.html">TQMenuData</a></b><td>Base class for TQMenuBar and TQPopupMenu
<tr bgcolor=#f0f0f0><td><b><a href="ntqmessagebox.html">TQMessageBox</a></b><td>Modal dialog with a short message, an icon, and some buttons
<tr bgcolor=#f0f0f0><td><b><a href="ntqmetaobject.html">TQMetaObject</a></b><td>Meta information about TQt objects
<tr bgcolor=#f0f0f0><td><b><a href="qmetaproperty.html">TQMetaProperty</a></b><td>Stores meta data about a property
@ -274,7 +274,7 @@ body { background: #ffffff; color: black; }
<tr bgcolor=#f0f0f0><td><b><a href="ntqplatinumstyle.html">TQPlatinumStyle</a></b><td>Mac/Platinum look and feel
<tr bgcolor=#f0f0f0><td><b><a href="ntqpoint.html">TQPoint</a></b><td>Defines a point in the plane
<tr bgcolor=#f0f0f0><td><b><a href="ntqpointarray.html">TQPointArray</a></b><td>Array of points
<tr bgcolor=#f0f0f0><td><b><a href="ntqpopupmenu.html">TQPopupMenu</a></b><td>Popup menu widget
<tr bgcolor=#f0f0f0><td><b><a href="tqpopupmenu.html">TQPopupMenu</a></b><td>Popup menu widget
<tr bgcolor=#f0f0f0><td><b><a href="ntqprinter.html">TQPrinter</a></b><td>Paint device that paints on a printer
<tr bgcolor=#f0f0f0><td><b><a href="ntqprocess.html">TQProcess</a></b><td>Used to start external programs and to communicate with them
<tr bgcolor=#f0f0f0><td><b><a href="ntqprogressbar.html">TQProgressBar</a></b><td>Horizontal progress bar
@ -300,15 +300,15 @@ body { background: #ffffff; color: black; }
<tr bgcolor=#f0f0f0><td><b><a href="ntqscrollview.html">TQScrollView</a></b><td>Scrolling area with on-demand scroll bars
<tr bgcolor=#f0f0f0><td><b><a href="tqsemaphore.html">TQSemaphore</a></b><td>Robust integer semaphore
<tr bgcolor=#f0f0f0><td><b><a href="ntqserversocket.html">TQServerSocket</a></b><td>TCP-based server
<tr bgcolor=#f0f0f0><td><b><a href="ntqsessionmanager.html">TQSessionManager</a></b><td>Access to the session manager
<tr bgcolor=#f0f0f0><td><b><a href="tqsessionmanager.html">TQSessionManager</a></b><td>Access to the session manager
<tr bgcolor=#f0f0f0><td><b><a href="ntqsettings.html">TQSettings</a></b><td>Persistent platform-independent application settings
<tr bgcolor=#f0f0f0><td><b><a href="qshowevent.html">TQShowEvent</a></b><td>Event which is sent when a widget is shown
<tr bgcolor=#f0f0f0><td><b><a href="ntqsignal.html">TQSignal</a></b><td>Can be used to send signals for classes that don't inherit TQObject
<tr bgcolor=#f0f0f0><td><b><a href="ntqsignalmapper.html">TQSignalMapper</a></b><td>Bundles signals from identifiable senders
<tr bgcolor=#f0f0f0><td><b><a href="ntqsimplerichtext.html">TQSimpleRichText</a></b><td>Small displayable piece of rich text
<tr bgcolor=#f0f0f0><td><b><a href="ntqsize.html">TQSize</a></b><td>Defines the size of a two-dimensional object
<tr bgcolor=#f0f0f0><td><b><a href="ntqsizegrip.html">TQSizeGrip</a></b><td>Corner-grip for resizing a top-level window
<tr bgcolor=#f0f0f0><td><b><a href="ntqsizepolicy.html">TQSizePolicy</a></b><td>Layout attribute describing horizontal and vertical resizing policy
<tr bgcolor=#f0f0f0><td><b><a href="tqsize.html">TQSize</a></b><td>Defines the size of a two-dimensional object
<tr bgcolor=#f0f0f0><td><b><a href="tqsizegrip.html">TQSizeGrip</a></b><td>Corner-grip for resizing a top-level window
<tr bgcolor=#f0f0f0><td><b><a href="tqsizepolicy.html">TQSizePolicy</a></b><td>Layout attribute describing horizontal and vertical resizing policy
<tr bgcolor=#f0f0f0><td><b><a href="tqsjiscodec.html">TQSjisCodec</a></b><td>Conversion to and from Shift-JIS
<tr bgcolor=#f0f0f0><td><b><a href="ntqslider.html">TQSlider</a></b><td>Vertical or horizontal slider
<tr bgcolor=#f0f0f0><td><b><a href="ntqsocket.html">TQSocket</a></b><td>Buffered TCP connection
@ -336,7 +336,7 @@ body { background: #ffffff; color: black; }
<tr bgcolor=#f0f0f0><td><b><a href="tqsqlrecordinfo.html">TQSqlRecordInfo</a></b><td>Encapsulates a set of database field meta data
<tr bgcolor=#f0f0f0><td><b><a href="tqsqlresult.html">TQSqlResult</a></b><td>Abstract interface for accessing data from SQL databases
<tr bgcolor=#f0f0f0><td><b><a href="tqsqlselectcursor.html">TQSqlSelectCursor</a></b><td>Browsing of general SQL SELECT statements
<tr bgcolor=#f0f0f0><td><b><a href="ntqstatusbar.html">TQStatusBar</a></b><td>Horizontal bar suitable for presenting status information
<tr bgcolor=#f0f0f0><td><b><a href="tqstatusbar.html">TQStatusBar</a></b><td>Horizontal bar suitable for presenting status information
<tr bgcolor=#f0f0f0><td><b><a href="qstoreddrag.html">TQStoredDrag</a></b><td>Simple stored-value drag object for arbitrary MIME data
<tr bgcolor=#f0f0f0><td><b><a href="tqstrilist.html">TQStrIList</a></b><td>Doubly-linked list of char* with case-insensitive comparison
<tr bgcolor=#f0f0f0><td><b><a href="tqstrlist.html">TQStrList</a></b><td>Doubly-linked list of char*
@ -374,11 +374,11 @@ body { background: #ffffff; color: black; }
<tr bgcolor=#f0f0f0><td><b><a href="tqtimeedit.html">TQTimeEdit</a></b><td>Time editor
<tr bgcolor=#f0f0f0><td><b><a href="tqtimer.html">TQTimer</a></b><td>Timer signals and single-shot timers
<tr bgcolor=#f0f0f0><td><b><a href="tqtimerevent.html">TQTimerEvent</a></b><td>Parameters that describe a timer event
<tr bgcolor=#f0f0f0><td><b><a href="ntqtoolbar.html">TQToolBar</a></b><td>Movable panel containing widgets such as tool buttons
<tr bgcolor=#f0f0f0><td><b><a href="ntqtoolbox.html">TQToolBox</a></b><td>Column of tabbed widget items
<tr bgcolor=#f0f0f0><td><b><a href="ntqtoolbutton.html">TQToolButton</a></b><td>Quick-access button to commands or options, usually used inside a TQToolBar
<tr bgcolor=#f0f0f0><td><b><a href="ntqtooltip.html">TQToolTip</a></b><td>Tool tips (balloon help) for any widget or rectangular part of a widget
<tr bgcolor=#f0f0f0><td><b><a href="qtooltipgroup.html">TQToolTipGroup</a></b><td>Collects tool tips into related groups
<tr bgcolor=#f0f0f0><td><b><a href="tqtoolbar.html">TQToolBar</a></b><td>Movable panel containing widgets such as tool buttons
<tr bgcolor=#f0f0f0><td><b><a href="tqtoolbox.html">TQToolBox</a></b><td>Column of tabbed widget items
<tr bgcolor=#f0f0f0><td><b><a href="tqtoolbutton.html">TQToolButton</a></b><td>Quick-access button to commands or options, usually used inside a TQToolBar
<tr bgcolor=#f0f0f0><td><b><a href="tqtooltip.html">TQToolTip</a></b><td>Tool tips (balloon help) for any widget or rectangular part of a widget
<tr bgcolor=#f0f0f0><td><b><a href="tqtooltipgroup.html">TQToolTipGroup</a></b><td>Collects tool tips into related groups
<tr bgcolor=#f0f0f0><td><b><a href="ntqtranslator.html">TQTranslator</a></b><td><a href="i18n.html#internationalization">Internationalization</a> support for text output
<tr bgcolor=#f0f0f0><td><b><a href="qtranslatormessage.html">TQTranslatorMessage</a></b><td>Translator message and its properties
<tr bgcolor=#f0f0f0><td><b><a href="tqtsciicodec.html">TQTsciiCodec</a></b><td>Conversion to and from the Tamil TSCII encoding
@ -410,7 +410,7 @@ body { background: #ffffff; color: black; }
<tr bgcolor=#f0f0f0><td><b><a href="qwindowsmime.html">TQWindowsMime</a></b><td>Maps open-standard MIME to Window Clipboard formats
<tr bgcolor=#f0f0f0><td><b><a href="ntqwindowsstyle.html">TQWindowsStyle</a></b><td>Microsoft Windows-like look and feel
<tr bgcolor=#f0f0f0><td><b><a href="ntqwizard.html">TQWizard</a></b><td>Framework for wizard dialogs
<tr bgcolor=#f0f0f0><td><b><a href="ntqworkspace.html">TQWorkspace</a></b><td>Workspace window that can contain decorated windows, e.g. for MDI
<tr bgcolor=#f0f0f0><td><b><a href="tqworkspace.html">TQWorkspace</a></b><td>Workspace window that can contain decorated windows, e.g. for MDI
<tr bgcolor=#f0f0f0><td><b><a href="tqxmlattributes.html">TQXmlAttributes</a></b><td>XML attributes
<tr bgcolor=#f0f0f0><td><b><a href="tqxmlcontenthandler.html">TQXmlContentHandler</a></b><td>Interface to report the logical content of XML data
<tr bgcolor=#f0f0f0><td><b><a href="tqxmldtdhandler.html">TQXmlDTDHandler</a></b><td>Interface to report DTD content of XML data

@ -61,8 +61,8 @@ style.
<tr bgcolor=#f0f0f0><td><b><a href="ntqpalette.html">TQPalette</a></b><td>Color groups for each widget state
<tr bgcolor=#f0f0f0><td><b><a href="ntqplatinumstyle.html">TQPlatinumStyle</a></b><td>Mac/Platinum look and feel
<tr bgcolor=#f0f0f0><td><b><a href="ntqsgistyle.html">TQSGIStyle</a></b><td>SGI/Irix look and feel
<tr bgcolor=#f0f0f0><td><b><a href="ntqsizegrip.html">TQSizeGrip</a></b><td>Corner-grip for resizing a top-level window
<tr bgcolor=#f0f0f0><td><b><a href="ntqsizepolicy.html">TQSizePolicy</a></b><td>Layout attribute describing horizontal and vertical resizing policy
<tr bgcolor=#f0f0f0><td><b><a href="tqsizegrip.html">TQSizeGrip</a></b><td>Corner-grip for resizing a top-level window
<tr bgcolor=#f0f0f0><td><b><a href="tqsizepolicy.html">TQSizePolicy</a></b><td>Layout attribute describing horizontal and vertical resizing policy
<tr bgcolor=#f0f0f0><td><b><a href="qspaceritem.html">TQSpacerItem</a></b><td>Blank space in a layout
<tr bgcolor=#f0f0f0><td><b><a href="tqstyle.html">TQStyle</a></b><td>The look and feel of a GUI
<tr bgcolor=#f0f0f0><td><b><a href="tqstyleoption.html">TQStyleOption</a></b><td>Optional parameters for TQStyle functions

@ -37,20 +37,20 @@ application window, like the main window itself, menu and tool bars,
a statusbar, etc.
<p>
<p><table width="100%">
<tr bgcolor=#f0f0f0><td><b><a href="ntqaction.html">TQAction</a></b><td>Abstract user interface action that can appear both in menus and tool bars
<tr bgcolor=#f0f0f0><td><b><a href="qactiongroup.html">TQActionGroup</a></b><td>Groups actions together
<tr bgcolor=#f0f0f0><td><b><a href="tqaction.html">TQAction</a></b><td>Abstract user interface action that can appear both in menus and tool bars
<tr bgcolor=#f0f0f0><td><b><a href="tqactiongroup.html">TQActionGroup</a></b><td>Groups actions together
<tr bgcolor=#f0f0f0><td><b><a href="ntqapplication.html">TQApplication</a></b><td>Manages the GUI application's control flow and main settings
<tr bgcolor=#f0f0f0><td><b><a href="ntqdockarea.html">TQDockArea</a></b><td>Manages and lays out TQDockWindows
<tr bgcolor=#f0f0f0><td><b><a href="ntqdockwindow.html">TQDockWindow</a></b><td>Widget which can be docked inside a TQDockArea or floated as a top level window on the desktop
<tr bgcolor=#f0f0f0><td><b><a href="ntqeventloop.html">TQEventLoop</a></b><td>Manages the event queue
<tr bgcolor=#f0f0f0><td><b><a href="ntqmainwindow.html">TQMainWindow</a></b><td>Main application window, with a menu bar, dock windows (e.g. for toolbars), and a status bar
<tr bgcolor=#f0f0f0><td><b><a href="ntqmenubar.html">TQMenuBar</a></b><td>Horizontal menu bar
<tr bgcolor=#f0f0f0><td><b><a href="ntqpopupmenu.html">TQPopupMenu</a></b><td>Popup menu widget
<tr bgcolor=#f0f0f0><td><b><a href="ntqsessionmanager.html">TQSessionManager</a></b><td>Access to the session manager
<tr bgcolor=#f0f0f0><td><b><a href="ntqsizegrip.html">TQSizeGrip</a></b><td>Corner-grip for resizing a top-level window
<tr bgcolor=#f0f0f0><td><b><a href="ntqstatusbar.html">TQStatusBar</a></b><td>Horizontal bar suitable for presenting status information
<tr bgcolor=#f0f0f0><td><b><a href="ntqtoolbar.html">TQToolBar</a></b><td>Movable panel containing widgets such as tool buttons
<tr bgcolor=#f0f0f0><td><b><a href="ntqworkspace.html">TQWorkspace</a></b><td>Workspace window that can contain decorated windows, e.g. for MDI
<tr bgcolor=#f0f0f0><td><b><a href="tqmainwindow.html">TQMainWindow</a></b><td>Main application window, with a menu bar, dock windows (e.g. for toolbars), and a status bar
<tr bgcolor=#f0f0f0><td><b><a href="tqmenubar.html">TQMenuBar</a></b><td>Horizontal menu bar
<tr bgcolor=#f0f0f0><td><b><a href="tqpopupmenu.html">TQPopupMenu</a></b><td>Popup menu widget
<tr bgcolor=#f0f0f0><td><b><a href="tqsessionmanager.html">TQSessionManager</a></b><td>Access to the session manager
<tr bgcolor=#f0f0f0><td><b><a href="tqsizegrip.html">TQSizeGrip</a></b><td>Corner-grip for resizing a top-level window
<tr bgcolor=#f0f0f0><td><b><a href="tqstatusbar.html">TQStatusBar</a></b><td>Horizontal bar suitable for presenting status information
<tr bgcolor=#f0f0f0><td><b><a href="tqtoolbar.html">TQToolBar</a></b><td>Movable panel containing widgets such as tool buttons
<tr bgcolor=#f0f0f0><td><b><a href="tqworkspace.html">TQWorkspace</a></b><td>Workspace window that can contain decorated windows, e.g. for MDI
</table>
<!-- eof -->
<p><address><hr><div align=center>

@ -38,24 +38,24 @@ designed for subclassing, and some <a href="advanced.html">more complex
widgets.</a>
<p>
<p><table width="100%">
<tr bgcolor=#f0f0f0><td><b><a href="ntqaction.html">TQAction</a></b><td>Abstract user interface action that can appear both in menus and tool bars
<tr bgcolor=#f0f0f0><td><b><a href="qactiongroup.html">TQActionGroup</a></b><td>Groups actions together
<tr bgcolor=#f0f0f0><td><b><a href="tqaction.html">TQAction</a></b><td>Abstract user interface action that can appear both in menus and tool bars
<tr bgcolor=#f0f0f0><td><b><a href="tqactiongroup.html">TQActionGroup</a></b><td>Groups actions together
<tr bgcolor=#f0f0f0><td><b><a href="ntqcheckbox.html">TQCheckBox</a></b><td>Checkbox with a text label
<tr bgcolor=#f0f0f0><td><b><a href="ntqcombobox.html">TQComboBox</a></b><td>Combined button and popup list
<tr bgcolor=#f0f0f0><td><b><a href="ntqdial.html">TQDial</a></b><td>Rounded range control (like a speedometer or potentiometer)
<tr bgcolor=#f0f0f0><td><b><a href="ntqlabel.html">TQLabel</a></b><td>Text or image display
<tr bgcolor=#f0f0f0><td><b><a href="ntqlcdnumber.html">TQLCDNumber</a></b><td>Displays a number with LCD-like digits
<tr bgcolor=#f0f0f0><td><b><a href="ntqlineedit.html">TQLineEdit</a></b><td>One-line text editor
<tr bgcolor=#f0f0f0><td><b><a href="ntqpopupmenu.html">TQPopupMenu</a></b><td>Popup menu widget
<tr bgcolor=#f0f0f0><td><b><a href="tqpopupmenu.html">TQPopupMenu</a></b><td>Popup menu widget
<tr bgcolor=#f0f0f0><td><b><a href="ntqpushbutton.html">TQPushButton</a></b><td>Command button
<tr bgcolor=#f0f0f0><td><b><a href="ntqradiobutton.html">TQRadioButton</a></b><td>Radio button with a text or pixmap label
<tr bgcolor=#f0f0f0><td><b><a href="ntqscrollbar.html">TQScrollBar</a></b><td>Vertical or horizontal scroll bar
<tr bgcolor=#f0f0f0><td><b><a href="ntqsizegrip.html">TQSizeGrip</a></b><td>Corner-grip for resizing a top-level window
<tr bgcolor=#f0f0f0><td><b><a href="tqsizegrip.html">TQSizeGrip</a></b><td>Corner-grip for resizing a top-level window
<tr bgcolor=#f0f0f0><td><b><a href="ntqslider.html">TQSlider</a></b><td>Vertical or horizontal slider
<tr bgcolor=#f0f0f0><td><b><a href="ntqspinbox.html">TQSpinBox</a></b><td>Spin box widget (spin button)
<tr bgcolor=#f0f0f0><td><b><a href="ntqsyntaxhighlighter.html">TQSyntaxHighlighter</a></b><td>Base class for implementing TQTextEdit syntax highlighters
<tr bgcolor=#f0f0f0><td><b><a href="tqtextedit.html">TQTextEdit</a></b><td>Powerful single-page rich text editor
<tr bgcolor=#f0f0f0><td><b><a href="ntqtoolbutton.html">TQToolButton</a></b><td>Quick-access button to commands or options, usually used inside a TQToolBar
<tr bgcolor=#f0f0f0><td><b><a href="tqtoolbutton.html">TQToolButton</a></b><td>Quick-access button to commands or options, usually used inside a TQToolBar
</table>
<!-- eof -->
<p><address><hr><div align=center>

@ -88,7 +88,7 @@ protected slots:
#include "buttongroups.h"
#include &lt;<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>&gt;
#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
#include &lt;<a href="qbuttongroup-h.html">ntqbuttongroup.h</a>&gt;
#include &lt;<a href="qlayout-h.html">ntqlayout.h</a>&gt;
#include &lt;<a href="qradiobutton-h.html">ntqradiobutton.h</a>&gt;
@ -177,11 +177,11 @@ protected slots:
// .. and the fourth a button with a menu
<a href="ntqpushbutton.html">TQPushButton</a> *tb4 = new <a href="ntqpushbutton.html">TQPushButton</a>( "Popup Button", bgrp4, "popup" );
<a href="ntqpopupmenu.html">TQPopupMenu</a> *menu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>(tb4);
menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("Item1", 0);
menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("Item2", 1);
menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("Item3", 2);
menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("Item4", 3);
<a href="tqpopupmenu.html">TQPopupMenu</a> *menu = new <a href="tqpopupmenu.html">TQPopupMenu</a>(tb4);
menu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("Item1", 0);
menu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("Item2", 1);
menu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("Item3", 2);
menu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>("Item4", 3);
<a name="x557"></a> tb4-&gt;<a href="ntqpushbutton.html#setPopup">setPopup</a>(menu);
}

@ -155,7 +155,7 @@ TQTextStream &amp;operator&gt;&gt;( <a href="tqtextstream.html">TQTextStream</a>
#include "element.h"
#include &lt;<a href="qmainwindow-h.html">ntqmainwindow.h</a>&gt;
#include &lt;<a href="tqmainwindow-h.html">tqmainwindow.h</a>&gt;
#include &lt;<a href="tqstringlist-h.html">tqstringlist.h</a>&gt;
@ -168,7 +168,7 @@ class TQPrinter;
class TQString;
class ChartForm: public <a href="ntqmainwindow.html">TQMainWindow</a>
class ChartForm: public <a href="tqmainwindow.html">TQMainWindow</a>
{
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
@ -184,7 +184,7 @@ public:
void setChanged( bool changed = TRUE ) { m_changed = changed; }
void drawElements();
<a href="ntqpopupmenu.html">TQPopupMenu</a> *optionsMenu; // Why public? See canvasview.cpp
<a href="tqpopupmenu.html">TQPopupMenu</a> *optionsMenu; // Why public? See canvasview.cpp
protected:
virtual void closeEvent( <a href="qcloseevent.html">TQCloseEvent</a> * );
@ -199,7 +199,7 @@ private slots:
void filePrint();
void fileQuit();
void optionsSetData();
void updateChartType( <a href="ntqaction.html">TQAction</a> *action );
void updateChartType( <a href="tqaction.html">TQAction</a> *action );
void optionsSetFont();
void optionsSetOptions();
void helpHelp();
@ -220,10 +220,10 @@ private:
void updateRecentFilesMenu();
void setChartType( ChartType chartType );
<a href="ntqpopupmenu.html">TQPopupMenu</a> *fileMenu;
<a href="ntqaction.html">TQAction</a> *optionsPieChartAction;
<a href="ntqaction.html">TQAction</a> *optionsHorizontalBarChartAction;
<a href="ntqaction.html">TQAction</a> *optionsVerticalBarChartAction;
<a href="tqpopupmenu.html">TQPopupMenu</a> *fileMenu;
<a href="tqaction.html">TQAction</a> *optionsPieChartAction;
<a href="tqaction.html">TQAction</a> *optionsHorizontalBarChartAction;
<a href="tqaction.html">TQAction</a> *optionsVerticalBarChartAction;
<a href="tqstring.html">TQString</a> m_filename;
@ -249,24 +249,24 @@ private:
#include "optionsform.h"
#include "setdataform.h"
#include &lt;<a href="qaction-h.html">ntqaction.h</a>&gt;
#include &lt;<a href="tqaction-h.html">tqaction.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include &lt;<a href="qcombobox-h.html">ntqcombobox.h</a>&gt;
#include &lt;<a href="qfile-h.html">ntqfile.h</a>&gt;
#include &lt;<a href="qfiledialog-h.html">ntqfiledialog.h</a>&gt;
#include &lt;<a href="qfont-h.html">ntqfont.h</a>&gt;
#include &lt;<a href="qfontdialog-h.html">ntqfontdialog.h</a>&gt;
#include &lt;<a href="qmenubar-h.html">ntqmenubar.h</a>&gt;
#include &lt;<a href="tqmenubar-h.html">tqmenubar.h</a>&gt;
#include &lt;<a href="qmessagebox-h.html">ntqmessagebox.h</a>&gt;
#include &lt;<a href="qpixmap-h.html">ntqpixmap.h</a>&gt;
#include &lt;<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>&gt;
#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
#include &lt;<a href="qprinter-h.html">ntqprinter.h</a>&gt;
#include &lt;<a href="qradiobutton-h.html">ntqradiobutton.h</a>&gt;
#include &lt;<a href="qsettings-h.html">ntqsettings.h</a>&gt;
#include &lt;<a href="qspinbox-h.html">ntqspinbox.h</a>&gt;
#include &lt;<a href="qstatusbar-h.html">ntqstatusbar.h</a>&gt;
#include &lt;<a href="qtoolbar-h.html">ntqtoolbar.h</a>&gt;
#include &lt;<a href="qtoolbutton-h.html">ntqtoolbutton.h</a>&gt;
#include &lt;<a href="tqstatusbar-h.html">tqstatusbar.h</a>&gt;
#include &lt;<a href="tqtoolbar-h.html">tqtoolbar.h</a>&gt;
#include &lt;<a href="tqtoolbutton-h.html">tqtoolbutton.h</a>&gt;
#include "images/file_new.xpm"
#include "images/file_open.xpm"
@ -285,149 +285,149 @@ const <a href="tqstring.html">TQString</a> APP_KEY = "/Chart/";
<a name="f596"></a>ChartForm::ChartForm( const <a href="tqstring.html">TQString</a>&amp; filename )
: <a href="ntqmainwindow.html">TQMainWindow</a>( 0, 0, WDestructiveClose )
: <a href="tqmainwindow.html">TQMainWindow</a>( 0, 0, WDestructiveClose )
{
<a href="tqwidget.html#setIcon">setIcon</a>( TQPixmap( options_piechart ) );
<a href="ntqaction.html">TQAction</a> *fileNewAction;
<a href="ntqaction.html">TQAction</a> *fileOpenAction;
<a href="ntqaction.html">TQAction</a> *fileSaveAction;
<a href="ntqaction.html">TQAction</a> *fileSaveAsAction;
<a href="ntqaction.html">TQAction</a> *fileSaveAsPixmapAction;
<a href="ntqaction.html">TQAction</a> *filePrintAction;
<a href="ntqaction.html">TQAction</a> *fileQuitAction;
<a href="ntqaction.html">TQAction</a> *optionsSetDataAction;
<a href="ntqaction.html">TQAction</a> *optionsSetFontAction;
<a href="ntqaction.html">TQAction</a> *optionsSetOptionsAction;
fileNewAction = new <a href="ntqaction.html">TQAction</a>(
<a href="tqaction.html">TQAction</a> *fileNewAction;
<a href="tqaction.html">TQAction</a> *fileOpenAction;
<a href="tqaction.html">TQAction</a> *fileSaveAction;
<a href="tqaction.html">TQAction</a> *fileSaveAsAction;
<a href="tqaction.html">TQAction</a> *fileSaveAsPixmapAction;
<a href="tqaction.html">TQAction</a> *filePrintAction;
<a href="tqaction.html">TQAction</a> *fileQuitAction;
<a href="tqaction.html">TQAction</a> *optionsSetDataAction;
<a href="tqaction.html">TQAction</a> *optionsSetFontAction;
<a href="tqaction.html">TQAction</a> *optionsSetOptionsAction;
fileNewAction = new <a href="tqaction.html">TQAction</a>(
"New Chart", TQPixmap( file_new ),
"&amp;New", CTRL+Key_N, this, "new" );
<a name="x2869"></a> <a href="tqobject.html#connect">connect</a>( fileNewAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ), this, TQ_SLOT( fileNew() ) );
<a name="x2869"></a> <a href="tqobject.html#connect">connect</a>( fileNewAction, TQ_SIGNAL( <a href="tqaction.html#activated">activated</a>() ), this, TQ_SLOT( fileNew() ) );
fileOpenAction = new <a href="ntqaction.html">TQAction</a>(
fileOpenAction = new <a href="tqaction.html">TQAction</a>(
"Open Chart", TQPixmap( file_open ),
"&amp;Open...", CTRL+Key_O, this, "open" );
<a href="tqobject.html#connect">connect</a>( fileOpenAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ), this, TQ_SLOT( fileOpen() ) );
<a href="tqobject.html#connect">connect</a>( fileOpenAction, TQ_SIGNAL( <a href="tqaction.html#activated">activated</a>() ), this, TQ_SLOT( fileOpen() ) );
fileSaveAction = new <a href="ntqaction.html">TQAction</a>(
fileSaveAction = new <a href="tqaction.html">TQAction</a>(
"Save Chart", TQPixmap( file_save ),
"&amp;Save", CTRL+Key_S, this, "save" );
<a href="tqobject.html#connect">connect</a>( fileSaveAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ), this, TQ_SLOT( fileSave() ) );
<a href="tqobject.html#connect">connect</a>( fileSaveAction, TQ_SIGNAL( <a href="tqaction.html#activated">activated</a>() ), this, TQ_SLOT( fileSave() ) );
fileSaveAsAction = new <a href="ntqaction.html">TQAction</a>(
fileSaveAsAction = new <a href="tqaction.html">TQAction</a>(
"Save Chart As", TQPixmap( file_save ),
"Save &amp;As...", 0, this, "save as" );
<a href="tqobject.html#connect">connect</a>( fileSaveAsAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ),
<a href="tqobject.html#connect">connect</a>( fileSaveAsAction, TQ_SIGNAL( <a href="tqaction.html#activated">activated</a>() ),
this, TQ_SLOT( fileSaveAs() ) );
fileSaveAsPixmapAction = new <a href="ntqaction.html">TQAction</a>(
fileSaveAsPixmapAction = new <a href="tqaction.html">TQAction</a>(
"Save Chart As Bitmap", TQPixmap( file_save ),
"Save As &amp;Bitmap...", CTRL+Key_B, this, "save as bitmap" );
<a href="tqobject.html#connect">connect</a>( fileSaveAsPixmapAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ),
<a href="tqobject.html#connect">connect</a>( fileSaveAsPixmapAction, TQ_SIGNAL( <a href="tqaction.html#activated">activated</a>() ),
this, TQ_SLOT( fileSaveAsPixmap() ) );
filePrintAction = new <a href="ntqaction.html">TQAction</a>(
filePrintAction = new <a href="tqaction.html">TQAction</a>(
"Print Chart", TQPixmap( file_print ),
"&amp;Print Chart...", CTRL+Key_P, this, "print chart" );
<a href="tqobject.html#connect">connect</a>( filePrintAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ),
<a href="tqobject.html#connect">connect</a>( filePrintAction, TQ_SIGNAL( <a href="tqaction.html#activated">activated</a>() ),
this, TQ_SLOT( filePrint() ) );
optionsSetDataAction = new <a href="ntqaction.html">TQAction</a>(
optionsSetDataAction = new <a href="tqaction.html">TQAction</a>(
"Set Data", TQPixmap( options_setdata ),
"Set &amp;Data...", CTRL+Key_D, this, "set data" );
<a href="tqobject.html#connect">connect</a>( optionsSetDataAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ),
<a href="tqobject.html#connect">connect</a>( optionsSetDataAction, TQ_SIGNAL( <a href="tqaction.html#activated">activated</a>() ),
this, TQ_SLOT( optionsSetData() ) );
<a href="qactiongroup.html">TQActionGroup</a> *chartGroup = new <a href="qactiongroup.html">TQActionGroup</a>( this ); // Connected later
<a name="x2874"></a> chartGroup-&gt;<a href="qactiongroup.html#setExclusive">setExclusive</a>( TRUE );
<a href="tqactiongroup.html">TQActionGroup</a> *chartGroup = new <a href="tqactiongroup.html">TQActionGroup</a>( this ); // Connected later
<a name="x2874"></a> chartGroup-&gt;<a href="tqactiongroup.html#setExclusive">setExclusive</a>( TRUE );
optionsPieChartAction = new <a href="ntqaction.html">TQAction</a>(
optionsPieChartAction = new <a href="tqaction.html">TQAction</a>(
"Pie Chart", TQPixmap( options_piechart ),
"&amp;Pie Chart", CTRL+Key_I, chartGroup, "pie chart" );
<a name="x2872"></a> optionsPieChartAction-&gt;<a href="ntqaction.html#setToggleAction">setToggleAction</a>( TRUE );
<a name="x2872"></a> optionsPieChartAction-&gt;<a href="tqaction.html#setToggleAction">setToggleAction</a>( TRUE );
optionsHorizontalBarChartAction = new <a href="ntqaction.html">TQAction</a>(
optionsHorizontalBarChartAction = new <a href="tqaction.html">TQAction</a>(
"Horizontal Bar Chart", TQPixmap( options_horizontalbarchart ),
"&amp;Horizontal Bar Chart", CTRL+Key_H, chartGroup,
"horizontal bar chart" );
optionsHorizontalBarChartAction-&gt;<a href="ntqaction.html#setToggleAction">setToggleAction</a>( TRUE );
optionsHorizontalBarChartAction-&gt;<a href="tqaction.html#setToggleAction">setToggleAction</a>( TRUE );
optionsVerticalBarChartAction = new <a href="ntqaction.html">TQAction</a>(
optionsVerticalBarChartAction = new <a href="tqaction.html">TQAction</a>(
"Vertical Bar Chart", TQPixmap( options_verticalbarchart ),
"&amp;Vertical Bar Chart", CTRL+Key_V, chartGroup, "Vertical bar chart" );
optionsVerticalBarChartAction-&gt;<a href="ntqaction.html#setToggleAction">setToggleAction</a>( TRUE );
optionsVerticalBarChartAction-&gt;<a href="tqaction.html#setToggleAction">setToggleAction</a>( TRUE );
optionsSetFontAction = new <a href="ntqaction.html">TQAction</a>(
optionsSetFontAction = new <a href="tqaction.html">TQAction</a>(
"Set Font", TQPixmap( options_setfont ),
"Set &amp;Font...", CTRL+Key_F, this, "set font" );
<a href="tqobject.html#connect">connect</a>( optionsSetFontAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ),
<a href="tqobject.html#connect">connect</a>( optionsSetFontAction, TQ_SIGNAL( <a href="tqaction.html#activated">activated</a>() ),
this, TQ_SLOT( optionsSetFont() ) );
optionsSetOptionsAction = new <a href="ntqaction.html">TQAction</a>(
optionsSetOptionsAction = new <a href="tqaction.html">TQAction</a>(
"Set Options", TQPixmap( options_setoptions ),
"Set &amp;Options...", 0, this, "set options" );
<a href="tqobject.html#connect">connect</a>( optionsSetOptionsAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ),
<a href="tqobject.html#connect">connect</a>( optionsSetOptionsAction, TQ_SIGNAL( <a href="tqaction.html#activated">activated</a>() ),
this, TQ_SLOT( optionsSetOptions() ) );
fileQuitAction = new <a href="ntqaction.html">TQAction</a>( "Quit", "&amp;Quit", CTRL+Key_Q, this, "quit" );
<a href="tqobject.html#connect">connect</a>( fileQuitAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ), this, TQ_SLOT( fileQuit() ) );
<a href="ntqtoolbar.html">TQToolBar</a>* fileTools = new <a href="ntqtoolbar.html">TQToolBar</a>( this, "file operations" );
<a name="x2895"></a> fileTools-&gt;<a href="ntqtoolbar.html#setLabel">setLabel</a>( "File Operations" );
<a name="x2870"></a> fileNewAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( fileTools );
fileOpenAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( fileTools );
fileSaveAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( fileTools );
<a name="x2894"></a> fileTools-&gt;<a href="ntqtoolbar.html#addSeparator">addSeparator</a>();
filePrintAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( fileTools );
<a href="ntqtoolbar.html">TQToolBar</a> *optionsTools = new <a href="ntqtoolbar.html">TQToolBar</a>( this, "options operations" );
optionsTools-&gt;<a href="ntqtoolbar.html#setLabel">setLabel</a>( "Options Operations" );
optionsSetDataAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( optionsTools );
optionsTools-&gt;<a href="ntqtoolbar.html#addSeparator">addSeparator</a>();
optionsPieChartAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( optionsTools );
optionsHorizontalBarChartAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( optionsTools );
optionsVerticalBarChartAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( optionsTools );
optionsTools-&gt;<a href="ntqtoolbar.html#addSeparator">addSeparator</a>();
optionsSetFontAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( optionsTools );
optionsTools-&gt;<a href="ntqtoolbar.html#addSeparator">addSeparator</a>();
optionsSetOptionsAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( optionsTools );
fileMenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
<a href="ntqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;File", fileMenu );
fileNewAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( fileMenu );
fileOpenAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( fileMenu );
fileSaveAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( fileMenu );
fileSaveAsAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( fileMenu );
fileMenu-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
fileSaveAsPixmapAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( fileMenu );
fileMenu-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
filePrintAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( fileMenu );
fileMenu-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
fileQuitAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( fileMenu );
optionsMenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
<a href="ntqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;Options", optionsMenu );
optionsSetDataAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( optionsMenu );
optionsMenu-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
optionsPieChartAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( optionsMenu );
optionsHorizontalBarChartAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( optionsMenu );
optionsVerticalBarChartAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( optionsMenu );
optionsMenu-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
optionsSetFontAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( optionsMenu );
optionsMenu-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
optionsSetOptionsAction-&gt;<a href="ntqaction.html#addTo">addTo</a>( optionsMenu );
<a href="ntqmainwindow.html#menuBar">menuBar</a>()-&gt;insertSeparator();
<a href="ntqpopupmenu.html">TQPopupMenu</a> *helpMenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
<a href="ntqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;Help", helpMenu );
helpMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Help", this, TQ_SLOT(helpHelp()), Key_F1 );
helpMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;About", this, TQ_SLOT(helpAbout()) );
helpMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "About &amp;TQt", this, TQ_SLOT(helpAboutTQt()) );
fileQuitAction = new <a href="tqaction.html">TQAction</a>( "Quit", "&amp;Quit", CTRL+Key_Q, this, "quit" );
<a href="tqobject.html#connect">connect</a>( fileQuitAction, TQ_SIGNAL( <a href="tqaction.html#activated">activated</a>() ), this, TQ_SLOT( fileQuit() ) );
<a href="tqtoolbar.html">TQToolBar</a>* fileTools = new <a href="tqtoolbar.html">TQToolBar</a>( this, "file operations" );
<a name="x2895"></a> fileTools-&gt;<a href="tqtoolbar.html#setLabel">setLabel</a>( "File Operations" );
<a name="x2870"></a> fileNewAction-&gt;<a href="tqaction.html#addTo">addTo</a>( fileTools );
fileOpenAction-&gt;<a href="tqaction.html#addTo">addTo</a>( fileTools );
fileSaveAction-&gt;<a href="tqaction.html#addTo">addTo</a>( fileTools );
<a name="x2894"></a> fileTools-&gt;<a href="tqtoolbar.html#addSeparator">addSeparator</a>();
filePrintAction-&gt;<a href="tqaction.html#addTo">addTo</a>( fileTools );
<a href="tqtoolbar.html">TQToolBar</a> *optionsTools = new <a href="tqtoolbar.html">TQToolBar</a>( this, "options operations" );
optionsTools-&gt;<a href="tqtoolbar.html#setLabel">setLabel</a>( "Options Operations" );
optionsSetDataAction-&gt;<a href="tqaction.html#addTo">addTo</a>( optionsTools );
optionsTools-&gt;<a href="tqtoolbar.html#addSeparator">addSeparator</a>();
optionsPieChartAction-&gt;<a href="tqaction.html#addTo">addTo</a>( optionsTools );
optionsHorizontalBarChartAction-&gt;<a href="tqaction.html#addTo">addTo</a>( optionsTools );
optionsVerticalBarChartAction-&gt;<a href="tqaction.html#addTo">addTo</a>( optionsTools );
optionsTools-&gt;<a href="tqtoolbar.html#addSeparator">addSeparator</a>();
optionsSetFontAction-&gt;<a href="tqaction.html#addTo">addTo</a>( optionsTools );
optionsTools-&gt;<a href="tqtoolbar.html#addSeparator">addSeparator</a>();
optionsSetOptionsAction-&gt;<a href="tqaction.html#addTo">addTo</a>( optionsTools );
fileMenu = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this );
<a href="tqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;File", fileMenu );
fileNewAction-&gt;<a href="tqaction.html#addTo">addTo</a>( fileMenu );
fileOpenAction-&gt;<a href="tqaction.html#addTo">addTo</a>( fileMenu );
fileSaveAction-&gt;<a href="tqaction.html#addTo">addTo</a>( fileMenu );
fileSaveAsAction-&gt;<a href="tqaction.html#addTo">addTo</a>( fileMenu );
fileMenu-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
fileSaveAsPixmapAction-&gt;<a href="tqaction.html#addTo">addTo</a>( fileMenu );
fileMenu-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
filePrintAction-&gt;<a href="tqaction.html#addTo">addTo</a>( fileMenu );
fileMenu-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
fileQuitAction-&gt;<a href="tqaction.html#addTo">addTo</a>( fileMenu );
optionsMenu = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this );
<a href="tqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;Options", optionsMenu );
optionsSetDataAction-&gt;<a href="tqaction.html#addTo">addTo</a>( optionsMenu );
optionsMenu-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
optionsPieChartAction-&gt;<a href="tqaction.html#addTo">addTo</a>( optionsMenu );
optionsHorizontalBarChartAction-&gt;<a href="tqaction.html#addTo">addTo</a>( optionsMenu );
optionsVerticalBarChartAction-&gt;<a href="tqaction.html#addTo">addTo</a>( optionsMenu );
optionsMenu-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
optionsSetFontAction-&gt;<a href="tqaction.html#addTo">addTo</a>( optionsMenu );
optionsMenu-&gt;<a href="tqmenudata.html#insertSeparator">insertSeparator</a>();
optionsSetOptionsAction-&gt;<a href="tqaction.html#addTo">addTo</a>( optionsMenu );
<a href="tqmainwindow.html#menuBar">menuBar</a>()-&gt;insertSeparator();
<a href="tqpopupmenu.html">TQPopupMenu</a> *helpMenu = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this );
<a href="tqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( "&amp;Help", helpMenu );
helpMenu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "&amp;Help", this, TQ_SLOT(helpHelp()), Key_F1 );
helpMenu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "&amp;About", this, TQ_SLOT(helpAbout()) );
helpMenu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( "About &amp;TQt", this, TQ_SLOT(helpAboutTQt()) );
m_printer = 0;
@ -459,7 +459,7 @@ const <a href="tqstring.html">TQString</a> APP_KEY = "/Chart/";
// Connect *after* we've set the chart type on so we don't call
// drawElements() prematurely.
<a name="x2873"></a> <a href="tqobject.html#connect">connect</a>( chartGroup, TQ_SIGNAL( <a href="qactiongroup.html#selected">selected</a>(TQAction*) ),
<a name="x2873"></a> <a href="tqobject.html#connect">connect</a>( chartGroup, TQ_SIGNAL( <a href="tqactiongroup.html#selected">selected</a>(TQAction*) ),
this, TQ_SLOT( updateChartType(TQAction*) ) );
<a href="tqwidget.html#resize">resize</a>( windowWidth, windowHeight );
@ -469,7 +469,7 @@ const <a href="tqstring.html">TQString</a> APP_KEY = "/Chart/";
m_canvas = new <a href="tqcanvas.html">TQCanvas</a>( this );
<a name="x2876"></a> m_canvas-&gt;<a href="tqcanvas.html#resize">resize</a>( <a href="tqwidget.html#width">width</a>(), height() );
m_canvasView = new CanvasView( m_canvas, &amp;m_elements, this );
<a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( m_canvasView );
<a href="tqmainwindow.html#setCentralWidget">setCentralWidget</a>( m_canvasView );
m_canvasView-&gt;<a href="tqwidget.html#show">show</a>();
if ( !filename.<a href="tqstring.html#isEmpty">isEmpty</a>() )
@ -484,7 +484,7 @@ const <a href="tqstring.html">TQString</a> APP_KEY = "/Chart/";
drawElements();
}
<a href="ntqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "Ready", 2000 );
<a href="tqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "Ready", 2000 );
}
@ -546,7 +546,7 @@ void <a name="f599"></a>ChartForm::fileOpen()
if ( !filename.<a href="tqstring.html#isEmpty">isEmpty</a>() )
load( filename );
else
<a href="ntqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "File Open abandoned", 2000 );
<a href="tqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "File Open abandoned", 2000 );
}
@ -570,7 +570,7 @@ void <a name="f600"></a>ChartForm::fileSaveAs()
return;
}
}
<a href="ntqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "Saving abandoned", 2000 );
<a href="tqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "Saving abandoned", 2000 );
}
@ -599,10 +599,10 @@ void <a name="f602"></a>ChartForm::updateRecentFiles( const <a href="tqstring.ht
void <a name="f603"></a>ChartForm::updateRecentFilesMenu()
{
for ( int i = 0; i &lt; MAX_RECENTFILES; ++i ) {
<a name="x2882"></a> if ( fileMenu-&gt;<a href="ntqmenudata.html#findItem">findItem</a>( i ) )
<a name="x2885"></a> fileMenu-&gt;<a href="ntqmenudata.html#removeItem">removeItem</a>( i );
<a name="x2882"></a> if ( fileMenu-&gt;<a href="tqmenudata.html#findItem">findItem</a>( i ) )
<a name="x2885"></a> fileMenu-&gt;<a href="tqmenudata.html#removeItem">removeItem</a>( i );
if ( i &lt; int(m_recentFiles.count()) )
fileMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( TQString( "&amp;%1 %2" ).
fileMenu-&gt;<a href="tqmenudata.html#insertItem">insertItem</a>( TQString( "&amp;%1 %2" ).
arg( i + 1 ).arg( m_recentFiles[i] ),
this, TQ_SLOT( fileOpenRecent(int) ),
0, i );
@ -682,19 +682,19 @@ void <a name="f608"></a>ChartForm::setChartType( ChartType chartType )
m_chartType = chartType;
switch ( m_chartType ) {
case PIE:
<a name="x2871"></a> optionsPieChartAction-&gt;<a href="ntqaction.html#setOn">setOn</a>( TRUE );
<a name="x2871"></a> optionsPieChartAction-&gt;<a href="tqaction.html#setOn">setOn</a>( TRUE );
break;
case VERTICAL_BAR:
optionsVerticalBarChartAction-&gt;<a href="ntqaction.html#setOn">setOn</a>( TRUE );
optionsVerticalBarChartAction-&gt;<a href="tqaction.html#setOn">setOn</a>( TRUE );
break;
case HORIZONTAL_BAR:
optionsHorizontalBarChartAction-&gt;<a href="ntqaction.html#setOn">setOn</a>( TRUE );
optionsHorizontalBarChartAction-&gt;<a href="tqaction.html#setOn">setOn</a>( TRUE );
break;
}
}
void <a name="f609"></a>ChartForm::updateChartType( <a href="ntqaction.html">TQAction</a> *action )
void <a name="f609"></a>ChartForm::updateChartType( <a href="tqaction.html">TQAction</a> *action )
{
if ( action == optionsPieChartAction ) {
m_chartType = PIE;
@ -757,7 +757,7 @@ void <a name="f611"></a>ChartForm::optionsSetOptions()
void <a name="f612"></a>ChartForm::helpHelp()
{
<a href="ntqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "Help is not implemented yet", 2000 );
<a href="tqmainwindow.html#statusBar">statusBar</a>()-&gt;message( "Help is not implemented yet", 2000 );
}

@ -41,8 +41,8 @@ example provides a taste of what can be done.
<p> <pre>#ifndef EXAMPLE_H
#define EXAMPLE_H
#include &lt;<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>&gt;
#include &lt;<a href="qmainwindow-h.html">n