diff options
Diffstat (limited to 'doc/html/addressbook-example.html')
-rw-r--r-- | doc/html/addressbook-example.html | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/html/addressbook-example.html b/doc/html/addressbook-example.html index c61e3fb32..1c838d793 100644 --- a/doc/html/addressbook-example.html +++ b/doc/html/addressbook-example.html @@ -50,14 +50,14 @@ using an addressbook as the example. #ifndef AB_MAINWINDOW_H #define AB_MAINWINDOW_H -#include <<a href="qmainwindow-h.html">ntqmainwindow.h</a>> +#include <<a href="tqmainwindow-h.html">tqmainwindow.h</a>> #include <<a href="tqstring-h.html">tqstring.h</a>> 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 <<a href="qtoolbar-h.html">ntqtoolbar.h</a>> -#include <<a href="qtoolbutton-h.html">ntqtoolbutton.h</a>> -#include <<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>> -#include <<a href="qmenubar-h.html">ntqmenubar.h</a>> -#include <<a href="qstatusbar-h.html">ntqstatusbar.h</a>> +#include <<a href="tqtoolbar-h.html">tqtoolbar.h</a>> +#include <<a href="tqtoolbutton-h.html">tqtoolbutton.h</a>> +#include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> +#include <<a href="tqmenubar-h.html">tqmenubar.h</a>> +#include <<a href="tqstatusbar-h.html">tqstatusbar.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="qfiledialog-h.html">ntqfiledialog.h</a>> <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>()->insertItem( "&File", file ); - -<a name="x569"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "New", this, TQ_SLOT( fileNew() ), CTRL + Key_N ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( TQPixmap( "fileopen.xpm" ), "Open", this, TQ_SLOT( fileOpen() ), CTRL + Key_O ); -<a name="x570"></a> file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( TQPixmap( "filesave.xpm" ), "Save", this, TQ_SLOT( fileSave() ), CTRL + Key_S ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Save As...", this, TQ_SLOT( fileSaveAs() ) ); - file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( TQPixmap( "fileprint.xpm" ), "Print...", this, TQ_SLOT( filePrint() ), CTRL + Key_P ); - file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Close", this, TQ_SLOT( closeWindow() ), CTRL + Key_W ); - file-><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>()->insertItem( "&File", file ); + +<a name="x569"></a> file-><a href="tqmenudata.html#insertItem">insertItem</a>( "New", this, TQ_SLOT( fileNew() ), CTRL + Key_N ); + file-><a href="tqmenudata.html#insertItem">insertItem</a>( TQPixmap( "fileopen.xpm" ), "Open", this, TQ_SLOT( fileOpen() ), CTRL + Key_O ); +<a name="x570"></a> file-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); + file-><a href="tqmenudata.html#insertItem">insertItem</a>( TQPixmap( "filesave.xpm" ), "Save", this, TQ_SLOT( fileSave() ), CTRL + Key_S ); + file-><a href="tqmenudata.html#insertItem">insertItem</a>( "Save As...", this, TQ_SLOT( fileSaveAs() ) ); + file-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); + file-><a href="tqmenudata.html#insertItem">insertItem</a>( TQPixmap( "fileprint.xpm" ), "Print...", this, TQ_SLOT( filePrint() ), CTRL + Key_P ); + file-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); + file-><a href="tqmenudata.html#insertItem">insertItem</a>( "Close", this, TQ_SLOT( closeWindow() ), CTRL + Key_W ); + file-><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() |