42 #ifndef QSCRIPTDEBUGGERLOCALSMODEL_P_H 43 #define QSCRIPTDEBUGGERLOCALSMODEL_P_H 56 #include <QtCore/qabstractitemmodel.h> 75 void init(
int frameIndex);
76 void sync(
int frameIndex);
78 int frameIndex()
const;
93 void scopeObjectAvailable(
const QModelIndex &index);
The QVariant class acts like a union for the most common Qt data types.
virtual int columnCount(const QModelIndex &parent=QModelIndex()) const =0
Returns the number of columns for the children of the given parent.
#define QT_END_NAMESPACE
This macro expands to.
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const =0
Returns the number of rows under the given parent.
virtual bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
Sets the role data for the item at index to value.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QObject class is the base class of all Qt objects.
virtual QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Returns the data for the given role and section in the header with the specified orientation.
virtual Qt::ItemFlags flags(const QModelIndex &index) const
Returns the item flags for the given index.
virtual QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const =0
Returns the index of the item in the model specified by the given row, column and parent index...
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual bool hasChildren(const QModelIndex &parent=QModelIndex()) const
Returns true if parent has any children; otherwise returns false.
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const =0
Returns the data stored under the given role for the item referred to by the index.
virtual bool canFetchMore(const QModelIndex &parent) const
Returns true if there is more data available for parent; otherwise returns false. ...
The QAbstractItemModel class provides the abstract interface for item model classes.
virtual void fetchMore(const QModelIndex &parent)
Fetches any available data for the items with the parent specified by the parent index.
The QScriptDebuggerValue class represents a script value.
QObject * parent() const
Returns a pointer to the parent object.
The QModelIndex class is used to locate data in a data model.
#define Q_AUTOTEST_EXPORT
#define Q_DECLARE_PRIVATE(Class)