summaryrefslogtreecommitdiffstats
path: root/src/document/io/HydrogenXMLHandler.cpp
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/document/io/HydrogenXMLHandler.cpp
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/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;