comparison base/Selection.h @ 314:70a232b1f12a

* Make XmlExportable::toXml the function that is universally overridden (and pure virtual) instead of toXmlString. Tidies up some classes, notably the model classes, significantly. Closes #1794561.
author Chris Cannam
date Thu, 18 Oct 2007 10:15:07 +0000
parents 5877d68815c7
children 3efc20c59a94 6a94bb528e9d
comparison
equal deleted inserted replaced
313:29485aa03da4 314:70a232b1f12a
65 * selected area, return the next selection after the given frame. 65 * selected area, return the next selection after the given frame.
66 * Return the empty selection if no appropriate selection is found. 66 * Return the empty selection if no appropriate selection is found.
67 */ 67 */
68 Selection getContainingSelection(size_t frame, bool defaultToFollowing) const; 68 Selection getContainingSelection(size_t frame, bool defaultToFollowing) const;
69 69
70 virtual QString toXmlString(QString indent = "", 70 virtual void toXml(QTextStream &stream, QString indent = "",
71 QString extraAttributes = "") const; 71 QString extraAttributes = "") const;
72 72
73 protected: 73 protected:
74 SelectionList m_selections; 74 SelectionList m_selections;
75 }; 75 };
76 76