summaryrefslogtreecommitdiffstats
path: root/src/document/XmlStorableEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/document/XmlStorableEvent.cpp')
-rw-r--r--src/document/XmlStorableEvent.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/document/XmlStorableEvent.cpp b/src/document/XmlStorableEvent.cpp
index 7688b2a..7d4a2dd 100644
--- a/src/document/XmlStorableEvent.cpp
+++ b/src/document/XmlStorableEvent.cpp
@@ -30,20 +30,20 @@
#include "base/Event.h"
#include "base/NotationTypes.h"
#include "gui/editors/notation/NotationStrings.h"
-#include <qstring.h>
+#include <tqstring.h>
namespace Rosegarden
{
-XmlStorableEvent::XmlStorableEvent(const QXmlAttributes &attributes,
+XmlStorableEvent::XmlStorableEvent(const TQXmlAttributes &attributes,
timeT &absoluteTime)
{
setDuration(0);
for (int i = 0; i < attributes.length(); ++i) {
- QString attrName(attributes.qName(i)),
+ TQString attrName(attributes.qName(i)),
attrVal(attributes.value(i));
if (attrName == "package") {
@@ -108,10 +108,10 @@ XmlStorableEvent::XmlStorableEvent(const QXmlAttributes &attributes,
// set generic property
//
- QString val(attrVal);
+ TQString val(attrVal);
// Check if boolean val
- QString valLowerCase(val.lower());
+ TQString valLowerCase(val.lower());
bool isNumeric;
int numVal;
@@ -144,18 +144,18 @@ XmlStorableEvent::XmlStorableEvent(Event &e) :
{}
void
-XmlStorableEvent::setPropertyFromAttributes(const QXmlAttributes &attributes,
+XmlStorableEvent::setPropertyFromAttributes(const TQXmlAttributes &attributes,
bool persistent)
{
bool have = false;
- QString name = attributes.value("name");
+ TQString name = attributes.value("name");
if (name == "") {
RG_DEBUG << "XmlStorableEvent::setProperty: no property name found, ignoring" << endl;
return ;
}
for (int i = 0; i < attributes.length(); ++i) {
- QString attrName(attributes.qName(i)),
+ TQString attrName(attributes.qName(i)),
attrVal(attributes.value(i));
if (attrName == "name") {