summaryrefslogtreecommitdiffstats
path: root/src/test/transpose.cpp
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/test/transpose.cpp
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/test/transpose.cpp')
-rw-r--r--src/test/transpose.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/transpose.cpp b/src/test/transpose.cpp
index a4198b3..50e2169 100644
--- a/src/test/transpose.cpp
+++ b/src/test/transpose.cpp
@@ -110,9 +110,9 @@ int testTransposeBbToF()
return 0;
}
-int testIntervalString(int steps, int semitones, QString expectedString)
+int testIntervalString(int steps, int semitones, TQString expectedString)
{
- QString text = IntervalDialog::getIntervalName(steps, semitones);
+ TQString text = IntervalDialog::getIntervalName(steps, semitones);
if (text != expectedString) {
std::cout << "When converting the interval " << steps << "," << semitones << " to string, expected '" << expectedString << "' but got '" << text << "'" << std::endl;
return -1;
@@ -128,7 +128,7 @@ int testIntervalToString()
+ testIntervalString(7,12,"up 1 octave")
+ testIntervalString(7,13,"up an augmented octave");
- QString text = IntervalDialog::getIntervalName(1, 1);
+ TQString text = IntervalDialog::getIntervalName(1, 1);
std::cout << "Minor second: " << text << std::endl;
text = IntervalDialog::getIntervalName(0, 0);