Files
qt-creator/share/qtcreator/templates/wizards/autotest/files/setup.h

28 lines
485 B
C
Raw Normal View History

%{Cpp:LicenseTemplate}\
@if '%{Cpp:PragmaOnce}'
#pragma once
@else
#ifndef %{JS: Cpp.headerGuard('setup.h')}
#define %{JS: Cpp.headerGuard('setup.h')}
@endif
#include <QObject>
#include <QQmlEngine>
class Setup : public QObject
{
Q_OBJECT
public:
Setup() = default;
public slots:
void applicationAvailable();
void qmlEngineAvailable(QQmlEngine *engine);
void cleanupTestCase();
};
@if 'not %{Cpp:PragmaOnce}'
#endif // %{JS: Cpp.headerGuard('setup.h')}
@endif