File indexing completed on 2024-04-14 14:16:43

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2006-2007 Torsten Rahn <tackat@kde.org>
0004 // SPDX-FileCopyrightText: 2007 Inge Wallin <ingwa@kde.org>
0005 //
0006 
0007 
0008 #ifndef SVGXMLHANDLER_H
0009 #define SVGXMLHANDLER_H
0010 
0011 
0012 #include <QXmlDefaultHandler>
0013 
0014 
0015 class SVGXmlHandler : public QXmlDefaultHandler
0016 {
0017  public:
0018     explicit SVGXmlHandler(const QString&);
0019     // virtual bool startDocument();
0020     // virtual bool endDocument();
0021     bool  startElement(const QString&, const QString&, const QString&,
0022                                const QXmlAttributes&) override;
0023     // virtual bool endElement();
0024 
0025  private:
0026     int      m_header;
0027     int      m_pointnum;
0028     bool     m_initialized;
0029     QString  m_targetfile;
0030 };
0031 
0032 
0033 #endif // SEARCHCOMBOBOX_H