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/channel.h | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'kmid/channel.h') diff --git a/kmid/channel.h b/kmid/channel.h index eaeb3241..c86e91a1 100644 --- a/kmid/channel.h +++ b/kmid/channel.h @@ -24,8 +24,8 @@ #ifndef KMIDCHANNEL_H #define KMIDCHANNEL_H -#include -#include +#include +#include #define CHANNELHEIGHT 71 #define KEYBOARDY CHANNELHEIGHT-46 @@ -47,40 +47,40 @@ private: // changing the force state protected: - QPixmap keyboard; - QPixmap button1; - QPixmap button2; + TQPixmap keyboard; + TQPixmap button1; + TQPixmap button2; - QComboBox *instrumentCombo; + TQComboBox *instrumentCombo; KMidButton *forcepgm; - QFont *qcvfont; + TQFont *qcvfont; - QPen *penB; // Black - QPen *penW; // White - QPen *penT; // "Transparent" for Background + TQPen *penB; // Black + TQPen *penW; // White + TQPen *penT; // "Transparent" for Background - void paintEvent( QPaintEvent * ); + void paintEvent( TQPaintEvent * ); public: - KMidChannel(int i,QWidget *Parent); + KMidChannel(int i,TQWidget *Parent); virtual ~KMidChannel(); - void drawKeyboard(QPainter *qpaint); - void drawPressedKeys(QPainter *qpaint); - void drawKey(QPainter *qpaint,int key); - - virtual void drawDo (QPainter *qpaint,int x,int p) = 0; - virtual void drawDo__ (QPainter *qpaint,int x,int p) = 0; - virtual void drawRe (QPainter *qpaint,int x,int p) = 0; - virtual void drawRe__ (QPainter *qpaint,int x,int p) = 0; - virtual void drawMi (QPainter *qpaint,int x,int p) = 0; - virtual void drawFa (QPainter *qpaint,int x,int p) = 0; - virtual void drawFa__ (QPainter *qpaint,int x,int p) = 0; - virtual void drawSol (QPainter *qpaint,int x,int p) = 0; - virtual void drawSol__(QPainter *qpaint,int x,int p) = 0; - virtual void drawLa (QPainter *qpaint,int x,int p) = 0; - virtual void drawLa__ (QPainter *qpaint,int x,int p) = 0; - virtual void drawSi (QPainter *qpaint,int x,int p) = 0; + void drawKeyboard(TQPainter *qpaint); + void drawPressedKeys(TQPainter *qpaint); + void drawKey(TQPainter *qpaint,int key); + + virtual void drawDo (TQPainter *qpaint,int x,int p) = 0; + virtual void drawDo__ (TQPainter *qpaint,int x,int p) = 0; + virtual void drawRe (TQPainter *qpaint,int x,int p) = 0; + virtual void drawRe__ (TQPainter *qpaint,int x,int p) = 0; + virtual void drawMi (TQPainter *qpaint,int x,int p) = 0; + virtual void drawFa (TQPainter *qpaint,int x,int p) = 0; + virtual void drawFa__ (TQPainter *qpaint,int x,int p) = 0; + virtual void drawSol (TQPainter *qpaint,int x,int p) = 0; + virtual void drawSol__(TQPainter *qpaint,int x,int p) = 0; + virtual void drawLa (TQPainter *qpaint,int x,int p) = 0; + virtual void drawLa__ (TQPainter *qpaint,int x,int p) = 0; + virtual void drawSi (TQPainter *qpaint,int x,int p) = 0; void noteOn(int key); void noteOff(int key); -- cgit v1.2.1