summaryrefslogtreecommitdiffstats
path: root/doc/html/t12-main-cpp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/t12-main-cpp.html')
-rw-r--r--doc/html/t12-main-cpp.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/t12-main-cpp.html b/doc/html/t12-main-cpp.html
index 2106eb5e3..e20f3dd09 100644
--- a/doc/html/t12-main-cpp.html
+++ b/doc/html/t12-main-cpp.html
@@ -58,10 +58,10 @@ public:
<a name="f86"></a>MyWidget::MyWidget( <a href="qwidget.html">TQWidget</a> *parent, const char *name )
: <a href="qwidget.html">TQWidget</a>( parent, name )
{
- <a href="qpushbutton.html">TQPushButton</a> *tquit = new <a href="qpushbutton.html">TQPushButton</a>( "&amp;Quit", this, "tquit" );
- tquit-&gt;<a href="qwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
+ <a href="qpushbutton.html">TQPushButton</a> *quit = new <a href="qpushbutton.html">TQPushButton</a>( "&amp;Quit", this, "quit" );
+ quit-&gt;<a href="qwidget.html#setFont">setFont</a>( TQFont( "Times", 18, TQFont::Bold ) );
- <a href="qobject.html#connect">connect</a>( tquit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="qapplication.html#tquit">tquit</a>()) );
+ <a href="qobject.html#connect">connect</a>( quit, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), qApp, SLOT(<a href="qapplication.html#quit">quit</a>()) );
LCDRange *angle = new LCDRange( "ANGLE", this, "angle" );
angle-&gt;setRange( 5, 70 );
@@ -87,7 +87,7 @@ public:
<a href="qobject.html#connect">connect</a>( shoot, SIGNAL(<a href="qbutton.html#clicked">clicked</a>()), cannonField, SLOT(shoot()) );
<a href="qgridlayout.html">TQGridLayout</a> *grid = new <a href="qgridlayout.html">TQGridLayout</a>( this, 2, 2, 10 );
- grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( tquit, 0, 0 );
+ grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( quit, 0, 0 );
grid-&gt;<a href="qgridlayout.html#addWidget">addWidget</a>( cannonField, 1, 1 );
grid-&gt;<a href="qgridlayout.html#setColStretch">setColStretch</a>( 1, 10 );