diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/document/RoseXmlHandler.h | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-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/document/RoseXmlHandler.h')
-rw-r--r-- | src/document/RoseXmlHandler.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/document/RoseXmlHandler.h b/src/document/RoseXmlHandler.h index ab06e3a..e93408f 100644 --- a/src/document/RoseXmlHandler.h +++ b/src/document/RoseXmlHandler.h @@ -32,13 +32,13 @@ #include <map> #include <set> #include <string> -#include <qstring.h> +#include <tqstring.h> #include "base/Event.h" -#include <qxml.h> +#include <tqxml.h> -class QXmlParseException; -class QXmlAttributes; +class TQXmlParseException; +class TQXmlAttributes; namespace Rosegarden @@ -91,16 +91,16 @@ 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 (); // [rwb] - for tempo element catch @@ -109,13 +109,13 @@ public: bool isCancelled() { return m_cancelled; } /// Return the error string set during the parsing (if any) - QString errorString(); + TQString errorString(); bool hasActiveAudio() const { return m_hasActiveAudio; } - std::set<QString> &pluginsNotFound() { return m_pluginsNotFound; } + std::set<TQString> &pluginsNotFound() { return m_pluginsNotFound; } - bool error(const QXmlParseException& exception); - bool fatalError(const QXmlParseException& exception); + bool error(const TQXmlParseException& exception); + bool fatalError(const TQXmlParseException& exception); protected: @@ -129,9 +129,9 @@ protected: void setSubHandler(XmlSubHandler* sh); XmlSubHandler* getSubHandler() { return m_subHandler; } - void addMIDIDevice(QString name, bool createAtSequencer); - void setMIDIDeviceConnection(QString connection); - void setMIDIDeviceName(QString name); + void addMIDIDevice(TQString name, bool createAtSequencer); + void setMIDIDeviceConnection(TQString connection); + void setMIDIDeviceName(TQString name); void skipToNextPlayDevice(); //--------------- Data members --------------------------------- @@ -157,8 +157,8 @@ protected: bool m_foundTempo; - QString m_errorString; - std::set<QString> m_pluginsNotFound; + TQString m_errorString; + std::set<TQString> m_pluginsNotFound; RosegardenFileSection m_section; Device *m_device; |