summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/guitar/Chord.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/gui/editors/guitar/Chord.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/gui/editors/guitar/Chord.h')
-rw-r--r--src/gui/editors/guitar/Chord.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/editors/guitar/Chord.h b/src/gui/editors/guitar/Chord.h
index 9e84cc3..f519c9c 100644
--- a/src/gui/editors/guitar/Chord.h
+++ b/src/gui/editors/guitar/Chord.h
@@ -30,8 +30,8 @@
#include "misc/Debug.h"
#include <vector>
-#include <qstring.h>
-#include <qregexp.h>
+#include <tqstring.h>
+#include <tqregexp.h>
namespace Rosegarden
{
@@ -53,7 +53,7 @@ public:
static const PropertyName FingeringPropertyName;
Chord();
- Chord(const QString& root, const QString& ext = QString::null);
+ Chord(const TQString& root, const TQString& ext = TQString::null);
Chord(const Event&);
Event* getAsEvent(timeT absoluteTime) const;
@@ -64,11 +64,11 @@ public:
bool isUserChord() const { return m_isUserChord; }
void setUserChord(bool c) { m_isUserChord = c; }
- QString getRoot() const { return m_root; }
- void setRoot(QString r) { m_root = r; }
+ TQString getRoot() const { return m_root; }
+ void setRoot(TQString r) { m_root = r; }
- QString getExt() const { return m_ext; }
- void setExt(QString r) { m_ext = r.isEmpty() ? QString::null : r; }
+ TQString getExt() const { return m_ext; }
+ void setExt(TQString r) { m_ext = r.isEmpty() ? TQString::null : r; }
bool hasAltBass() const { return m_ext.contains(ALT_BASS_REGEXP); }
@@ -87,10 +87,10 @@ public:
protected:
- static const QRegExp ALT_BASS_REGEXP;
+ static const TQRegExp ALT_BASS_REGEXP;
- QString m_root;
- QString m_ext;
+ TQString m_root;
+ TQString m_ext;
Fingering m_fingering;