8 #include "mapcenterobj.h"
12 class mapBuilderHandler : public QXmlDefaultHandler
17 QString errorProtocol();
19 QString mapBuilderHandler::parseHREF(QString);
20 bool startElement ( const QString&, const QString&,
21 const QString& eName, const QXmlAttributes& atts );
22 bool endElement ( const QString&, const QString&, const QString& );
23 bool characters ( const QString&);
24 QString errorString();
25 bool fatalError( const QXmlParseException&);
26 void setMapEditor (MapEditor*);
27 void setTmpDir (QString);
28 void setLoadMode (const LoadMode &);
29 bool readBranchAttr (const QXmlAttributes&);
30 bool readLinkAttr (const QXmlAttributes&);
31 bool readNoteAttr (const QXmlAttributes&);
32 bool readFloatImageAttr (const QXmlAttributes&);
33 bool readXLinkAttr (const QXmlAttributes&);
34 bool readHtmlAttr (const QXmlAttributes&);
35 bool readSettingAttr (const QXmlAttributes&);
41 StateInit, StateMap, StateMapSelect,
43 StateMapCenter, StateMapCenterStandardFlag,
44 StateMapCenterHeading, StateMapCenterNote,
45 StateMapCenterFloatImage,
47 StateBranch, StateBranchStandardFlag,
48 StateBranchHeading, StateBranchNote,
49 StateBranchFloatImage, StateBranchXLink,
50 StateHtmlNote, StateHtml
62 MapEditor* me; QString tmpDir;