Home · All Classes · All Namespaces · Modules · Functions · Files
object.h
00001 
00023 #ifndef _TelepathyQt4_object_h_HEADER_GUARD_
00024 #define _TelepathyQt4_object_h_HEADER_GUARD_
00025 
00026 #ifndef IN_TELEPATHY_QT4_HEADER
00027 #error IN_TELEPATHY_QT4_HEADER
00028 #endif
00029 
00030 #include <TelepathyQt4/Global>
00031 #include <TelepathyQt4/RefCounted>
00032 
00033 #include <QObject>
00034 #include <QString>
00035 
00036 namespace Tp
00037 {
00038 
00039 class TELEPATHY_QT4_EXPORT Object : public QObject, public RefCounted
00040 {
00041     Q_OBJECT
00042     Q_DISABLE_COPY(Object)
00043 
00044 public:
00045     virtual ~Object();
00046 
00047 Q_SIGNALS:
00048     void propertyChanged(const QString &propertyName);
00049 
00050 protected:
00051     Object();
00052 
00053     void notify(const char *propertyName);
00054 
00055 private:
00056     struct Private;
00057     friend struct Private;
00058     Private *mPriv;
00059 };
00060 
00061 } // Tp
00062 
00063 #endif


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.8.0