qt5base-lts/examples/widgets
Sze Howe Koh 6b8e866391 Doc: Clean up threading examples
- Example 3 (Clock) is a collection of anti-patterns.
    - It implements a slot in a QThread subclass and then forces the new
      thread to use Qt::DirectConnection to invoke the slot in the
      "wrong" thread.
    - It talks about getting away with non-thread-safe usage
    - It uses a thread as a timer and then admits that it's an over-
      complicated approach.
- Example 4 (Permanent Thread) is over-complicated yet incomplete. A
  better one exists in the QThread class ref.
- Example 1 (Thread Pool) is covered by the QThreadPool class ref.
- Example 2 (QtConcurrent::run()) is covered in the "Threading and
  Concurrent Programming Examples" page and the "QtConcurrentRun" page.
- The undocumented "Hello Thread" example is covered in the QThread
  class ref.
- These examples cannot be accessed from Qt Creator's Examples tool.
- These examples are neither widget-related nor tutorials, contrary to
  their source paths.

Task-number: QTBUG-33360
Change-Id: Ic79cb764ee925ddbcbeafee8e1d01db7fe0f6cfe
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
2013-11-05 00:29:01 +01:00
..
animation stickman example: fix header include guard 2013-09-16 21:30:54 +02:00
desktop Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
dialogs Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
doc Merge branch 'stable' into dev 2013-09-13 18:04:17 +02:00
draganddrop Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
effects Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
graphicsview Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
itemviews Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
layouts Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
mac QMacNativeWidget: Have example use a delegate 2013-09-26 22:25:10 +02:00
mainwindows Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
painting Remove qSort usages from qtbase examples 2013-09-14 13:12:40 +02:00
richtext Do not attempt to save a file in the resources 2013-08-27 19:12:06 +02:00
scroller Fix warning about float truncation in scroller example (CLANG). 2013-03-06 21:50:28 +01:00
statemachine Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
tools Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
tutorials Doc: Clean up threading examples 2013-11-05 00:29:01 +01:00
widgets Remove warnings about examples not running in the Qt Simulator 2013-10-09 21:45:31 +02:00
windowcontainer Introducing QWidget::createWindowContainer() 2013-01-25 14:11:07 +01:00
widgets.pro Port QMacNativeWidget to Qt 5 2013-09-23 07:18:24 +02:00