comparison base/Model.cpp @ 145:82f529a08cf3

* Change preferences dialog to ok/apply/cancel model * Make preferences persist in a config file * Change instance() to getInstance() for all singleton types * Make pasting to time-value layer with no values in clipboard ask you how to generate the values * Fix bad behaviour caused by importing "data"-type (i.e. 3d dense) model from annotation file without a fixed window size available
author Chris Cannam
date Thu, 27 Jul 2006 16:06:32 +0000
parents c30728d5625c
children f90fad823cea
comparison
equal deleted inserted replaced
144:a9c3ba1777e1 145:82f529a08cf3
26 26
27 // Subclasses have to handle adding themselves to the repository, 27 // Subclasses have to handle adding themselves to the repository,
28 // if they want to be played. We can't do it from here because 28 // if they want to be played. We can't do it from here because
29 // the repository would be unable to tell whether we were playable 29 // the repository would be unable to tell whether we were playable
30 // or not (because dynamic_cast won't work from the base class ctor) 30 // or not (because dynamic_cast won't work from the base class ctor)
31 PlayParameterRepository::instance()->removeModel(this); 31 PlayParameterRepository::getInstance()->removeModel(this);
32 } 32 }
33 33
34 QString 34 QString
35 Model::toXmlString(QString indent, QString extraAttributes) const 35 Model::toXmlString(QString indent, QString extraAttributes) const
36 { 36 {