okteta
datainformationwithchildren.h
Go to the documentation of this file.
35 explicit DataInformationWithChildren(const QString& name, const QVector<DataInformation*>& children
72 static QVector<DataInformation*> cloneList(const QVector<DataInformation*>& other, DataInformation* parent);
Interface that must be implemented by all datatypes.
Definition: datainformation.h:67
could it be useful to hide the data access behind an iterator? * class KDataBufferIterator { public: ...
Definition: abstractbytearraymodel.h:79
virtual unsigned int childCount() const
Definition: datainformationwithchildren.h:77
virtual ~DataInformationWithChildren()
Definition: datainformationwithchildren.cpp:48
QVector< DataInformation * > mChildren
Definition: datainformationwithchildren.h:32
void appendChild(DataInformation *child, bool emitSignal=true)
Takes ownership!
Definition: datainformationwithchildren.cpp:186
void setChildren(const QVector< DataInformation * > &newChildren)
Definition: datainformationwithchildren.cpp:135
virtual QScriptClass * scriptClass(ScriptHandlerInfo *handlerInfo) const
So that this object can be wrapped by the correct javascript object.
Definition: datainformationwithchildren.cpp:222
virtual DataInformation * childAt(unsigned int index) const
Definition: datainformationwithchildren.cpp:34
virtual int indexOf(const DataInformation *const data) const
Find the index of a DataInformation in this object, needed to calculate the row.
Definition: datainformationwithchildren.cpp:165
virtual bool setData(const QVariant &value, Okteta::AbstractByteArrayModel *out, Okteta::Address address, BitCount64 bitsRemaining, quint8 bitOffset)
Writes the current data contained in this object to out.
Definition: datainformationwithchildren.cpp:41
virtual QWidget * createEditWidget(QWidget *parent) const
create a QWidget for the QItemDelegate
Definition: datainformationwithchildren.cpp:66
virtual QVariant childData(int row, int column, int role) const
Definition: datainformationwithchildren.cpp:179
virtual QString tooltipString() const
Definition: datainformationwithchildren.cpp:227
virtual bool canHaveChildren() const
true for unions and structs and arrays
Definition: datainformationwithchildren.h:82
virtual DataInformation * child(const QString &name) const
Looks for a child of this object with given name.
Definition: datainformation.cpp:228
DataInformationWithChildren(const DataInformationWithChildren &d)
Definition: datainformationwithchildren.cpp:61
void appendChildren(const QVector< DataInformation * > &newChildren, bool emitSignal=true)
Takes ownership of all elements.
Definition: datainformationwithchildren.cpp:196
virtual BitCount32 size() const
the size in bits of this element
Definition: datainformationwithchildren.cpp:85
virtual bool replaceChildAt(unsigned int index, DataInformation *newChild)
replaces child at index with newChild.
Definition: datainformationwithchildren.cpp:210
virtual QVariant data(int column, int role) const
get the necessary data (for the model)
Definition: datainformation.cpp:156
virtual void resetValidationState()
Definition: datainformationwithchildren.cpp:95
Definition: scripthandlerinfo.h:39
virtual QVariant dataFromWidget(const QWidget *w) const
get the needed data from the widget
Definition: datainformationwithchildren.cpp:72
static QVector< DataInformation * > cloneList(const QVector< DataInformation * > &other, DataInformation *parent)
Definition: datainformationwithchildren.cpp:255
virtual void calculateValidationState()
Definition: datainformationwithchildren.cpp:104
virtual void setWidgetData(QWidget *w) const
initialize the delegate widget with the correct data
Definition: datainformationwithchildren.cpp:79
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.