From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/document/RoseXmlHandler.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'src/document/RoseXmlHandler.h') 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 #include #include -#include +#include #include "base/Event.h" -#include +#include -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 &pluginsNotFound() { return m_pluginsNotFound; } + std::set &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 m_pluginsNotFound; + TQString m_errorString; + std::set m_pluginsNotFound; RosegardenFileSection m_section; Device *m_device; -- cgit v1.2.1