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/rulers/VelocityColour.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/rulers/VelocityColour.cpp') diff --git a/src/gui/rulers/VelocityColour.cpp b/src/gui/rulers/VelocityColour.cpp index 02a2f90..e0e67b1 100644 --- a/src/gui/rulers/VelocityColour.cpp +++ b/src/gui/rulers/VelocityColour.cpp @@ -25,7 +25,7 @@ #include "VelocityColour.h" -#include +#include // #include @@ -33,9 +33,9 @@ namespace Rosegarden { -VelocityColour::VelocityColour(const QColor &loud, - const QColor &medium, - const QColor &quiet, +VelocityColour::VelocityColour(const TQColor &loud, + const TQColor &medium, + const TQColor &quiet, int maxValue, int loudKnee, int mediumKnee, @@ -47,7 +47,7 @@ VelocityColour::VelocityColour(const QColor &loud, m_mediumKnee(mediumKnee), m_quietKnee(quietKnee), m_maxValue(maxValue), - m_mixedColour(QColor(0, 0, 0)), // black as default + m_mixedColour(TQColor(0, 0, 0)), // black as default m_multiplyFactor(1000) { @@ -88,7 +88,7 @@ VelocityColour::VelocityColour(const QColor &loud, VelocityColour::~VelocityColour() {} -const QColor& +const TQColor& VelocityColour::getColour(int value) { if (value > m_maxValue) -- cgit v1.2.1