|
@@ -31,7 +31,7 @@
|
|
#include <ctkLDAPSearchFilter.h>
|
|
#include <ctkLDAPSearchFilter.h>
|
|
|
|
|
|
|
|
|
|
-class ctkEventPrivate;
|
|
|
|
|
|
+class ctkEventData;
|
|
|
|
|
|
/**
|
|
/**
|
|
* A CTK event.
|
|
* A CTK event.
|
|
@@ -39,11 +39,21 @@ class ctkEventPrivate;
|
|
* <code>ctkEvent</code> objects are delivered to <code>ctkEventHandler</code>
|
|
* <code>ctkEvent</code> objects are delivered to <code>ctkEventHandler</code>
|
|
* or Qt slots which subscribe to the topic of the event.
|
|
* or Qt slots which subscribe to the topic of the event.
|
|
*/
|
|
*/
|
|
-class CTK_PLUGINFW_EXPORT ctkEvent {
|
|
|
|
|
|
+class CTK_PLUGINFW_EXPORT ctkEvent
|
|
|
|
+{
|
|
|
|
+
|
|
|
|
+ QSharedDataPointer<ctkEventData> d;
|
|
|
|
|
|
public:
|
|
public:
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * Default constructor for use with the Qt meta object system.
|
|
|
|
+ */
|
|
|
|
+ ctkEvent();
|
|
|
|
+
|
|
|
|
+ ~ctkEvent();
|
|
|
|
+
|
|
|
|
+ /**
|
|
* Constructs an event.
|
|
* Constructs an event.
|
|
*
|
|
*
|
|
* @param topic The topic of the event.
|
|
* @param topic The topic of the event.
|
|
@@ -52,7 +62,8 @@ public:
|
|
*/
|
|
*/
|
|
ctkEvent(const QString& topic, const ctkDictionary& properties = ctkDictionary());
|
|
ctkEvent(const QString& topic, const ctkDictionary& properties = ctkDictionary());
|
|
ctkEvent(const ctkEvent& event);
|
|
ctkEvent(const ctkEvent& event);
|
|
- ~ctkEvent();
|
|
|
|
|
|
+
|
|
|
|
+ ctkEvent& operator=(const ctkEvent& other);
|
|
|
|
|
|
/**
|
|
/**
|
|
* Compares this <code>ctkEvent</code> object to another object.
|
|
* Compares this <code>ctkEvent</code> object to another object.
|
|
@@ -112,9 +123,6 @@ public:
|
|
*/
|
|
*/
|
|
bool matches(const ctkLDAPSearchFilter& filter) const;
|
|
bool matches(const ctkLDAPSearchFilter& filter) const;
|
|
|
|
|
|
-protected:
|
|
|
|
-
|
|
|
|
- ctkEventPrivate * const d;
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|