summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/guitar/ChordXmlHandler.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/editors/guitar/ChordXmlHandler.h
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/guitar/ChordXmlHandler.h')
-rw-r--r--src/gui/editors/guitar/ChordXmlHandler.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gui/editors/guitar/ChordXmlHandler.h b/src/gui/editors/guitar/ChordXmlHandler.h
index ca25168..f9c2e8b 100644
--- a/src/gui/editors/guitar/ChordXmlHandler.h
+++ b/src/gui/editors/guitar/ChordXmlHandler.h
@@ -30,7 +30,7 @@
#include "Chord.h"
#include "ChordMap.h"
-#include <qxml.h>
+#include <tqxml.h>
namespace Rosegarden
@@ -44,31 +44,31 @@ public:
/// overloaded handler functions
virtual bool startDocument();
- virtual bool startElement(const QString& namespaceURI,
- const QString& localName,
- const QString& qName,
- const QXmlAttributes& atts);
+ virtual bool startElement(const TQString& namespaceURI,
+ const TQString& localName,
+ const TQString& qName,
+ const TQXmlAttributes& atts);
- virtual bool endElement(const QString& namespaceURI,
- const QString& localName,
- const QString& qName);
+ virtual bool endElement(const TQString& namespaceURI,
+ const TQString& localName,
+ const TQString& qName);
- virtual bool characters(const QString& ch);
+ virtual bool characters(const TQString& ch);
virtual bool endDocument ();
/// Return the error string set during the parsing (if any)
- QString errorString() { return m_errorString; }
- bool error(const QXmlParseException& exception);
- bool fatalError(const QXmlParseException& exception);
+ TQString errorString() { return m_errorString; }
+ bool error(const TQXmlParseException& exception);
+ bool fatalError(const TQXmlParseException& exception);
protected:
- bool parseFingering(const QString& ch);
+ bool parseFingering(const TQString& ch);
Guitar::Chord m_currentChord;
- QString m_currentRoot;
- QString m_errorString;
+ TQString m_currentRoot;
+ TQString m_errorString;
bool m_inFingering;
Guitar::ChordMap& m_chordMap;
};