18 #ifndef COM_UBUNTU_CONTENT_PEER_H_
19 #define COM_UBUNTU_CONTENT_PEER_H_
22 #include <QSharedPointer>
33 Q_PROPERTY(QString
id READ
id())
39 Peer(const QString&
id = QString(),
QObject* parent =
nullptr);
43 Peer& operator=(const Peer& rhs);
44 bool operator==(const Peer& rhs) const;
46 Q_INVOKABLE virtual const QString&
id() const;
47 Q_INVOKABLE virtual QString
name();
51 QSharedPointer<Private> d;
57 #endif // COM_UBUNTU_CONTENT_PEER_H_