summaryrefslogtreecommitdiff
path: root/share/qtcreator/templates/wizards/autotest/files/setup.h
blob: fd37a25511b3cb04332cc1dfcf436a6606850b82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
%{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