KNewStuff

quicksettings.h
1/*
2 This file is part of KNewStuffQuick.
3 SPDX-FileCopyrightText: 2021 Dan Leinir Turthra Jensen <admin@leinir.dk>
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6*/
7
8#ifndef KNSQ_QUICKSETTINGS_H
9#define KNSQ_QUICKSETTINGS_H
10
11#include <QObject>
12
13namespace KNewStuffQuick
14{
15/**
16 * An object for handling KNewStuff related settings which make sense to handle without
17 * instantiating an engine (specifically, for now, whether or not this is allowed by
18 * the user's Kiosk settings)
19 * @since 5.81
20 */
21class Settings : public QObject
22{
24 Q_PROPERTY(bool allowedByKiosk READ allowedByKiosk CONSTANT)
25public:
26 static Settings *instance();
27 bool allowedByKiosk() const;
28
29 /// @internal
31 {
32 }
33};
34}
35#endif // KNSQ_QUICKSETTINGS_H
An object for handling KNewStuff related settings which make sense to handle without instantiating an...
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:29 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.