diff options
Diffstat (limited to 'qtools')
-rw-r--r-- | qtools/qxml.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qtools/qxml.h b/qtools/qxml.h index ce40e5f..2f7567d 100644 --- a/qtools/qxml.h +++ b/qtools/qxml.h @@ -213,6 +213,7 @@ private: class QM_EXPORT QXmlReader { public: + virtual ~QXmlReader() {} virtual bool feature( const QString& name, bool *ok = 0 ) const = 0; virtual void setFeature( const QString& name, bool value ) = 0; virtual bool hasFeature( const QString& name ) const = 0; @@ -401,6 +402,7 @@ private: class QM_EXPORT QXmlContentHandler { public: + virtual ~QXmlContentHandler() {} virtual void setDocumentLocator( QXmlLocator* locator ) = 0; virtual bool startDocument() = 0; virtual bool endDocument() = 0; @@ -418,6 +420,7 @@ public: class QM_EXPORT QXmlErrorHandler { public: + virtual ~QXmlErrorHandler() {} virtual bool warning( const QXmlParseException& exception ) = 0; virtual bool error( const QXmlParseException& exception ) = 0; virtual bool fatalError( const QXmlParseException& exception ) = 0; @@ -427,6 +430,7 @@ public: class QM_EXPORT QXmlDTDHandler { public: + virtual ~QXmlDTDHandler() {} virtual bool notationDecl( const QString& name, const QString& publicId, const QString& systemId ) = 0; virtual bool unparsedEntityDecl( const QString& name, const QString& publicId, const QString& systemId, const QString& notationName ) = 0; virtual QString errorString() = 0; @@ -435,6 +439,7 @@ public: class QM_EXPORT QXmlEntityResolver { public: + virtual ~QXmlEntityResolver() {} virtual bool resolveEntity( const QString& publicId, const QString& systemId, QXmlInputSource* ret ) = 0; virtual QString errorString() = 0; }; @@ -442,6 +447,7 @@ public: class QM_EXPORT QXmlLexicalHandler { public: + virtual ~QXmlLexicalHandler() {} virtual bool startDTD( const QString& name, const QString& publicId, const QString& systemId ) = 0; virtual bool endDTD() = 0; // virtual bool startEntity( const QString& name ) = 0; @@ -455,6 +461,7 @@ public: class QM_EXPORT QXmlDeclHandler { public: + virtual ~QXmlDeclHandler() {} virtual bool attributeDecl( const QString& eName, const QString& aName, const QString& type, const QString& valueDefault, const QString& value ) = 0; virtual bool internalEntityDecl( const QString& name, const QString& value ) = 0; virtual bool externalEntityDecl( const QString& name, const QString& publicId, const QString& systemId ) = 0; |