libqutim  0.3.1.0
qutim_sdk_0_3::StringDataItem Class Reference

#include <dataforms.h>

+ Inheritance diagram for qutim_sdk_0_3::StringDataItem:

Public Member Functions

 StringDataItem (const QString &name, const LocalizedString &title, const QString &data=QString(), QValidator *validator=0, bool password=false)
 
 StringDataItem (const QString &name, const LocalizedString &title, const QString &data, QRegExp validator, bool password=false)
 
 StringDataItem (const QString &name, const LocalizedString &title, const LocalizedString &data, QValidator *validator=0, bool password=false)
 
 StringDataItem (const QString &name, const LocalizedString &title, const LocalizedString &data, QRegExp validator, bool password=false)
 
- 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::StringDataItem::StringDataItem ( const QString &  name,
const LocalizedString title,
const QString &  data = QString(),
QValidator *  validator = 0,
bool  password = false 
)
qutim_sdk_0_3::StringDataItem::StringDataItem ( const QString &  name,
const LocalizedString title,
const QString &  data,
QRegExp  validator,
bool  password = false 
)
qutim_sdk_0_3::StringDataItem::StringDataItem ( const QString &  name,
const LocalizedString title,
const LocalizedString data,
QValidator *  validator = 0,
bool  password = false 
)
qutim_sdk_0_3::StringDataItem::StringDataItem ( const QString &  name,
const LocalizedString title,
const LocalizedString data,
QRegExp  validator,
bool  password = false 
)

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

Generated by Doxygen