libqutim  0.3.1.0
qutim_sdk_0_3::ReadOnlyDataItem Class Reference

#include <dataforms.h>

+ Inheritance diagram for qutim_sdk_0_3::ReadOnlyDataItem:

Public Member Functions

 ReadOnlyDataItem (const LocalizedString &title, const QStringList &data)
 
 ReadOnlyDataItem (const LocalizedString &title, const LocalizedStringList &data)
 
 ReadOnlyDataItem (const LocalizedString &title, bool data)
 
 ReadOnlyDataItem (const LocalizedString &title, const QDate &data)
 
 ReadOnlyDataItem (const LocalizedString &title, const QDateTime &data)
 
 ReadOnlyDataItem (const LocalizedString &title, int data)
 
 ReadOnlyDataItem (const LocalizedString &title, uint data)
 
 ReadOnlyDataItem (const LocalizedString &title, double data)
 
 ReadOnlyDataItem (const LocalizedString &title, const QIcon &data)
 
 ReadOnlyDataItem (const LocalizedString &title, const QImage &data)
 
 ReadOnlyDataItem (const LocalizedString &title, const QPixmap &data)
 
 ReadOnlyDataItem (const LocalizedString &title, const QString &data)
 
 ReadOnlyDataItem (const LocalizedString &title, const LocalizedString &data)
 
- Public Member Functions inherited from qutim_sdk_0_3::DataItem
 DataItem ()
 
 DataItem (const QString &name, const LocalizedString &title, const QVariant &data)
 
 DataItem (const LocalizedString &title, const QVariant &data=QVariant())
 
 DataItem (const DataItem &other)
 
 ~DataItem ()
 
void addSubitem (const DataItem &subitem)
 
void allowModifySubitems (const DataItem &defaultSubitem, int maxSubitemsCount=-1)
 
QVariant data () const
 
template<typename T >
data (const T &def=T()) const
 
const char * dataChangedMethod () const
 
QObject * dataChangedReceiver () const
 
DataItem defaultSubitem () const
 
QList< QByteArray > dynamicPropertyNames () const
 
bool hasSubitems () const
 
bool isAllowedModifySubitems () const
 
bool isNull () const
 
bool isReadOnly () const
 
int maxSubitemsCount () const
 
QString name () const
 
DataItemoperator<< (const DataItem &subitem)
 
DataItemoperator= (const DataItem &other)
 
QVariant property (const char *name, const QVariant &def=QVariant()) const
 
template<typename T >
property (const char *name, const T &def=T()) const
 
bool removeSubitem (const QString &name, bool recursive=false)
 
int removeSubitems (const QString &name, bool recursive=false)
 
void setData (const QVariant &itemData)
 
void setDataChangedHandler (QObject *receiver, const char *method)
 
void setName (const QString &itemName)
 
void setProperty (const char *name, const QVariant &value)
 
void setReadOnly (bool readOnly=true)
 
void setSubitems (const QList< DataItem > &newSubitems)
 
void setTitle (const LocalizedString &itemTitle)
 
DataItem subitem (const QString &name, bool recursive=false) const
 
QList< DataItemsubitems () const
 
DataItem takeSubitem (const QString &name, bool recursive=false)
 
LocalizedString title () const
 

Constructor & Destructor Documentation

qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
const QStringList &  data 
)
qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
const LocalizedStringList data 
)
qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
bool  data 
)
qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
const QDate &  data 
)
qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
const QDateTime &  data 
)
qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
int  data 
)
qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
uint  data 
)
qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
double  data 
)
qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
const QIcon &  data 
)
qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
const QImage &  data 
)
qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
const QPixmap &  data 
)
qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
const QString &  data 
)
qutim_sdk_0_3::ReadOnlyDataItem::ReadOnlyDataItem ( const LocalizedString title,
const LocalizedString data 
)

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

Generated by Doxygen