summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tutorials/threads/hellothread/main.cpp
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2013-09-10 21:08:01 +0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-14 02:58:57 +0200
commit2171b057e3e6273ae065b2754acec26887ad5ddf (patch)
treec3103dd39b9f169622f93c1eff9b00461fd1d228 /examples/widgets/tutorials/threads/hellothread/main.cpp
parent6780f76ee0e9122b8c15861a85fd29a908724d72 (diff)
Doc: Remove section about how to start threads
- Incomplete: It doesn't talk about how to use a raw QThread, or QRunnable, or Qt Concurrent. - Redundant: Its contents are already presented in QThread's class ref, and the line before this section links to the "Multithreading Technologies in Qt" overview page which provides a more complete intro Also remove snippet markers that are no longer used. Change-Id: I89b7bd72f10c8ffdfd9b7772e2493050aafc9c88 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/widgets/tutorials/threads/hellothread/main.cpp')
-rw-r--r--examples/widgets/tutorials/threads/hellothread/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/widgets/tutorials/threads/hellothread/main.cpp b/examples/widgets/tutorials/threads/hellothread/main.cpp
index 87660f97ee1..8b4b00874f7 100644
--- a/examples/widgets/tutorials/threads/hellothread/main.cpp
+++ b/examples/widgets/tutorials/threads/hellothread/main.cpp
@@ -41,7 +41,6 @@
#include <QtCore>
#include "hellothread.h"
-//! [1]
int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
@@ -51,4 +50,3 @@ int main(int argc, char *argv[])
thread.wait(); // do not exit before the thread is completed!
return 0;
}
-//! [1]