libqutim  0.3.1.0
qutim_sdk_0_3::IconDataItem Class Reference

#include <dataforms.h>

+ Inheritance diagram for qutim_sdk_0_3::IconDataItem:

Public Member Functions

 IconDataItem (const QString &name, const LocalizedString &title, const QIcon &data=QIcon(), const QSize &imageSize=QSize(32, 32), const QList< QIcon > &alternatives=QList< QIcon >())
 
- 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::IconDataItem::IconDataItem ( const QString &  name,
const LocalizedString title,
const QIcon &  data = QIcon(),
const QSize &  imageSize = QSize(32, 32),
const QList< QIcon > &  alternatives = QList< QIcon >() 
)

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

Generated by Doxygen