summaryrefslogtreecommitdiffstats
path: root/src/document/RoseXmlHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/document/RoseXmlHandler.h')
-rw-r--r--src/document/RoseXmlHandler.h42
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;