Mercurial > hg > svgui
comparison view/Pane.h @ 316:c0b9eec70639
* 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 | 6de6f78b13a1 |
children | 984c1975f1ff |
comparison
equal
deleted
inserted
replaced
315:c30a7cd29f4a | 316:c0b9eec70639 |
---|---|
56 virtual QImage *toNewImage(size_t f0, size_t f1); | 56 virtual QImage *toNewImage(size_t f0, size_t f1); |
57 virtual QImage *toNewImage() { return View::toNewImage(); } | 57 virtual QImage *toNewImage() { return View::toNewImage(); } |
58 virtual QSize getImageSize(size_t f0, size_t f1); | 58 virtual QSize getImageSize(size_t f0, size_t f1); |
59 virtual QSize getImageSize() { return View::getImageSize(); } | 59 virtual QSize getImageSize() { return View::getImageSize(); } |
60 | 60 |
61 virtual QString toXmlString(QString indent = "", | 61 virtual void toXml(QTextStream &stream, QString indent = "", |
62 QString extraAttributes = "") const; | 62 QString extraAttributes = "") const; |
63 | 63 |
64 static void registerShortcuts(KeyReference &kr); | 64 static void registerShortcuts(KeyReference &kr); |
65 | 65 |
66 signals: | 66 signals: |
67 void paneInteractedWith(); | 67 void paneInteractedWith(); |