diff options
Diffstat (limited to 'src/gui/editors/guitar/Chord.h')
-rw-r--r-- | src/gui/editors/guitar/Chord.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/editors/guitar/Chord.h b/src/gui/editors/guitar/Chord.h index f519c9c..0b6bc59 100644 --- a/src/gui/editors/guitar/Chord.h +++ b/src/gui/editors/guitar/Chord.h @@ -53,7 +53,7 @@ public: static const PropertyName FingeringPropertyName; Chord(); - Chord(const TQString& root, const TQString& ext = TQString::null); + Chord(const TQString& root, const TQString& ext = TQString()); Chord(const Event&); Event* getAsEvent(timeT absoluteTime) const; @@ -68,9 +68,9 @@ public: void setRoot(TQString r) { m_root = r; } TQString getExt() const { return m_ext; } - void setExt(TQString r) { m_ext = r.isEmpty() ? TQString::null : r; } + void setExt(TQString r) { m_ext = r.isEmpty() ? TQString() : r; } - bool hasAltBass() const { return m_ext.contains(ALT_BASS_REGEXP); } + bool hasAltBass() const { return m_ext.tqcontains(ALT_BASS_REGEXP); } Fingering getFingering() const { return m_fingering; } void setFingering(Fingering f) { m_fingering = f; } |