summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/guitar/Chord.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/guitar/Chord.cpp')
-rw-r--r--src/gui/editors/guitar/Chord.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/editors/guitar/Chord.cpp b/src/gui/editors/guitar/Chord.cpp
index 23efe7d..c697e96 100644
--- a/src/gui/editors/guitar/Chord.cpp
+++ b/src/gui/editors/guitar/Chord.cpp
@@ -25,7 +25,7 @@
#include "Chord.h"
#include "base/Event.h"
-#include <qstring.h>
+#include <tqstring.h>
namespace Rosegarden
{
@@ -44,13 +44,13 @@ Chord::Chord()
{
}
-Chord::Chord(const QString& root, const QString& ext)
+Chord::Chord(const TQString& root, const TQString& ext)
: m_root(root),
m_ext(ext),
m_isUserChord(false)
{
if (m_ext.isEmpty())
- m_ext = QString::null;
+ m_ext = TQString::null;
}
Chord::Chord(const Event& e)
@@ -66,15 +66,15 @@ Chord::Chord(const Event& e)
ok = e.get<String>(ExtPropertyName, f);
if (ok) {
if (f.length() == 0)
- m_ext = QString::null;
+ m_ext = TQString::null;
else
m_ext = f;
}
ok = e.get<String>(FingeringPropertyName, f);
if (ok) {
- QString qf(f);
- QString errString;
+ TQString qf(f);
+ TQString errString;
Fingering fingering = Fingering::parseFingering(qf, errString);
setFingering(fingering);
@@ -90,7 +90,7 @@ Event* Chord::getAsEvent(timeT absoluteTime) const
return e;
}
-const QRegExp Chord::ALT_BASS_REGEXP("/[A-G]");
+const TQRegExp Chord::ALT_BASS_REGEXP("/[A-G]");
bool operator<(const Chord& a, const Chord& b)
{