diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-13 17:43:39 -0600 |
commit | 359640943bcf155faa9a067dde9e00a123276290 (patch) | |
tree | fb3d55ea5e18949042fb0064123fb73d2b1eb932 /doc/html/menu-example.html | |
parent | a829bcdc533e154000803d517200d32fe762e85c (diff) | |
download | tqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz tqt3-359640943bcf155faa9a067dde9e00a123276290.zip |
Automated update from Qt3
Diffstat (limited to 'doc/html/menu-example.html')
-rw-r--r-- | doc/html/menu-example.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/menu-example.html b/doc/html/menu-example.html index b611166cd..6b17e6b47 100644 --- a/doc/html/menu-example.html +++ b/doc/html/menu-example.html @@ -58,7 +58,7 @@ context menu. class MenuExample : public <a href="ntqwidget.html">TQWidget</a> { - <a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a> + <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: MenuExample( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 ); @@ -225,7 +225,7 @@ private: <a href="ntqpixmap.html">TQPixmap</a> p2( p2_xpm ); <a href="ntqpixmap.html">TQPixmap</a> p3( p3_xpm ); <a href="ntqpopupmenu.html">TQPopupMenu</a> *print = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - <a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( print ); + <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( print ); <a name="x1879"></a> print-><a href="ntqpopupmenu.html#insertTearOffHandle">insertTearOffHandle</a>(); <a name="x1869"></a> print-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Print to printer", this, SLOT(printer()) ); print-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Print to &file", this, SLOT(file()) ); @@ -234,7 +234,7 @@ private: print-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Printer &Setup", this, SLOT(printerSetup()) ); <a href="ntqpopupmenu.html">TQPopupMenu</a> *file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - <a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( file ); + <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( file ); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( p1, "&Open", this, SLOT(open()), CTRL+Key_O ); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( p2, "&New", this, SLOT(news()), CTRL+Key_N ); file-><a href="ntqmenudata.html#insertItem">insertItem</a>( p3, "&Save", this, SLOT(save()), CTRL+Key_S ); @@ -245,14 +245,14 @@ private: file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "E&xit", qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q ); <a href="ntqpopupmenu.html">TQPopupMenu</a> *edit = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - <a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( edit ); + <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( edit ); int undoID = edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Undo", this, SLOT(undo()) ); int redoID = edit-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Redo", this, SLOT(redo()) ); <a name="x1873"></a> edit-><a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( undoID, FALSE ); edit-><a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( redoID, FALSE ); <a href="ntqpopupmenu.html">TQPopupMenu</a>* options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - <a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( options ); + <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( options ); options-><a href="ntqpopupmenu.html#insertTearOffHandle">insertTearOffHandle</a>(); options-><a href="ntqwidget.html#setCaption">setCaption</a>("Options"); options-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Normal Font", this, SLOT(normal()) ); @@ -276,13 +276,13 @@ private: <a href="ntqpopupmenu.html">TQPopupMenu</a> *help = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - <a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( help ); + <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( help ); help-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&About", this, SLOT(about()), CTRL+Key_H ); help-><a href="ntqmenudata.html#insertItem">insertItem</a>( "About &TQt", this, SLOT(aboutTQt()) ); // If we used a TQMainWindow we could use its built-in menuBar(). menu = new <a href="ntqmenubar.html">TQMenuBar</a>( this ); - <a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( menu ); + <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( menu ); menu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&File", file ); menu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Edit", edit ); menu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Options", options ); @@ -292,7 +292,7 @@ private: <a href="ntqlabel.html">TQLabel</a> *msg = new <a href="ntqlabel.html">TQLabel</a>( this ); - <a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( msg ); + <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( msg ); msg-><a href="ntqlabel.html#setText">setText</a>( "A context menu is available.\n" "Invoke it by right-clicking or by" " pressing the 'context' button." ); @@ -300,7 +300,7 @@ private: <a name="x1864"></a> msg-><a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignCenter ); label = new <a href="ntqlabel.html">TQLabel</a>( this ); - <a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( label ); + <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( label ); label-><a href="ntqwidget.html#setGeometry">setGeometry</a>( 20, rect().center().y()-20, width()-40, 40 ); label-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Box | TQFrame::Raised ); <a name="x1863"></a> label-><a href="ntqframe.html#setLineWidth">setLineWidth</a>( 1 ); @@ -317,7 +317,7 @@ private: <a name="x1881"></a>void MenuExample::<a href="ntqwidget.html#contextMenuEvent">contextMenuEvent</a>( <a href="qcontextmenuevent.html">TQContextMenuEvent</a> * ) { <a href="ntqpopupmenu.html">TQPopupMenu</a>* contextMenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - <a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( contextMenu ); + <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( contextMenu ); <a href="ntqlabel.html">TQLabel</a> *caption = new <a href="ntqlabel.html">TQLabel</a>( "<font color=darkblue><u><b>" "Context Menu</b></u></font>", this ); caption-><a href="ntqlabel.html#setAlignment">setAlignment</a>( TQt::AlignCenter ); @@ -326,7 +326,7 @@ private: contextMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Open...", this, SLOT(open()), CTRL+Key_O ); contextMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Save", this, SLOT(save()), CTRL+Key_S ); <a href="ntqpopupmenu.html">TQPopupMenu</a> *submenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - <a href="ntqapplication.html#Q_CHECK_PTR">Q_CHECK_PTR</a>( submenu ); + <a href="ntqapplication.html#TQ_CHECK_PTR">TQ_CHECK_PTR</a>( submenu ); submenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Print to printer", this, SLOT(printer()) ); submenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Print to &file", this, SLOT(file()) ); submenu-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Print to fa&x", this, SLOT(fax()) ); |