summaryrefslogtreecommitdiffstats
path: root/kmid/channel.h
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/channel.h
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/channel.h')
-rw-r--r--kmid/channel.h56
1 files changed, 28 insertions, 28 deletions
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 <qwidget.h>
-#include <qpixmap.h>
+#include <tqwidget.h>
+#include <tqpixmap.h>
#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);