Content Hub  0.0.1
A session-wide content-exchange service
com::ubuntu::content::Item Class Reference

#include <item.h>

+ Inheritance diagram for com::ubuntu::content::Item:
+ Collaboration diagram for com::ubuntu::content::Item:

Public Member Functions

 Item (const QUrl &=QUrl(), QObject *=nullptr)
 
 Item (const Item &)
 
virtual ~Item ()
 
Itemoperator= (const Item &)
 
bool operator== (const Item &) const
 
Q_INVOKABLE const QUrl & url () const
 
Q_INVOKABLE void setUrl (const QUrl &url) const
 
Q_INVOKABLE const QString & name () const
 
Q_INVOKABLE void setName (const QString &name) const
 
Q_INVOKABLE const QString text () const
 
Q_INVOKABLE void setText (const QString &text) const
 
Q_INVOKABLE const QByteArray & stream () const
 
Q_INVOKABLE void setStream (const QByteArray &stream) const
 
Q_INVOKABLE const QString & streamType () const
 
Q_INVOKABLE void setStreamType (const QString &type) const
 

Properties

QUrl url
 
QString name
 
QString text
 
QByteArray stream
 
QString streamType
 

Detailed Description

Definition at line 33 of file item.h.

Constructor & Destructor Documentation

com::ubuntu::content::Item::Item ( const QUrl &  = QUrl(),
QObject = nullptr 
)
com::ubuntu::content::Item::Item ( const Item )
virtual com::ubuntu::content::Item::~Item ( )
virtual

Member Function Documentation

Q_INVOKABLE const QString& com::ubuntu::content::Item::name ( ) const
Item& com::ubuntu::content::Item::operator= ( const Item )
bool com::ubuntu::content::Item::operator== ( const Item ) const
Q_INVOKABLE void com::ubuntu::content::Item::setName ( const QString &  name) const
Q_INVOKABLE void com::ubuntu::content::Item::setStream ( const QByteArray &  stream) const
Q_INVOKABLE void com::ubuntu::content::Item::setStreamType ( const QString &  type) const
Q_INVOKABLE void com::ubuntu::content::Item::setText ( const QString &  text) const
Q_INVOKABLE void com::ubuntu::content::Item::setUrl ( const QUrl &  url) const
Q_INVOKABLE const QByteArray& com::ubuntu::content::Item::stream ( ) const
Q_INVOKABLE const QString& com::ubuntu::content::Item::streamType ( ) const
Q_INVOKABLE const QString com::ubuntu::content::Item::text ( ) const
Q_INVOKABLE const QUrl& com::ubuntu::content::Item::url ( ) const

Property Documentation

QString com::ubuntu::content::Item::name
readwrite

Definition at line 37 of file item.h.

QByteArray com::ubuntu::content::Item::stream
readwrite

Definition at line 39 of file item.h.

QString com::ubuntu::content::Item::streamType
readwrite

Definition at line 40 of file item.h.

QString com::ubuntu::content::Item::text
readwrite

Definition at line 38 of file item.h.

QUrl com::ubuntu::content::Item::url
read

Definition at line 36 of file item.h.


The documentation for this class was generated from the following file: