File indexing completed on 2024-04-21 14:53:53

0001 /*
0002     This file is part of the KDE project
0003     SPDX-FileCopyrightText: 2006-2007 Matthias Kretz <kretz@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-only
0006 */
0007 
0008 #ifndef KSETTINGSWIDGETADAPTOR_H
0009 #define KSETTINGSWIDGETADAPTOR_H
0010 
0011 #include "kcmutils_export.h"
0012 #include <QObject>
0013 class QString;
0014 
0015 #if KCMUTILS_ENABLE_DEPRECATED_SINCE(5, 82)
0016 /*
0017  * Simple D-Bus object to return the KGlobal::caption()
0018  * @deprecated Since 5.82, deprecated for lack of usage
0019  */
0020 class KSettingsWidgetAdaptor : public QObject
0021 {
0022     Q_OBJECT
0023     Q_CLASSINFO("D-Bus Interface", "org.kde.internal.KSettingsWidget")
0024 public:
0025     KCMUTILS_DEPRECATED_VERSION(5, 82, "deprecated for lack of usage")
0026     KSettingsWidgetAdaptor(QObject *parent);
0027 
0028 public Q_SLOTS:
0029     QString applicationName();
0030 };
0031 
0032 #endif
0033 #endif // KSETTINGSWIDGETADAPTOR_H