From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/editors/guitar/Fingering.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/gui/editors/guitar/Fingering.cpp') diff --git a/src/gui/editors/guitar/Fingering.cpp b/src/gui/editors/guitar/Fingering.cpp index dd1edbd..59459e9 100644 --- a/src/gui/editors/guitar/Fingering.cpp +++ b/src/gui/editors/guitar/Fingering.cpp @@ -26,7 +26,7 @@ #include "misc/Debug.h" -#include +#include #include #include #include @@ -42,9 +42,9 @@ Fingering::Fingering(unsigned int nbStrings) : { } -Fingering::Fingering(QString s) +Fingering::Fingering(TQString s) { - QString errString; + TQString errString; Fingering t = parseFingering(s, errString); m_strings = t.m_strings; } @@ -97,15 +97,15 @@ Fingering::getBarre() const } Fingering -Fingering::parseFingering(const QString& ch, QString& errorString) +Fingering::parseFingering(const TQString& ch, TQString& errorString) { - QStringList tokens = QStringList::split(' ', ch); + TQStringList tokens = TQStringList::split(' ', ch); unsigned int idx = 0; Fingering fingering; - for(QStringList::iterator i = tokens.begin(); i != tokens.end() && idx < fingering.getNbStrings(); ++i, ++idx) { - QString t = *i; + for(TQStringList::iterator i = tokens.begin(); i != tokens.end() && idx < fingering.getNbStrings(); ++i, ++idx) { + TQString t = *i; bool b = false; unsigned int fn = t.toUInt(&b); if (b) { -- cgit v1.2.1