24 #if !defined (octave_workspace_model_h)
25 #define octave_workspace_model_h 1
27 #include <QAbstractTableModel>
30 #include <QStringList>
54 QVariant
data (
const QModelIndex& index,
int role)
const;
56 bool setData (
const QModelIndex& index,
const QVariant& value,
57 int role = Qt::EditRole);
59 Qt::ItemFlags
flags (
const QModelIndex& index)
const;
61 QVariant
headerData (
int section, Qt::Orientation orientation,
62 int role = Qt::DisplayRole)
const;
64 int rowCount (
const QModelIndex& parent = QModelIndex ())
const;
66 int columnCount (
const QModelIndex& parent = QModelIndex ())
const;
76 const QString& scopes,
77 const QStringList& symbols,
78 const QStringList& class_names,
79 const QStringList& dimensions,
80 const QStringList& values,
91 void rename_variable (
const QString& old_name,
const QString& new_name);