summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/VelocityColour.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rulers/VelocityColour.h')
-rw-r--r--src/gui/rulers/VelocityColour.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/rulers/VelocityColour.h b/src/gui/rulers/VelocityColour.h
index 0e555e1..e43dd22 100644
--- a/src/gui/rulers/VelocityColour.h
+++ b/src/gui/rulers/VelocityColour.h
@@ -26,7 +26,7 @@
#ifndef _RG_VELOCITYCOLOUR_H_
#define _RG_VELOCITYCOLOUR_H_
-#include <qcolor.h>
+#include <tqcolor.h>
@@ -45,39 +45,39 @@ class VelocityColour
{
public:
- VelocityColour(const QColor &loud,
- const QColor &medium,
- const QColor &quiet,
+ VelocityColour(const TQColor &loud,
+ const TQColor &medium,
+ const TQColor &quiet,
int maxValue,
int loudKnee,
int mediumKnee,
int quietKnee);
~VelocityColour();
- const QColor& getColour(int value);
+ const TQColor& getColour(int value);
int getLoudKnee() const { return m_loudKnee; }
int getMediumKnee() const { return m_mediumKnee; }
int getQuietKnee() const { return m_quietKnee; }
- QColor getLoudColour() const { return m_loudColour; }
- QColor getMediumColour() const { return m_mediumColour; }
- QColor getQuietColour() const { return m_quietColour; }
+ TQColor getLoudColour() const { return m_loudColour; }
+ TQColor getMediumColour() const { return m_mediumColour; }
+ TQColor getQuietColour() const { return m_quietColour; }
int getMaxValue() const { return m_maxValue; }
private:
- QColor m_loudColour;
- QColor m_mediumColour;
- QColor m_quietColour;
+ TQColor m_loudColour;
+ TQColor m_mediumColour;
+ TQColor m_quietColour;
int m_loudKnee;
int m_mediumKnee;
int m_quietKnee;
int m_maxValue;
// the mixed colour that we can return
- QColor m_mixedColour;
+ TQColor m_mixedColour;
int m_loStartRed;