qt6windows7/tests/auto/widgets/kernel/qapplication/modal/base.h
2023-10-29 23:33:08 +01:00

25 lines
473 B
C++

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#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