summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/VelocityColour.cpp
diff options
context:
space:
mode:
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)