static void registerGcPrologueCallback();
static void releaseWorkerThreadGcPrologueCallbackData();
- class Referencer {
+ class Q_AUTOTEST_EXPORT Referencer {
public:
~Referencer();
void addRelationship(QObject *object, v8::Persistent<v8::Value> handle);
friend class QV8GCCallback::ThreadData;
};
- class Node {
+ class Q_AUTOTEST_EXPORT Node {
public:
typedef void (*PrologueCallback)(Referencer *r, Node *node);
Node(PrologueCallback callback);
#include <QFile>
#include <QtDeclarative/qquickview.h>
#include <QtGui/qguiapplication.h>
+#include <QtGui/qstylehints.h>
#include <QInputPanel>
#include <private/qquicktextinput_p.h>
#include <private/qquicktextinput_p_p.h>
// And now we press the third click too late, so no triple click event is triggered.
QTest::mouseDClick(&view, Qt::LeftButton, 0, pointInside);
QGuiApplication::processEvents();
- QTest::qWait(QApplication::doubleClickInterval() + 1);
+ QTest::qWait(qApp->styleHints()->mouseDoubleClickInterval() + 1);
QTest::mouseClick(&view, Qt::LeftButton, 0, pointInside);
QGuiApplication::processEvents();
QVERIFY(input->selectedText().isEmpty());