diff data/model/ModelDataTableModel.h @ 427:72ec275e458b

* Basic implementation of add and remove point in data editor * Improve resilience of frame - real-time - frame round-trip conversions
author Chris Cannam
date Mon, 16 Jun 2008 14:48:42 +0000
parents 2386582f67cd
children 3e1d190048f4
line wrap: on
line diff
--- a/data/model/ModelDataTableModel.h	Mon Jun 16 07:55:35 2008 +0000
+++ b/data/model/ModelDataTableModel.h	Mon Jun 16 14:48:42 2008 +0000
@@ -35,6 +35,9 @@
 
     bool setData(const QModelIndex &index, const QVariant &value, int role);
 
+    bool insertRow(int row, const QModelIndex &parent = QModelIndex());
+    bool removeRow(int row, const QModelIndex &parent = QModelIndex());
+
     Qt::ItemFlags flags(const QModelIndex &index) const;
 
     QVariant headerData(int section, Qt::Orientation orientation,
@@ -55,7 +58,7 @@
 
 signals:
     void frameSelected(size_t);
-    void executeCommand(Command *);
+    void addCommand(Command *);
 
 protected slots:
     void modelChanged();