summaryrefslogtreecommitdiffstats
path: root/src/document/io/HydrogenXMLHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/document/io/HydrogenXMLHandler.cpp')
-rw-r--r--src/document/io/HydrogenXMLHandler.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/document/io/HydrogenXMLHandler.cpp b/src/document/io/HydrogenXMLHandler.cpp
index 68e1b20..9854648 100644
--- a/src/document/io/HydrogenXMLHandler.cpp
+++ b/src/document/io/HydrogenXMLHandler.cpp
@@ -36,7 +36,7 @@
#include "base/NotationTypes.h"
#include "base/Segment.h"
#include "base/Track.h"
-#include <qstring.h>
+#include <tqstring.h>
namespace Rosegarden
@@ -134,12 +134,12 @@ HydrogenXMLHandler::startDocument()
}
bool
-HydrogenXMLHandler::startElement(const QString& /*namespaceURI*/,
- const QString& /*localName*/,
- const QString& qName,
- const QXmlAttributes& /*atts*/)
+HydrogenXMLHandler::startElement(const TQString& /*namespaceURI*/,
+ const TQString& /*localName*/,
+ const TQString& qName,
+ const TQXmlAttributes& /*atts*/)
{
- QString lcName = qName.lower();
+ TQString lcName = qName.lower();
if (lcName == "note") {
@@ -171,11 +171,11 @@ HydrogenXMLHandler::startElement(const QString& /*namespaceURI*/,
}
bool
-HydrogenXMLHandler::endElement(const QString& /*namespaceURI*/,
- const QString& /*localName*/,
- const QString& qName)
+HydrogenXMLHandler::endElement(const TQString& /*namespaceURI*/,
+ const TQString& /*localName*/,
+ const TQString& qName)
{
- QString lcName = qName.lower();
+ TQString lcName = qName.lower();
if (lcName == "note") {
@@ -272,7 +272,7 @@ HydrogenXMLHandler::endElement(const QString& /*namespaceURI*/,
// whole bar unit segment.
//
m_segment->setEndMarkerTime(m_composition->getBarEnd(m_currentBar));
- QString label = QString("%1 - %2 %3 %4").arg(strtoqstr(m_patternName))
+ TQString label = TQString("%1 - %2 %3 %4").arg(strtoqstr(m_patternName))
.arg(strtoqstr(m_sequenceName))
.arg(i18n(" imported from Hydrogen ")).arg(strtoqstr(m_version));
m_segment->setLabel(qstrtostr(label));
@@ -292,9 +292,9 @@ HydrogenXMLHandler::endElement(const QString& /*namespaceURI*/,
}
bool
-HydrogenXMLHandler::characters(const QString& chars)
+HydrogenXMLHandler::characters(const TQString& chars)
{
- QString ch = chars.stripWhiteSpace();
+ TQString ch = chars.stripWhiteSpace();
if (ch == "")
return true;