diff data/model/PathModel.h @ 425:f5e8f12d2e58

* Add audio device selection to preferences * Add (not yet functional) insert, delete, edit buttons to data edit window * Add proper set methods for time fields in data edit window (using general sparse model base class)
author Chris Cannam
date Fri, 13 Jun 2008 21:09:43 +0000
parents 88ad01799040
children 59e7fe1b1003
line wrap: on
line diff
--- a/data/model/PathModel.h	Thu Jun 12 14:33:45 2008 +0000
+++ b/data/model/PathModel.h	Fri Jun 13 21:09:43 2008 +0000
@@ -80,6 +80,14 @@
              QString("%1 subtype=\"path\"")
              .arg(extraAttributes));
     }
+
+    /**
+     * TabularModel is inherited via SparseModel, but we don't need it here.
+     */
+    virtual QString getHeading(int) const { return ""; }
+    virtual bool isColumnTimeValue(int) const { return false; }
+    virtual SortType getSortType(int) const { return SortNumeric; }
+
 };