• Skip to content
  • Skip to link menu
Brand

API Documentation

  1. KDE API Reference
  2. The KDE Frameworks
  3. KDBusAddons
  • KDE Home
  • Contact Us

Quick Links

Skip menu "KDBusAddons"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • File List
  • Dependencies
  • Related Pages

Class Picker

About

Addons to QtDBus

Maintainer
David Faure
Supported platforms
FreeBSD, Linux, MacOSX, Windows
Community
IRC: #kde-devel on Freenode
Mailing list: kde-frameworks-devel
Use with CMake
find_package(KF5DBusAddons)
target_link_libraries(yourapp KF5::DBusAddons)
Use with QMake
QT += KDBusAddons 
Clone
git clone git://anongit.kde.org/kdbusaddons.git
Browse source
KDBusAddons on cgit.kde.org

KDBusAddons

  • View on LXR
Signals | Public Member Functions | Static Public Member Functions | List of all members
KDEDModule Class Reference

#include <KDEDModule>

Inheritance diagram for KDEDModule:
Inheritance graph
[legend]

Signals

void moduleDeleted (KDEDModule *)
 
void moduleRegistered (const QDBusObjectPath &path)
 
void windowRegistered (qlonglong windowId)
 
void windowUnregistered (qlonglong windowId)
 

Public Member Functions

 KDEDModule (QObject *parent=nullptr)
 
QString moduleName () const
 
void setModuleName (const QString &name)
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
bool blockSignals (bool block)
 
const QObjectList & children () const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const
 
bool disconnect (const QObject *receiver, const char *method) const
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name, QFlags< Qt::FindChildOption > options) const
 
QList< T > findChildren (const QString &name, QFlags< Qt::FindChildOption > options) const
 
QList< T > findChildren (const QRegExp &regExp, QFlags< Qt::FindChildOption > options) const
 
QList< T > findChildren (const QRegularExpression &re, QFlags< Qt::FindChildOption > options) const
 
bool inherits (const char *className) const
 
void installEventFilter (QObject *filterObj)
 
bool isWidgetType () const
 
bool isWindowType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const
 
void objectNameChanged (const QString &objectName)
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval, Qt::TimerType timerType)
 
QThread * thread () const
 

Static Public Member Functions

static QString moduleForMessage (const QDBusMessage &message)
 
- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 

Additional Inherited Members

- Properties inherited from QObject
 objectName
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Detailed Description

The base class for KDED modules.

KDED modules are realized as shared libraries that are loaded on-demand into kded at runtime.

See kdelibs/kded/HOWTO for documentation about writing kded modules.

Author
Waldo Bastian basti[email protected][email protected][email protected]de.or[email protected]g

Definition at line 47 of file kdedmodule.h.

Constructor & Destructor Documentation

KDEDModule::KDEDModule ( QObject *  parent = nullptr)
explicit

Constructor.

Definition at line 36 of file kdedmodule.cpp.

Member Function Documentation

void KDEDModule::moduleDeleted ( KDEDModule *  )
signal

Emitted when the module is being deleted.

QString KDEDModule::moduleForMessage ( const QDBusMessage &  message)
static

Returns the module being called by this D-Bus message.

Useful for autoloading modules in kded and similar daemons.

Since
5.7

Definition at line 94 of file kdedmodule.cpp.

void KDEDModule::moduleRegistered ( const QDBusObjectPath &  path)
signal

Emitted after the module is registered successfully with D-Bus.

Since
4.2
void KDEDModule::setModuleName ( const QString &  name)

Sets the name of the module, and uses it to register the module to D-Bus.

For modules loaded as plugins by a daemon, this is called automatically by the daemon after loading the module. Module authors should NOT call this.

Definition at line 47 of file kdedmodule.cpp.

void KDEDModule::windowRegistered ( qlonglong  windowId)
signal

Emitted when a mainwindow registers itself.

void KDEDModule::windowUnregistered ( qlonglong  windowId)
signal

Emitted when a mainwindow unregisters itself.


The documentation for this class was generated from the following files:
  • kdedmodule.h
  • kdedmodule.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Dec 9 2019 01:53:47 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal