Mercurial > hg > svapp
diff framework/SVFileReader.h @ 79:b1a68403714b
* Further model lifecycle fixes
author | Chris Cannam |
---|---|
date | Thu, 24 Jan 2008 11:03:59 +0000 |
parents | 4aa40182321f |
children | b9faa1418d29 |
line wrap: on
line diff
--- a/framework/SVFileReader.h Wed Jan 23 18:09:50 2008 +0000 +++ b/framework/SVFileReader.h Thu Jan 24 11:03:59 2008 +0000 @@ -161,8 +161,10 @@ */ -class SVFileReader : public QXmlDefaultHandler +class SVFileReader : public QObject, QXmlDefaultHandler { + Q_OBJECT + public: SVFileReader(Document *document, SVFileReaderPaneCallback &callback, @@ -192,6 +194,12 @@ bool error(const QXmlParseException &exception); bool fatalError(const QXmlParseException &exception); +signals: + void modelRegenerationFailed(QString layerName, QString transformName, + QString message); + void modelRegenerationWarning(QString layerName, QString transformName, + QString message); + protected: bool readWindow(const QXmlAttributes &); bool readModel(const QXmlAttributes &);