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 &)
QLayout * layout() const
void unloadModule(const KCModuleInfo &mod)
Unloads the module's library.
Definition: kcmoduleloader.cpp:139
bool useRootOnlyMessage() const
bool registerObject(const QString &path, QObject *object, QFlags< QDBusConnection::RegisterOption > options)
QString rootOnlyMessage() const
const char * name(StandardAction id)
bool isValid() const
virtual QSize minimumSizeHint() const
QDBusConnection sessionBus()
KComponentData componentData() const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QDBusMessage call(const QString &method, const QVariant &arg1, const QVariant &arg2, const QVariant &arg3, const QVariant &arg4, const QVariant &arg5, const QVariant &arg6, const QVariant &arg7, const QVariant &arg8)
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 addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
virtual void showEvent(QShowEvent *event)
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
Type value() const
bool isEmpty() const
void setOverrideCursor(const QCursor &cursor)
void _k_ownerChanged(const QString &service, const QString &oldOwner, const QString &newOwner)
Gets called by DCOP when an application closes.
Definition: kcmoduleproxy.cpp:179
void restoreOverrideCursor()
void setMargin(int margin)
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
QString & replace(int position, int n, QChar after)
void setWhatsThis(const QString &)
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
void show()
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
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.