summaryrefslogtreecommitdiffstats
path: root/kmid/channel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmid/channel.cpp')
-rw-r--r--kmid/channel.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmid/channel.cpp b/kmid/channel.cpp
index 7d077dd7..a4547767 100644
--- a/kmid/channel.cpp
+++ b/kmid/channel.cpp
@@ -39,7 +39,7 @@
#include "instrname.h"
#include <kiconloader.h>
-KMidChannel::KMidChannel(int chn,TQWidget *parent) : TQWidget (parent)
+KMidChannel::KMidChannel(int chn,TQWidget *tqparent) : TQWidget (tqparent)
{
channel=chn;
replay=TRUE;
@@ -48,7 +48,7 @@ KMidChannel::KMidChannel(int chn,TQWidget *parent) : TQWidget (parent)
keyboard = TQPixmap(locate("appdata","icons/keyboard.xpm"));
penB = new TQPen (black);
penW = new TQPen (white);
- penT = new TQPen (colorGroup().background());
+ penT = new TQPen (tqcolorGroup().background());
KConfig *kcfg=KGlobal::instance()->config();
kcfg->setGroup("KMid");
@@ -87,7 +87,7 @@ void KMidChannel::paintEvent( TQPaintEvent * )
TQPainter *qpaint=new TQPainter(this);
- TQString tmp = i18n("Channel %1").arg(channel);
+ TQString tmp = i18n("Channel %1").tqarg(channel);
qpaint->setFont(*qcvfont);
qpaint->setPen(*penB);
qpaint->drawText(2,20,tmp);
@@ -185,7 +185,7 @@ void KMidChannel::reset(int level)
replay=TRUE;
};
- repaint(FALSE);
+ tqrepaint(FALSE);
}
void KMidChannel::saveState(bool *p,int *pgm)
@@ -198,7 +198,7 @@ void KMidChannel::loadState(bool *p,int *pgm)
{
for (int i=0;i<128;i++) pressed[i]=p[i];
instrumentCombo->setCurrentItem(*pgm);
- repaint(FALSE);
+ tqrepaint(FALSE);
}
void KMidChannel::pgmChanged(int i)