diff options
Diffstat (limited to 'doc/threads.doc')
-rw-r--r-- | doc/threads.doc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/threads.doc b/doc/threads.doc index 5f0ffb05f..c80d208ba 100644 --- a/doc/threads.doc +++ b/doc/threads.doc @@ -250,14 +250,14 @@ executing a modal dialog with QDialog::exec()). 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 QPainter and drawing a line +operations. Operations such as creating a TQPainter and drawing a line are examples of simple GUI operations: \code ... tqApp->lock(); - QPainter p; + TQPainter p; p.begin( mywidget ); p.setPen( TQColor( "red" ) ); p.drawLine( 0,0,100,100 ); |