From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmid/channel4d.cpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'kmid/channel4d.cpp') 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 +#include -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); -- cgit v1.2.1