42 #ifndef QSCRIPTBREAKPOINTSMODEL_P_H 43 #define QSCRIPTBREAKPOINTSMODEL_P_H 56 #include <QtCore/qabstractitemmodel.h> 78 void deleteBreakpoint(
int id);
82 void removeBreakpoint(
int id);
84 int breakpointIdAt(
int row)
const;
88 int resolveBreakpoint(
qint64 scriptId,
int lineNumber)
const;
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 QString class provides a Unicode character string.
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.
static const char * data(const QByteArray &arr)
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.
The QScriptBreakpointData class contains data associated with a breakpoint.
The QAbstractItemModel class provides the abstract interface for item model classes.
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)
static QString fileName(const QString &fileUrl)