2020-08-13 21:08:54 +02:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: 2016 Eike Hein <hein@kde.org>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later
|
|
|
|
*/
|
2019-11-10 11:06:10 +01:00
|
|
|
#ifndef DIALOGSTATETEST_H
|
|
|
|
#define DIALOGSTATETEST_H
|
2016-07-15 09:28:16 +02:00
|
|
|
|
2019-12-14 16:58:05 +01:00
|
|
|
#include <QTest>
|
2016-07-15 09:28:16 +02:00
|
|
|
|
|
|
|
#include "plasmaquick/dialog.h"
|
|
|
|
|
|
|
|
class DialogStateTest : public QObject
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public Q_SLOTS:
|
|
|
|
void initTestCase();
|
|
|
|
void cleanupTestCase();
|
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void windowState();
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool verifyState(PlasmaQuick::Dialog *dialog) const;
|
|
|
|
|
|
|
|
PlasmaQuick::Dialog *m_dialog;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|