summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/TempoColour.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rulers/TempoColour.cpp')
-rw-r--r--src/gui/rulers/TempoColour.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/rulers/TempoColour.cpp b/src/gui/rulers/TempoColour.cpp
index 5ab396a..5d5a448 100644
--- a/src/gui/rulers/TempoColour.cpp
+++ b/src/gui/rulers/TempoColour.cpp
@@ -26,7 +26,7 @@
#include "TempoColour.h"
#include "gui/general/GUIPalette.h"
-#include <qcolor.h>
+#include <tqcolor.h>
namespace Rosegarden
@@ -36,7 +36,7 @@ QColor
TempoColour::getColour(double tempo)
{
int h, s, v;
- QColor c = GUIPalette::getColour(GUIPalette::TempoBase);
+ TQColor c = GUIPalette::getColour(GUIPalette::TempoBase);
c.hsv(&h, &s, &v);
v += 20;
if (v > 255)
@@ -49,7 +49,7 @@ TempoColour::getColour(double tempo)
while (h >= 360)
h -= 360;
- return QColor(h, s, v, QColor::Hsv);
+ return TQColor(h, s, v, TQColor::Hsv);
}
}