diff options
author | Sze Howe Koh <szehowe.koh@gmail.com> | 2013-09-08 17:33:41 +0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-14 02:58:26 +0200 |
commit | 6780f76ee0e9122b8c15861a85fd29a908724d72 (patch) | |
tree | b51e62c577a6068384664f410f5700fa8544f0e5 /src/corelib/doc/snippets/threads/threads.cpp | |
parent | 5852ddb110e63cc9d2271431a7776978c2249877 (diff) |
Doc: Remove page about how to start QThreads
Multiple issues:
- Incomplete: It doesn't talk about instantiating a raw QThread
- Redundant: Its contents are already presented in QThread's class ref
- Incorrect: It is legal to create a QThread before a QCoreApplication
- Irrelevant: The bit about QCoreApplication::exec() and the etymology
of "GUI thread" is unrelated to the topic of starting threads
Also remove snippets that are no longer used
Change-Id: Ice1819845b5b2cf843719edaa7b0f4bbb1e8bd97
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/doc/snippets/threads/threads.cpp')
-rw-r--r-- | src/corelib/doc/snippets/threads/threads.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/corelib/doc/snippets/threads/threads.cpp b/src/corelib/doc/snippets/threads/threads.cpp index e6e74ae1e5..b399728658 100644 --- a/src/corelib/doc/snippets/threads/threads.cpp +++ b/src/corelib/doc/snippets/threads/threads.cpp @@ -42,16 +42,6 @@ #include <QMutex> #include <QThreadStorage> -#include "threads.h" - -//! [0] -void MyThread::run() -//! [0] //! [1] -{ -//! [1] //! [2] -} -//! [2] - #define Counter ReentrantCounter //! [3] |