comparison data/model/Model.cpp @ 345:700cd3350391

* Improvements to layer summary dialog (LayerTree, LayerTreeDialog), & rename. It's still rather unstable though.
author Chris Cannam
date Wed, 28 Nov 2007 17:45:37 +0000
parents 516819f2b97b
children ac300d385ab2 94fc0591ea43
comparison
equal deleted inserted replaced
344:277006c62fea 345:700cd3350391
146 146
147 QString 147 QString
148 Model::getTitle() const 148 Model::getTitle() const
149 { 149 {
150 if (m_sourceModel) return m_sourceModel->getTitle(); 150 if (m_sourceModel) return m_sourceModel->getTitle();
151 else return "";
151 } 152 }
152 153
153 QString 154 QString
154 Model::getMaker() const 155 Model::getMaker() const
155 { 156 {
156 if (m_sourceModel) return m_sourceModel->getMaker(); 157 if (m_sourceModel) return m_sourceModel->getMaker();
158 else return "";
159 }
160
161 QString
162 Model::getLocation() const
163 {
164 if (m_sourceModel) return m_sourceModel->getLocation();
165 else return "";
157 } 166 }
158 167
159 void 168 void
160 Model::toXml(QTextStream &stream, QString indent, 169 Model::toXml(QTextStream &stream, QString indent,
161 QString extraAttributes) const 170 QString extraAttributes) const