1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
/*
SPDX-FileCopyrightText: 2013 Sebastian Kügler <sebas@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "dpitest.h"
#include <QDebug>
#include <plasma/theme.h>
#include <QCommandLineParser>
#include <QStringList>
#include <QTimer>
#include <iomanip>
#include <iostream>
namespace Plasma
{
class DPITestPrivate
{
public:
QString pluginName;
QCommandLineParser *parser;
};
DPITest::DPITest(int &argc, char **argv, QCommandLineParser *parser)
: QGuiApplication(argc, argv)
{
d = new DPITestPrivate;
d->parser = parser;
QTimer::singleShot(0, this, &DPITest::runMain);
}
DPITest::~DPITest()
{
delete d;
}
void DPITest::runMain()
{
qDebug() << "DPI test runs: ";
exit(0);
return;
}
}
#include "moc_dpitest.cpp"
|