diff document/Document.h @ 116:99d65ba33c88

* More useful status bar text -- show the current play time and the extents of the visible area * Add update-i18n.sh to update the i18n/ts and qm files -- I can't get qmake to do the right thing now that the project file has been split up into several project files * Fix missing Q_OBJECTs, etc, reported by lupdate * Update Russian translation from AlexandrE
author Chris Cannam
date Wed, 07 Mar 2007 17:07:02 +0000
parents dd11619b73ba
children fbd09fcda469
line wrap: on
line diff
--- a/document/Document.h	Mon Mar 05 15:32:55 2007 +0000
+++ b/document/Document.h	Wed Mar 07 17:07:02 2007 +0000
@@ -129,6 +129,11 @@
      */
     WaveFileModel *getMainModel() { return m_mainModel; }
 
+    /**
+     * Get the main model (the source for playback sample rate, etc).
+     */
+    const WaveFileModel *getMainModel() const { return m_mainModel; }
+
     std::vector<Model *> getTransformInputModels();
 
     /**