summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/VelocityColour.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/gui/rulers/VelocityColour.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/gui/rulers/VelocityColour.cpp')
-rw-r--r--src/gui/rulers/VelocityColour.cpp12
1 files changed, 6 insertions, 6 deletions
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 <qcolor.h>
+#include <tqcolor.h>
// #include <cassert>
@@ -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)