summaryrefslogtreecommitdiffstats
path: root/doc/html/menu-example.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /doc/html/menu-example.html
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-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.html22
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-&gt;<a href="ntqpopupmenu.html#insertTearOffHandle">insertTearOffHandle</a>();
<a name="x1869"></a> print-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Print to printer", this, SLOT(printer()) );
print-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Print to &amp;file", this, SLOT(file()) );
@@ -234,7 +234,7 @@ private:
print-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Printer &amp;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-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( p1, "&amp;Open", this, SLOT(open()), CTRL+Key_O );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( p2, "&amp;New", this, SLOT(news()), CTRL+Key_N );
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( p3, "&amp;Save", this, SLOT(save()), CTRL+Key_S );
@@ -245,14 +245,14 @@ private:
file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "E&amp;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-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Undo", this, SLOT(undo()) );
int redoID = edit-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Redo", this, SLOT(redo()) );
<a name="x1873"></a> edit-&gt;<a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( undoID, FALSE );
edit-&gt;<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-&gt;<a href="ntqpopupmenu.html#insertTearOffHandle">insertTearOffHandle</a>();
options-&gt;<a href="ntqwidget.html#setCaption">setCaption</a>("Options");
options-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;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-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;About", this, SLOT(about()), CTRL+Key_H );
help-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "About &amp;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-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;File", file );
menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Edit", edit );
menu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;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-&gt;<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-&gt;<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-&gt;<a href="ntqwidget.html#setGeometry">setGeometry</a>( 20, rect().center().y()-20, width()-40, 40 );
label-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Box | TQFrame::Raised );
<a name="x1863"></a> label-&gt;<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>( "&lt;font color=darkblue&gt;&lt;u&gt;&lt;b&gt;"
"Context Menu&lt;/b&gt;&lt;/u&gt;&lt;/font&gt;", this );
caption-&gt;<a href="ntqlabel.html#setAlignment">setAlignment</a>( TQt::AlignCenter );
@@ -326,7 +326,7 @@ private:
contextMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Open...", this, SLOT(open()), CTRL+Key_O );
contextMenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;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-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Print to printer", this, SLOT(printer()) );
submenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Print to &amp;file", this, SLOT(file()) );
submenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "Print to fa&amp;x", this, SLOT(fax()) );