#include <QtCore/qglobal.h>
-#ifndef QT_NO_QFUTURE
+#ifndef QT_NO_CONCURRENT
#include <QtCore/qfutureinterface.h>
#include <QtCore/qstring.h>
// qfutureinterface.h included from qfuture.h
#include "qfuture.h"
-#ifndef QT_NO_QFUTURE
+#ifndef QT_NO_CONCURRENT
#include <QtCore/qatomic.h>
#include <QtCore/qthread.h>
#include <QtCore/qrunnable.h>
-#ifndef QT_NO_QFUTURE
+#ifndef QT_NO_CONCURRENT
#include <QtCore/qmutex.h>
#include <QtCore/qtconcurrentexception.h>
#include "qfuturewatcher.h"
-#ifndef QT_NO_QFUTURE
-# include <QtCore/qcoreevent.h>
-# include <QtCore/qcoreapplication.h>
-# include <QtCore/qthread.h>
-# include "qfuturewatcher_p.h"
-#endif
+#ifndef QT_NO_CONCURRENT
-QT_BEGIN_NAMESPACE
+#include <QtCore/qcoreevent.h>
+#include <QtCore/qcoreapplication.h>
+#include <QtCore/qthread.h>
+#include "qfuturewatcher_p.h"
-#ifndef QT_NO_QFUTURE
+QT_BEGIN_NAMESPACE
/*! \class QFutureWatcher
\reentrant
*/
-#else
+QT_END_NAMESPACE
+
+#include "moc_qfuturewatcher.h"
-// On Symbian winscw target QT_NO_QFUTURE and QT_NO_CONCURRENT are both defined.
-// However moc will be run without having them set, so provide a dummy stub at
-// least for the slots to prevent linker errors.
+#else // QT_NO_CONCURRENT
+
+// moc will be run without having QT_NO_CONCURRENT set, so provide a dummy stub
+// for the slots to prevent linker errors.
+
+QT_BEGIN_NAMESPACE
void QFutureWatcherBase::cancel() { }
void QFutureWatcherBase::setPaused(bool) { }
void QFutureWatcherBase::connectNotify(const char *) { }
void QFutureWatcherBase::disconnectNotify(const char *) { }
-#endif // QT_NO_QFUTURE
-
QT_END_NAMESPACE
-#include "moc_qfuturewatcher.h"
+#endif // QT_NO_CONCURRENT
#include <QtCore/qfuture.h>
#include <QtCore/qobject.h>
-QT_BEGIN_NAMESPACE
+#ifndef QT_NO_CONCURRENT
+QT_BEGIN_NAMESPACE
class QEvent;
-
class QFutureWatcherBasePrivate;
-
-#ifdef QT_NO_QFUTURE
class QFutureInterfaceBase;
-#endif
class Q_CORE_EXPORT QFutureWatcherBase : public QObject
{
virtual QFutureInterfaceBase &futureInterface() = 0;
};
-#ifndef QT_NO_QFUTURE
-
template <typename T>
class QFutureWatcher : public QFutureWatcherBase
{
connectOutputInterface();
}
-#endif // QT_NO_QFUTURE
-
QT_END_NAMESPACE
+#endif // QT_NO_CONCURRENT
+
#endif // QFUTUREWATCHER_H
#include "qfutureinterface_p.h"
#include "qlist.h"
-#ifndef QT_NO_QFUTURE
+#ifndef QT_NO_CONCURRENT
#include "qobject_p.h"
QT_END_NAMESPACE
-#endif // QT_NO_QFUTURE
-#endif
+#endif // QT_NO_CONCURRENT
+
+#endif // QFUTUREWATCHER_P_H
#include "qtconcurrentexception.h"
-#ifndef QT_NO_QFUTURE
+#ifndef QT_NO_CONCURRENT
+
#ifndef QT_NO_EXCEPTIONS
QT_BEGIN_NAMESPACE
QT_END_NAMESPACE
#endif // QT_NO_EXCEPTIONS
+
#endif // QT_NO_CONCURRENT
#include <QtCore/qglobal.h>
-#ifndef QT_NO_QFUTURE
+#ifndef QT_NO_CONCURRENT
#include <QtCore/qatomic.h>
#endif // QT_NO_CONCURRENT
-#endif
+#endif // QTCONCURRENT_EXCEPTION_H
#include "qtconcurrentresultstore.h"
-#ifndef QT_NO_QFUTURE
+#ifndef QT_NO_CONCURRENT
QT_BEGIN_NAMESPACE
#include <QtCore/qglobal.h>
-#ifndef QT_NO_QFUTURE
+#ifndef QT_NO_CONCURRENT
#include <QtCore/qmap.h>
#include <QtCore/qvector.h>
#endif // QT_NO_CONCURRENT
-#endif
+#endif // QTCONCURRENT_RESULTSTORE_H
// #cmakedefine QT_NO_MESSAGEBOX
// #cmakedefine QT_NO_PROGRESSBAR
// #cmakedefine QT_NO_PROPERTIES
+// #cmakedefine QT_NO_PROXYMODEL
// Misc
#cmakedefine QT_NO_USING_NAMESPACE
#cmakedefine QT_NO_PRINTPREVIEWDIALOG
#cmakedefine QT_NO_PRINTPREVIEWWIDGET
#cmakedefine QT_NO_PROGRESSDIALOG
-#cmakedefine QT_NO_PROXYMODEL
#cmakedefine QT_NO_QFUTURE
#cmakedefine QT_NO_QUATERNION
#cmakedefine QT_NO_QUUID_STRING
# define QT_NO_DEBUG_STREAM
#endif
-// Future
-#if !defined(QT_NO_QFUTURE) && defined(QT_NO_CONCURRENT)
-# define QT_NO_QFUTURE
-#endif
-
// Animation
#if !defined(QT_NO_ANIMATION) && defined(QT_NO_PROPERTIES)
# define QT_NO_ANIMATION