summaryrefslogtreecommitdiffstats
path: root/kmid/channel3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmid/channel3d.cpp')
-rw-r--r--kmid/channel3d.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kmid/channel3d.cpp b/kmid/channel3d.cpp
index afa0e638..d3bef7fd 100644
--- a/kmid/channel3d.cpp
+++ b/kmid/channel3d.cpp
@@ -23,13 +23,13 @@
***************************************************************************/
#include "channel3d.h"
-#include <qpainter.h>
+#include <tqpainter.h>
-KMidChannel3D::KMidChannel3D (int chn,QWidget *parent) : KMidChannel(chn,parent)
+KMidChannel3D::KMidChannel3D (int chn,TQWidget *parent) : KMidChannel(chn,parent)
{
}
-void KMidChannel3D::drawDo(QPainter *qpaint,int x,int p)
+void KMidChannel3D::drawDo(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penW):(*penB));
qpaint->drawLine(x,KEYBOARDY+43,x+6,KEYBOARDY+43);
@@ -39,7 +39,7 @@ void KMidChannel3D::drawDo(QPainter *qpaint,int x,int p)
qpaint->setPen(p?(*penB):(*penW));
qpaint->drawLine(x+7,KEYBOARDY+28,x+7,KEYBOARDY+42);
}
-void KMidChannel3D::drawDo__(QPainter *qpaint,int x,int p)
+void KMidChannel3D::drawDo__(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penB):(*penW));
qpaint->drawLine(x+6,KEYBOARDY+2,x+6,KEYBOARDY+25);
@@ -50,7 +50,7 @@ void KMidChannel3D::drawDo__(QPainter *qpaint,int x,int p)
qpaint->drawPoint(x+10,KEYBOARDY+27);
}
-void KMidChannel3D::drawRe(QPainter *qpaint,int x,int p)
+void KMidChannel3D::drawRe(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penW):(*penB));
qpaint->drawLine(x+9,KEYBOARDY+43,x+15,KEYBOARDY+43);
@@ -60,7 +60,7 @@ void KMidChannel3D::drawRe(QPainter *qpaint,int x,int p)
qpaint->setPen(p?(*penB):(*penW));
qpaint->drawLine(x+16,KEYBOARDY+28,x+16,KEYBOARDY+42);
}
-void KMidChannel3D::drawRe__(QPainter *qpaint,int x,int p)
+void KMidChannel3D::drawRe__(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penB):(*penW));
qpaint->drawLine(x+15,KEYBOARDY+2,x+15,KEYBOARDY+25);
@@ -70,7 +70,7 @@ void KMidChannel3D::drawRe__(QPainter *qpaint,int x,int p)
qpaint->drawLine(x+20,KEYBOARDY+1,x+20,KEYBOARDY+27);
qpaint->drawPoint(x+19,KEYBOARDY+27);
}
-void KMidChannel3D::drawMi(QPainter *qpaint,int x,int p)
+void KMidChannel3D::drawMi(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penW):(*penB));
qpaint->drawLine(x+18,KEYBOARDY+43,x+24,KEYBOARDY+43);
@@ -80,7 +80,7 @@ void KMidChannel3D::drawMi(QPainter *qpaint,int x,int p)
qpaint->setPen(p?(*penB):(*penW));
qpaint->drawLine(x+25,KEYBOARDY+1,x+25,KEYBOARDY+42);
}
-void KMidChannel3D::drawFa(QPainter *qpaint,int x,int p)
+void KMidChannel3D::drawFa(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penW):(*penB));
qpaint->drawLine(x+27,KEYBOARDY+43,x+33,KEYBOARDY+43);
@@ -90,7 +90,7 @@ void KMidChannel3D::drawFa(QPainter *qpaint,int x,int p)
qpaint->setPen(p?(*penB):(*penW));
qpaint->drawLine(x+34,KEYBOARDY+28,x+34,KEYBOARDY+42);
}
-void KMidChannel3D::drawFa__(QPainter *qpaint,int x,int p)
+void KMidChannel3D::drawFa__(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penB):(*penW));
qpaint->drawLine(x+33,KEYBOARDY+2,x+33,KEYBOARDY+25);
@@ -99,7 +99,7 @@ void KMidChannel3D::drawFa__(QPainter *qpaint,int x,int p)
qpaint->drawLine(x+38,KEYBOARDY+1,x+38,KEYBOARDY+27);
qpaint->drawPoint(x+37,KEYBOARDY+27);
}
-void KMidChannel3D::drawSol(QPainter *qpaint,int x,int p)
+void KMidChannel3D::drawSol(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penW):(*penB));
qpaint->drawLine(x+36,KEYBOARDY+43,x+42,KEYBOARDY+43);
@@ -109,7 +109,7 @@ void KMidChannel3D::drawSol(QPainter *qpaint,int x,int p)
qpaint->setPen(p?(*penB):(*penW));
qpaint->drawLine(x+43,KEYBOARDY+28,x+43,KEYBOARDY+42);
}
-void KMidChannel3D::drawSol__(QPainter *qpaint,int x,int p)
+void KMidChannel3D::drawSol__(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penB):(*penW));
qpaint->drawLine(x+42,KEYBOARDY+2,x+42,KEYBOARDY+25);
@@ -118,7 +118,7 @@ void KMidChannel3D::drawSol__(QPainter *qpaint,int x,int p)
qpaint->drawLine(x+47,KEYBOARDY+1,x+47,KEYBOARDY+27);
qpaint->drawPoint(x+46,KEYBOARDY+27);
}
-void KMidChannel3D::drawLa(QPainter *qpaint,int x,int p)
+void KMidChannel3D::drawLa(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penW):(*penB));
qpaint->drawLine(x+45,KEYBOARDY+43,x+51,KEYBOARDY+43);
@@ -128,7 +128,7 @@ void KMidChannel3D::drawLa(QPainter *qpaint,int x,int p)
qpaint->setPen(p?(*penB):(*penW));
qpaint->drawLine(x+52,KEYBOARDY+28,x+52,KEYBOARDY+42);
}
-void KMidChannel3D::drawLa__(QPainter *qpaint,int x,int p)
+void KMidChannel3D::drawLa__(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penB):(*penW));
qpaint->drawLine(x+51,KEYBOARDY+2,x+51,KEYBOARDY+25);
@@ -137,7 +137,7 @@ void KMidChannel3D::drawLa__(QPainter *qpaint,int x,int p)
qpaint->drawLine(x+56,KEYBOARDY+1,x+56,KEYBOARDY+27);
qpaint->drawPoint(x+55,KEYBOARDY+27);
}
-void KMidChannel3D::drawSi(QPainter *qpaint,int x,int p)
+void KMidChannel3D::drawSi(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penW):(*penB));
qpaint->drawLine(x+54,KEYBOARDY+43,x+60,KEYBOARDY+43);