object.h Source File

| Home · All Classes · All Namespaces · Modules · Functions · Files

object.h
1
23 #ifndef _TelepathyQt_object_h_HEADER_GUARD_
24 #define _TelepathyQt_object_h_HEADER_GUARD_
25
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29
30 #include <TelepathyQt/Global>
31 #include <TelepathyQt/RefCounted>
32
33 #include <QObject>
34 #include <QString>
35
36 namespace Tp
37 {
38
39 class TP_QT_EXPORT Object : public QObject, public RefCounted
40 {
41 Q_OBJECT
42 Q_DISABLE_COPY(Object)
43
44 public:
45 virtual ~Object();
46
47 Q_SIGNALS:
48 void propertyChanged(const QString &propertyName);
49
50 protected:
51 Object();
52
53 void notify(const char *propertyName);
54
55 private:
56 struct Private;
57 friend struct Private;
58 Private *mPriv;
59 };
60
61 } // Tp
62
63 #endif
Tp::Object
The Object class provides an object with property notification.
Definition: object.h:39
Tp::RefCounted
The RefCounted class is a base class for shared objects used by SharedPtr.
Definition: shared-ptr.h:42