summaryrefslogtreecommitdiffstats
path: root/kmid/channel4d.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kmid/channel4d.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmid/channel4d.cpp')
-rw-r--r--kmid/channel4d.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kmid/channel4d.cpp b/kmid/channel4d.cpp
index c6ffb8b4..4f47c3ae 100644
--- a/kmid/channel4d.cpp
+++ b/kmid/channel4d.cpp
@@ -23,18 +23,18 @@
***************************************************************************/
#include "channel4d.h"
-#include <qpainter.h>
+#include <tqpainter.h>
-KMidChannel4D::KMidChannel4D (int chn,QWidget *parent) : KMidChannel(chn,parent)
+KMidChannel4D::KMidChannel4D (int chn,TQWidget *parent) : KMidChannel(chn,parent)
{
- brushR = new QBrush (red);
- brushW = new QBrush (white);
- brushB = new QBrush (black);
- penR = new QPen (red);
+ brushR = new TQBrush (red);
+ brushW = new TQBrush (white);
+ brushB = new TQBrush (black);
+ penR = new TQPen (red);
}
-void KMidChannel4D::drawDo(QPainter *qpaint,int x,int p)
+void KMidChannel4D::drawDo(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penR):(*penB));
@@ -51,7 +51,7 @@ void KMidChannel4D::drawDo(QPainter *qpaint,int x,int p)
qpaint->setPen(p?(*penR):(*penW));
qpaint->drawPoint(x+5,KEYBOARDY+27);
}
-void KMidChannel4D::drawDo__(QPainter *qpaint,int x,int p)
+void KMidChannel4D::drawDo__(TQPainter *qpaint,int x,int p)
{
qpaint->fillRect(x+6,KEYBOARDY+1,5,26,((p)?*brushR:*brushB));
@@ -68,7 +68,7 @@ void KMidChannel4D::drawDo__(QPainter *qpaint,int x,int p)
}
-void KMidChannel4D::drawRe(QPainter *qpaint,int x,int p)
+void KMidChannel4D::drawRe(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penR):(*penB));
qpaint->drawLine(x+9,KEYBOARDY+43,x+15,KEYBOARDY+43);
@@ -86,7 +86,7 @@ void KMidChannel4D::drawRe(QPainter *qpaint,int x,int p)
}
-void KMidChannel4D::drawRe__(QPainter *qpaint,int x,int p)
+void KMidChannel4D::drawRe__(TQPainter *qpaint,int x,int p)
{
qpaint->fillRect(x+15,KEYBOARDY+1,5,26,((p)?*brushR:*brushB));
@@ -103,7 +103,7 @@ void KMidChannel4D::drawRe__(QPainter *qpaint,int x,int p)
}
-void KMidChannel4D::drawMi(QPainter *qpaint,int x,int p)
+void KMidChannel4D::drawMi(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penR):(*penB));
qpaint->drawLine(x+18,KEYBOARDY+43,x+24,KEYBOARDY+43);
@@ -119,7 +119,7 @@ void KMidChannel4D::drawMi(QPainter *qpaint,int x,int p)
qpaint->drawPoint(x+20,KEYBOARDY+27);
}
-void KMidChannel4D::drawFa(QPainter *qpaint,int x,int p)
+void KMidChannel4D::drawFa(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penR):(*penB));
qpaint->drawLine(x+27,KEYBOARDY+43,x+33,KEYBOARDY+43);
@@ -135,7 +135,7 @@ void KMidChannel4D::drawFa(QPainter *qpaint,int x,int p)
qpaint->drawPoint(x+32,KEYBOARDY+27);
}
-void KMidChannel4D::drawFa__(QPainter *qpaint,int x,int p)
+void KMidChannel4D::drawFa__(TQPainter *qpaint,int x,int p)
{
qpaint->fillRect(x+33,KEYBOARDY+1,5,26,((p)?*brushR:*brushB));
if (!p)
@@ -150,7 +150,7 @@ void KMidChannel4D::drawFa__(QPainter *qpaint,int x,int p)
}
-void KMidChannel4D::drawSol(QPainter *qpaint,int x,int p)
+void KMidChannel4D::drawSol(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penR):(*penB));
qpaint->drawLine(x+36,KEYBOARDY+43,x+42,KEYBOARDY+43);
@@ -168,7 +168,7 @@ void KMidChannel4D::drawSol(QPainter *qpaint,int x,int p)
}
-void KMidChannel4D::drawSol__(QPainter *qpaint,int x,int p)
+void KMidChannel4D::drawSol__(TQPainter *qpaint,int x,int p)
{
qpaint->fillRect(x+42,KEYBOARDY+1,5,26,((p)?*brushR:*brushB));
@@ -184,7 +184,7 @@ void KMidChannel4D::drawSol__(QPainter *qpaint,int x,int p)
}
-void KMidChannel4D::drawLa(QPainter *qpaint,int x,int p)
+void KMidChannel4D::drawLa(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penR):(*penB));
qpaint->drawLine(x+45,KEYBOARDY+43,x+51,KEYBOARDY+43);
@@ -200,7 +200,7 @@ void KMidChannel4D::drawLa(QPainter *qpaint,int x,int p)
qpaint->drawPoint(x+47,KEYBOARDY+27);
qpaint->drawPoint(x+50,KEYBOARDY+27);
}
-void KMidChannel4D::drawLa__(QPainter *qpaint,int x,int p)
+void KMidChannel4D::drawLa__(TQPainter *qpaint,int x,int p)
{
qpaint->fillRect(x+51,KEYBOARDY+1,5,26,((p)?*brushR:*brushB));
@@ -215,7 +215,7 @@ void KMidChannel4D::drawLa__(QPainter *qpaint,int x,int p)
qpaint->drawPoint(x+55,KEYBOARDY+27);
}
-void KMidChannel4D::drawSi(QPainter *qpaint,int x,int p)
+void KMidChannel4D::drawSi(TQPainter *qpaint,int x,int p)
{
qpaint->setPen(p?(*penR):(*penB));
qpaint->drawLine(x+54,KEYBOARDY+43,x+60,KEYBOARDY+43);