mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00

most of the changes were done trought Katie's namefsck script which convertes forward class declarations to include directives, however other fixes here and there were needed as well as some questionable changes to Q_DECLARE_TYPEINFO() macro calls because they most likely have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and probably will be in Katie) meaning that some of the changes may be temporary and reverted later. Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
40 lines
1.2 KiB
C++
40 lines
1.2 KiB
C++
/* This file is part of the KDE project
|
|
Copyright (C) 2006-2007 Matthias Kretz <kretz@kde.org>
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Library General Public
|
|
License version 2 as published by the Free Software Foundation.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Library General Public License
|
|
along with this library; see the file COPYING.LIB. If not, write to
|
|
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
#ifndef KSETTINGSWIDGETADAPTOR_H
|
|
#define KSETTINGSWIDGETADAPTOR_H
|
|
|
|
#include <QtCore/QObject>
|
|
#include <QString>
|
|
|
|
/*
|
|
* Simple D-Bus object to return the KGlobal::caption()
|
|
*/
|
|
class KSettingsWidgetAdaptor: public QObject
|
|
{
|
|
Q_OBJECT
|
|
Q_CLASSINFO("D-Bus Interface", "org.kde.internal.KSettingsWidget")
|
|
public:
|
|
KSettingsWidgetAdaptor(QObject *parent);
|
|
|
|
public Q_SLOTS:
|
|
QString applicationName();
|
|
};
|
|
|
|
#endif // KSETTINGSWIDGETADAPTOR_H
|