1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
/*
SPDX-FileCopyrightText: 2006 Aaron J. Seigo <aseigo@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include <knotificationrestrictions.h>
#include <QApplication>
#include <QLabel>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QLabel *mainWidget = new QLabel();
mainWidget->setText(QStringLiteral("You should see on console debug outpout for KNotificationRestrictions"));
KNotificationRestrictions knr(KNotificationRestrictions::ScreenSaver, nullptr);
mainWidget->show();
return app.exec();
}
|