summaryrefslogtreecommitdiffstats
path: root/src/document/io/RG21Loader.h
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/RG21Loader.h
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/RG21Loader.h')
-rw-r--r--src/document/io/RG21Loader.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/document/io/RG21Loader.h b/src/document/io/RG21Loader.h
index 1e944af..583367c 100644
--- a/src/document/io/RG21Loader.h
+++ b/src/document/io/RG21Loader.h
@@ -31,14 +31,14 @@
#include "gui/general/ProgressReporter.h"
#include <map>
#include <string>
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
#include <vector>
#include "base/Event.h"
-class QTextStream;
-class QObject;
+class TQTextStream;
+class TQObject;
class Iterator;
@@ -58,7 +58,7 @@ class RG21Loader : public ProgressReporter
{
public:
RG21Loader(Studio *,
- QObject *parent = 0, const char *name = 0);
+ TQObject *parent = 0, const char *name = 0);
~RG21Loader();
/**
@@ -66,7 +66,7 @@ public:
* given Composition (clearing the existing segment data first).
* Return true for success.
*/
- bool load(const QString& fileName, Composition &);
+ bool load(const TQString& fileName, Composition &);
protected:
@@ -115,14 +115,14 @@ protected:
void setGroupProperties(Event *);
long convertRG21Pitch(long rg21pitch, int noteModifier);
- timeT convertRG21Duration(QStringList::Iterator&);
+ timeT convertRG21Duration(TQStringList::Iterator&);
std::vector<std::string> convertRG21ChordMods(int chordMod);
bool readNextLine();
//--------------- Data members ---------------------------------
- QTextStream *m_stream;
+ TQTextStream *m_stream;
Studio *m_studio;
Composition* m_composition;
@@ -147,10 +147,10 @@ protected:
int m_tieStatus; // 0 -> none, 1 -> tie started, 2 -> seen one note
- QString m_currentLine;
- QString m_currentStaffName;
+ TQString m_currentLine;
+ TQString m_currentStaffName;
- QStringList m_tokens;
+ TQStringList m_tokens;
unsigned int m_nbStaves;
};