KDED

kdedadaptor.h
1/*
2 This file is part of the KDE libraries
3 SPDX-FileCopyrightText: 1999 David Faure <faure@kde.org>
4 SPDX-FileCopyrightText: 2000 Waldo Bastian <bastian@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#ifndef KDED_KDEDADAPTOR_H
10#define KDED_KDEDADAPTOR_H
11
12#include <QDBusAbstractAdaptor>
13class QDBusMessage;
14
15class KdedAdaptor : public QDBusAbstractAdaptor
16{
18 Q_CLASSINFO("D-Bus Interface", "org.kde.kded6")
19public:
20 KdedAdaptor(QObject *parent);
21
22public Q_SLOTS:
23 bool loadModule(const QString &obj);
24 QStringList loadedModules();
25 bool unloadModule(const QString &obj);
26 // bool isWindowRegistered(qlonglong windowId) const;
27 void registerWindowId(qlonglong windowId, const QDBusMessage &);
28 void unregisterWindowId(qlonglong windowId, const QDBusMessage &);
29 void reconfigure();
30 void quit();
31
32 /**
33 * Check if module @a module has @c X-KDE-Kded-autoload=True.
34 */
35 bool isModuleAutoloaded(const QString &module);
36
37 /**
38 * Check if module @a module has @c X-KDE-Kded-load-on-demand=True.
39 */
40 bool isModuleLoadedOnDemand(const QString &module);
41
42 /**
43 * Set @c X-KDE-Kded-autoload to @a autoload for module @a module.
44 */
45 void setModuleAutoloading(const QString &module, bool autoload);
46};
47
48#endif
Q_CLASSINFO(Name, Value)
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:57:29 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.