KUtils
kcmoduleproxy.cpp
Go to the documentation of this file.
105 kDebug(711) << "Module not already loaded, loading module " << modInfo.moduleName() << " from library " << modInfo.library() << " using symbol " << modInfo.handle();
119 QDBusConnection::sessionBus().registerObject(dbusPath, new KSettingsWidgetAdaptor(parent), QDBusConnection::ExportAllSlots);
163 QObject::connect( QDBusConnection::sessionBus().interface(), SIGNAL(serviceOwnerChanged(QString,QString,QString)),
179 void KCModuleProxyPrivate::_k_ownerChanged(const QString &service, const QString &oldOwner, const QString &)
void unloadModule(const KCModuleInfo &mod)
Unloads the module's library.
Definition: kcmoduleloader.cpp:139
bool useRootOnlyMessage() const
QString rootOnlyMessage() const
const char * name(StandardAction id)
KComponentData componentData() const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString i18nc(const char *ctxt, const char *text)
KCModuleProxy(const KCModuleInfo &info, QWidget *parent=0, const QStringList &args=QStringList())
Constructs a KCModuleProxy from a KCModuleInfo class.
Definition: kcmoduleproxy.cpp:250
void deleteClient()
Calling this, results in deleting the contained module, and unregistering from DCOP.
Definition: kcmoduleproxy.cpp:217
virtual void showEvent(QShowEvent *ev)
void load()
Calling it will cause the contained module to run its load() routine.
Definition: kcmoduleproxy.cpp:265
void _k_ownerChanged(const QString &service, const QString &oldOwner, const QString &newOwner)
Gets called by DCOP when an application closes.
Definition: kcmoduleproxy.cpp:179
KComponentData componentData() const
Returns the embedded KCModule's KComponentData.
Definition: kcmoduleproxy.cpp:319
void defaults()
Calling it will cause the contained module to load its default values.
Definition: kcmoduleproxy.cpp:285
virtual const KAboutData * aboutData() const
Buttons buttons() const
KCModule * reportError(ErrorReporting report, const QString &text, const QString &details, QWidget *parent)
Returns a KCModule containing the messages report and text.
Definition: kcmoduleloader.cpp:161
bool isSuperUser() const
the error report is shown instead of the KCModule that should have * been loaded
Definition: kcmoduleloader.h:57
Definition: kcmoduleproxy_p.h:28
QSize minimumSizeHint() const
Returns the recommended minimum size for the widget.
Definition: kcmoduleproxy.cpp:348
void save()
Calling it will cause the contained module to run its save() routine.
Definition: kcmoduleproxy.cpp:275
void _k_moduleChanged(bool)
Makes sure the proper variables is set and signals are emitted.
Definition: kcmoduleproxy.cpp:226
KCModule * loadModule(const KCModuleInfo &module, ErrorReporting report, QWidget *parent=0, const QStringList &args=QStringList())
Loads a KCModule.
Definition: kcmoduleloader.cpp:65
virtual QString quickHelp() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.