summaryrefslogtreecommitdiff
path: root/TelepathyQt/base-channel-internal.h
diff options
context:
space:
mode:
authorAlexandr Akulich <akulichalexander@gmail.com>2015-04-21 15:34:35 +0500
committerAlexandr Akulich <akulichalexander@gmail.com>2015-05-01 18:22:23 +0500
commitcf62ef1cbf36a4cded98b70ff78b38cc370311bf (patch)
tree47c3a7d87114a18d5bc80b393b4a6848435b2476 /TelepathyQt/base-channel-internal.h
parent6d1d51f2ce03ef4dfaa0603a43c9f09c5f4ca14d (diff)
Added BaseChannelRoomInterface.
Reviewed-by: David Edmundson
Diffstat (limited to 'TelepathyQt/base-channel-internal.h')
-rw-r--r--TelepathyQt/base-channel-internal.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/TelepathyQt/base-channel-internal.h b/TelepathyQt/base-channel-internal.h
index 95a50aef..334909f0 100644
--- a/TelepathyQt/base-channel-internal.h
+++ b/TelepathyQt/base-channel-internal.h
@@ -323,6 +323,29 @@ public:
BaseChannelGroupInterface *mInterface;
};
+class TP_QT_NO_EXPORT BaseChannelRoomInterface::Adaptee : public QObject
+{
+ Q_OBJECT
+ Q_PROPERTY(QString roomName READ roomName)
+ Q_PROPERTY(QString server READ server)
+ Q_PROPERTY(QString creator READ creator)
+ Q_PROPERTY(uint creatorHandle READ creatorHandle)
+ Q_PROPERTY(QDateTime creationTimestamp READ creationTimestamp)
+
+public:
+ Adaptee(BaseChannelRoomInterface *interface);
+ ~Adaptee();
+
+ QString roomName() const;
+ QString server() const;
+ QString creator() const;
+ uint creatorHandle() const;
+ QDateTime creationTimestamp() const;
+
+private:
+ BaseChannelRoomInterface *mInterface;
+};
+
class TP_QT_NO_EXPORT BaseChannelCallType::Adaptee : public QObject
{
Q_OBJECT