summaryrefslogtreecommitdiffstats
path: root/kgeography/src/mapparser.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kgeography/src/mapparser.h
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgeography/src/mapparser.h')
-rw-r--r--kgeography/src/mapparser.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kgeography/src/mapparser.h b/kgeography/src/mapparser.h
index af3d6d1f..9db844ae 100644
--- a/kgeography/src/mapparser.h
+++ b/kgeography/src/mapparser.h
@@ -11,7 +11,7 @@
#ifndef MAPPARSER_H
#define MAPPARSER_H
-#include <qxml.h>
+#include <tqxml.h>
class division;
class KGmap;
@@ -21,28 +21,28 @@ class mapReader : public QXmlSimpleReader
public:
mapReader();
- bool parseMap(const QString &path);
- QString getError();
+ bool parseMap(const TQString &path);
+ TQString getError();
KGmap *getMap();
private:
- QString p_error;
+ TQString p_error;
KGmap *p_map;
};
class mapParser : public QXmlDefaultHandler
{
public:
- mapParser(KGmap *m, const QString &path);
+ mapParser(KGmap *m, const TQString &path);
bool startDocument();
- bool startElement(const QString&, const QString&, const QString&, const QXmlAttributes&);
- bool endElement(const QString &, const QString &name, const QString &);
- bool characters(const QString &ch);
+ bool startElement(const TQString&, const TQString&, const TQString&, const TQXmlAttributes&);
+ bool endElement(const TQString &, const TQString &name, const TQString &);
+ bool characters(const TQString &ch);
bool endDocument();
- QString errorString();
+ TQString errorString();
private:
- QString getPreviousTag() const;
+ TQString getPreviousTag() const;
void removeLastTag();
division *p_division;
@@ -50,8 +50,8 @@ class mapParser : public QXmlDefaultHandler
KGmap *p_map;
bool p_allowChars, p_mapNameSet, p_mapFileSet;
bool p_divisionNameSet, p_colorSet, p_divisionIgnoreSet, p_flagFileSet, p_capitalSet;
- const QString &p_path;
- QString p_error, p_contents, p_previousTags;
+ const TQString &p_path;
+ TQString p_error, p_contents, p_previousTags;
};
#endif