summaryrefslogtreecommitdiffstats
path: root/src/document/io/HydrogenLoader.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/HydrogenLoader.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/HydrogenLoader.cpp')
-rw-r--r--src/document/io/HydrogenLoader.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/document/io/HydrogenLoader.cpp b/src/document/io/HydrogenLoader.cpp
index 38f85fe..984527d 100644
--- a/src/document/io/HydrogenLoader.cpp
+++ b/src/document/io/HydrogenLoader.cpp
@@ -25,34 +25,34 @@
#include "HydrogenLoader.h"
-#include <qxml.h>
+#include <tqxml.h>
#include "base/Composition.h"
#include "base/PropertyName.h"
#include "base/Segment.h"
#include "base/Studio.h"
#include "gui/general/ProgressReporter.h"
#include "HydrogenXMLHandler.h"
-#include <qfile.h>
-#include <qobject.h>
-#include <qstring.h>
+#include <tqfile.h>
+#include <tqobject.h>
+#include <tqstring.h>
namespace Rosegarden
{
HydrogenLoader::HydrogenLoader(Studio *studio,
- QObject *parent, const char *name):
+ TQObject *parent, const char *name):
ProgressReporter(parent, name),
m_studio(studio)
{}
bool
-HydrogenLoader::load(const QString& fileName, Composition &comp)
+HydrogenLoader::load(const TQString& fileName, Composition &comp)
{
m_composition = &comp;
comp.clear();
- QFile file(fileName);
+ TQFile file(fileName);
if (!file.open(IO_ReadOnly)) {
return false;
}
@@ -61,8 +61,8 @@ HydrogenLoader::load(const QString& fileName, Composition &comp)
HydrogenXMLHandler handler(m_composition);
- QXmlInputSource source(file);
- QXmlSimpleReader reader;
+ TQXmlInputSource source(file);
+ TQXmlSimpleReader reader;
reader.setContentHandler(&handler);
reader.setErrorHandler(&handler);