diff options
Diffstat (limited to 'doc/html/threads.html')
-rw-r--r-- | doc/html/threads.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/threads.html b/doc/html/threads.html index febd6d2c3..f52ad6d3e 100644 --- a/doc/html/threads.html +++ b/doc/html/threads.html @@ -235,17 +235,17 @@ mutex is <em>not</em> unlocked when re-entering the event loop (e.g. when executing a modal dialog with <a href="ntqdialog.html#exec">TQDialog::exec</a>()). <p> If another thread locks the TQt library mutex, then the event loop will stop processing events, and the locking thread may do simple GUI -operations. Operations such as creating a <a href="ntqpainter.html">TQPainter</a> and drawing a line +operations. Operations such as creating a <a href="tqpainter.html">TQPainter</a> and drawing a line are examples of simple GUI operations: <p> <pre> ... tqApp-><a href="ntqapplication.html#lock">lock</a>(); - <a href="ntqpainter.html">TQPainter</a> p; - p.<a href="ntqpainter.html#begin">begin</a>( mywidget ); - p.<a href="ntqpainter.html#setPen">setPen</a>( TQColor( "red" ) ); - p.<a href="ntqpainter.html#drawLine">drawLine</a>( 0,0,100,100 ); - p.<a href="ntqpainter.html#end">end</a>(); + <a href="tqpainter.html">TQPainter</a> p; + p.<a href="tqpainter.html#begin">begin</a>( mywidget ); + p.<a href="tqpainter.html#setPen">setPen</a>( TQColor( "red" ) ); + p.<a href="tqpainter.html#drawLine">drawLine</a>( 0,0,100,100 ); + p.<a href="tqpainter.html#end">end</a>(); tqApp-><a href="ntqapplication.html#unlock">unlock</a>(); ... |