Mercurial > hg > sonic-visualiser
comparison main/MainWindow.cpp @ 662:6f06094daba0
Restore and update old Surveyer class (survey itself is not there yet)
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 11:41:12 +0000 |
parents | 2484381b53a1 |
children | 55efa5a18814 |
comparison
equal
deleted
inserted
replaced
661:9d6eadfd390e | 662:6f06094daba0 |
---|---|
80 #include "layer/ColourDatabase.h" | 80 #include "layer/ColourDatabase.h" |
81 #include "widgets/ModelDataTableDialog.h" | 81 #include "widgets/ModelDataTableDialog.h" |
82 #include "rdf/PluginRDFIndexer.h" | 82 #include "rdf/PluginRDFIndexer.h" |
83 #include "rdf/RDFExporter.h" | 83 #include "rdf/RDFExporter.h" |
84 | 84 |
85 #include "Surveyer.h" | |
85 #include "framework/VersionTester.h" | 86 #include "framework/VersionTester.h" |
86 | 87 |
87 // For version information | 88 // For version information |
88 #include <vamp/vamp.h> | 89 #include <vamp/vamp.h> |
89 #include <vamp-hostsdk/PluginBase.h> | 90 #include <vamp-hostsdk/PluginBase.h> |
304 connect(m_midiInput, SIGNAL(eventsAvailable()), | 305 connect(m_midiInput, SIGNAL(eventsAvailable()), |
305 this, SLOT(midiEventsAvailable())); | 306 this, SLOT(midiEventsAvailable())); |
306 | 307 |
307 TransformFactory::getInstance()->startPopulationThread(); | 308 TransformFactory::getInstance()->startPopulationThread(); |
308 | 309 |
310 m_surveyer = new Surveyer | |
311 ("sonicvisualiser.org", "survey23-present.txt", "survey23.php"); | |
312 | |
309 m_versionTester = new VersionTester | 313 m_versionTester = new VersionTester |
310 ("sonicvisualiser.org", "/latest-version.txt", SV_VERSION); | 314 ("sonicvisualiser.org", "latest-version.txt", SV_VERSION); |
311 connect(m_versionTester, SIGNAL(newerVersionAvailable(QString)), | 315 connect(m_versionTester, SIGNAL(newerVersionAvailable(QString)), |
312 this, SLOT(newerVersionAvailable(QString))); | 316 this, SLOT(newerVersionAvailable(QString))); |
313 } | 317 } |
314 | 318 |
315 MainWindow::~MainWindow() | 319 MainWindow::~MainWindow() |
318 delete m_keyReference; | 322 delete m_keyReference; |
319 delete m_activityLog; | 323 delete m_activityLog; |
320 delete m_preferencesDialog; | 324 delete m_preferencesDialog; |
321 delete m_layerTreeDialog; | 325 delete m_layerTreeDialog; |
322 delete m_versionTester; | 326 delete m_versionTester; |
327 delete m_surveyer; | |
323 Profiles::getInstance()->dump(); | 328 Profiles::getInstance()->dump(); |
324 // SVDEBUG << "MainWindow::~MainWindow finishing" << endl; | 329 // SVDEBUG << "MainWindow::~MainWindow finishing" << endl; |
325 } | 330 } |
326 | 331 |
327 void | 332 void |