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 readNoteAttr (const QXmlAttributes&);
31 bool readFloatImageAttr (const QXmlAttributes&);
32 bool readHtmlAttr (const QXmlAttributes&);
33 bool readSettingAttr (const QXmlAttributes&);
39 StateInit, StateMap, StateMapSelect,
41 StateMapCenter, StateMapCenterStandardFlag,
42 StateMapCenterHeading, StateMapCenterNote,
43 StateMapCenterFloatImage,
45 StateBranch, StateBranchStandardFlag,
46 StateBranchHeading, StateBranchNote,
47 StateBranchFloatImage,
48 StateHtmlNote, StateHtml
60 MapEditor* me; QString tmpDir;