File indexing completed on 2024-05-19 05:34:38

0001 /*
0002     SPDX-FileCopyrightText: 2016 Eike Hein <hein@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 #ifndef DIALOGSTATETEST_H
0007 #define DIALOGSTATETEST_H
0008 
0009 #include <QTest>
0010 
0011 #include "plasmaquick/dialog.h"
0012 
0013 class DialogStateTest : public QObject
0014 {
0015     Q_OBJECT
0016 
0017 public Q_SLOTS:
0018     void initTestCase();
0019     void cleanupTestCase();
0020 
0021 private Q_SLOTS:
0022     void windowState();
0023 
0024 private:
0025     bool verifyState(PlasmaQuick::Dialog *dialog) const;
0026 
0027     PlasmaQuick::Dialog *m_dialog;
0028 };
0029 
0030 #endif