summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qapplication/modal/base.h
blob: 168da92f97d1d279a7644c1a8aab9d8913b53fb5 (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
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef BASE_H
#define BASE_H

#include <QWidget>
#include <QTimer>
#include <QDialog>

class base : public QWidget
{
Q_OBJECT
    QTimer *m_timer;
    bool m_modalStarted = false;
    QDialog *m_modalDialog = nullptr;
public:
    explicit base(QWidget *parent = nullptr);

public slots:
    void periodicTimer();
};

#endif // BASE_H