summaryrefslogtreecommitdiffstats
path: root/doc/html/t11-main-cpp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/t11-main-cpp.html')
-rw-r--r--doc/html/t11-main-cpp.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/t11-main-cpp.html b/doc/html/t11-main-cpp.html
index 3a059a06d..5c852f895 100644
--- a/doc/html/t11-main-cpp.html
+++ b/doc/html/t11-main-cpp.html
@@ -58,10 +58,10 @@ public:
<a name="f66"></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( 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 );