Move QFutureSynchronizer back to QtCore

This class, too, belongs with QFuture.

Change-Id: I41a532ca66c156f1631e4b22ffc1a5879c854488
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Marc Mutz 2012-08-27 23:22:15 +02:00 committed by The Qt Project
parent 08c50599f1
commit 7d21abfca3
9 changed files with 6 additions and 9 deletions

View File

@ -12,7 +12,6 @@ load(qt_module)
PRECOMPILED_HEADER = ../corelib/global/qt_pch.h
SOURCES += \
qfuturesynchronizer.cpp \
qtconcurrentfilter.cpp \
qtconcurrentmap.cpp \
qtconcurrentthreadengine.cpp \
@ -20,7 +19,6 @@ SOURCES += \
HEADERS += \
qtconcurrent_global.h \
qfuturesynchronizer.h \
qtconcurrentcompilertest.h \
qtconcurrentexception.h \
qtconcurrentfilter.h \

View File

@ -42,11 +42,9 @@
#ifndef QFUTURESYNCHRONIZER_H
#define QFUTURESYNCHRONIZER_H
#include <QtConcurrent/qtconcurrent_global.h>
#include <QtCore/qfuture.h>
#ifndef QT_NO_CONCURRENT
#ifndef QT_NO_QFUTURE
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
@ -117,6 +115,6 @@ protected:
QT_END_NAMESPACE
QT_END_HEADER
#endif // QT_NO_CONCURRENT
#endif // QT_NO_QFUTURE
#endif // QFUTURESYNCHRONIZER_H

View File

@ -57,7 +57,7 @@
an easy way to ensure that all futures have finished before returning from
a function:
\snippet code/src_concurrent_qfuturesynchronizer.cpp 0
\snippet code/src_corelib_thread_qfuturesynchronizer.cpp 0
The behavior of waitForFinished() can be changed using the
setCancelOnWait() function. Calling setCancelOnWait(true) will cause

View File

@ -14,6 +14,7 @@ HEADERS += thread/qmutex.h \
thread/qresultstore.h \
thread/qfuture.h \
thread/qfutureinterface.h \
thread/qfuturesynchronizer.h \
thread/qfuturewatcher.h \
thread/qbasicatomic.h \
thread/qgenericatomic.h \

View File

@ -1,6 +1,5 @@
TEMPLATE=subdirs
SUBDIRS=\
qfuturesynchronizer \
qtconcurrentfilter \
qtconcurrentiteratekernel \
qtconcurrentmap \

View File

@ -41,7 +41,7 @@
#include <QtTest>
#include <QtConcurrent/qfuturesynchronizer.h>
#include <QtCore/qfuturesynchronizer.h>
#include <QtCore/qfuture.h>
class tst_QFutureSynchronizer : public QObject

View File

@ -4,6 +4,7 @@ SUBDIRS=\
qatomicpointer \
qresultstore \
qfuture \
qfuturesynchronizer \
qfuturewatcher \
qmutex \
qmutexlocker \