subsurface/tests/testqml.h
jan Iversen d5bbfac6a3 tests: change testqml to allow direct register of C++ objects
Signed-off-by: Jan Iversen <jani@apache.org>
2018-09-11 17:22:58 -07:00

19 lines
321 B
C++

// SPDX-License-Identifier: GPL-2.0
#ifndef TESTQML_H
#define TESTQML_H
#include <QtQuickTest>
#include <QQmlEngine>
#include <QQmlContext>
#include <QObject>
class QMLTestSetup : public QObject {
Q_OBJECT
public:
QMLTestSetup() {}
public slots:
void qmlEngineAvailable(QQmlEngine *engine);
};
#endif // TESTQML_H