summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/TempoColour.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/TempoColour.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/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);
}
}