2020-08-13 21:08:54 +02:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: 2013 Sebastian Kügler <sebas@kde.org>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: LGPL-2.0-or-later
|
|
|
|
*/
|
2014-01-17 13:48:17 +01:00
|
|
|
|
|
|
|
#include "dpitest.h"
|
|
|
|
|
|
|
|
#include <QDebug>
|
|
|
|
|
|
|
|
#include <plasma/theme.h>
|
|
|
|
|
2020-07-08 07:44:43 +02:00
|
|
|
#include <QCommandLineParser>
|
2014-01-17 13:48:17 +01:00
|
|
|
#include <QStringList>
|
|
|
|
#include <QTimer>
|
|
|
|
#include <iostream>
|
|
|
|
#include <iomanip>
|
|
|
|
|
|
|
|
namespace Plasma
|
|
|
|
{
|
2014-04-26 01:45:47 +02:00
|
|
|
class DPITestPrivate
|
|
|
|
{
|
2014-01-17 13:48:17 +01:00
|
|
|
public:
|
|
|
|
QString pluginName;
|
|
|
|
QCommandLineParser *parser;
|
|
|
|
};
|
|
|
|
|
2014-04-26 01:45:47 +02:00
|
|
|
DPITest::DPITest(int &argc, char **argv, QCommandLineParser *parser) :
|
2014-05-19 18:17:52 +02:00
|
|
|
QGuiApplication(argc, argv)
|
2014-01-17 13:48:17 +01:00
|
|
|
{
|
|
|
|
d = new DPITestPrivate;
|
|
|
|
d->parser = parser;
|
2019-08-30 17:26:54 +02:00
|
|
|
QTimer::singleShot(0, this, &DPITest::runMain);
|
2014-01-17 13:48:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
DPITest::~DPITest()
|
|
|
|
{
|
|
|
|
delete d;
|
|
|
|
}
|
|
|
|
|
|
|
|
void DPITest::runMain()
|
|
|
|
{
|
|
|
|
qDebug() << "DPI test runs: ";
|
|
|
|
exit(0);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#include "moc_dpitest.cpp"
|