diff options
Diffstat (limited to 'doc/html/rot-example.html')
-rw-r--r-- | doc/html/rot-example.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/rot-example.html b/doc/html/rot-example.html index 91835dc2e..2f66bf1ed 100644 --- a/doc/html/rot-example.html +++ b/doc/html/rot-example.html @@ -103,14 +103,14 @@ private: <a name="x1375"></a> <a href="qobject.html#connect">connect</a>( left, SIGNAL(<a href="qtextedit.html#textChanged">textChanged</a>()), this, SLOT(changeRight()) ); <a href="qobject.html#connect">connect</a>( right, SIGNAL(<a href="qtextedit.html#textChanged">textChanged</a>()), this, SLOT(changeLeft()) ); - <a href="qpushbutton.html">TQPushButton</a> * tquit = new <a href="qpushbutton.html">TQPushButton</a>( "&Quit", this ); -<a name="x1379"></a> tquit-><a href="qwidget.html#setFocusPolicy">setFocusPolicy</a>( NoFocus ); - <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="qpushbutton.html">TQPushButton</a> * quit = new <a href="qpushbutton.html">TQPushButton</a>( "&Quit", this ); +<a name="x1379"></a> quit-><a href="qwidget.html#setFocusPolicy">setFocusPolicy</a>( NoFocus ); + <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>()) ); <a href="qgridlayout.html">TQGridLayout</a> * l = new <a href="qgridlayout.html">TQGridLayout</a>( this, 2, 2, 5 ); <a name="x1370"></a> l-><a href="qgridlayout.html#addWidget">addWidget</a>( left, 0, 0 ); l-><a href="qgridlayout.html#addWidget">addWidget</a>( right, 0, 1 ); - l-><a href="qgridlayout.html#addWidget">addWidget</a>( tquit, 1, 1, AlignRight ); + l-><a href="qgridlayout.html#addWidget">addWidget</a>( quit, 1, 1, AlignRight ); <a name="x1378"></a> left-><a href="qwidget.html#setFocus">setFocus</a>(); } |