diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-14 22:33:41 -0600 |
commit | 0f92dd542b65bc910caaf190b7c623aa5158c86a (patch) | |
tree | 120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /doc/html/rot-example.html | |
parent | d796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff) | |
download | tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip |
Fix native TQt3 accidental conversion to tquit
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>(); } |