diff framework/MainWindowBase.h @ 126:d615d0220828

* 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 74dd55646f52
children 09e6016c5436
line wrap: on
line diff
--- a/framework/MainWindowBase.h	Thu Jun 12 14:33:45 2008 +0000
+++ b/framework/MainWindowBase.h	Fri Jun 13 21:09:43 2008 +0000
@@ -300,8 +300,8 @@
     Pane *addPaneToStack();
     Layer *getSnapLayer() const;
 
-    typedef std::map<Layer *, ModelDataTableDialog *> LayerDataDialogMap;
-    typedef std::set<ModelDataTableDialog *> DataDialogSet;
+    typedef std::map<Layer *, QPointer<ModelDataTableDialog> > LayerDataDialogMap;
+    typedef std::set<QPointer<ModelDataTableDialog> > DataDialogSet;
     typedef std::map<View *, DataDialogSet> ViewDataDialogMap;
 
     LayerDataDialogMap m_layerDataDialogMap;