KDECore
kdedmodule.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __KDEDMODULE_H__
00023 #define __KDEDMODULE_H__
00024
00025 #include <kdecore_export.h>
00026
00027 #include <QtCore/QObject>
00028 #include <QtCore/QByteArray>
00029
00030 class KDEDModulePrivate;
00031 class Kded;
00032
00033 class QDBusObjectPath;
00034
00047 class KDECORE_EXPORT KDEDModule: public QObject
00048 {
00049 Q_OBJECT
00050 Q_CLASSINFO("D-Bus Interface", "org.kde.KDEDModule")
00051
00052 friend class Kded;
00053 public:
00054
00058 explicit KDEDModule(QObject* parent = 0);
00059
00060 virtual ~KDEDModule();
00061
00067 void setModuleName( const QString& name );
00068
00069 QString moduleName() const;
00070
00071 Q_SIGNALS:
00075 void moduleDeleted(KDEDModule *);
00076
00080 void windowRegistered(qlonglong windowId);
00081
00085 void windowUnregistered(qlonglong windowId);
00086
00092 void moduleRegistered(const QDBusObjectPath &path);
00093
00094 private:
00095 KDEDModulePrivate* const d;
00096 };
00097
00098 #endif