summaryrefslogtreecommitdiffstats
path: root/kmid/channel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmid/channel.cpp')
-rw-r--r--kmid/channel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmid/channel.cpp b/kmid/channel.cpp
index 2fe22de6..7d077dd7 100644
--- a/kmid/channel.cpp
+++ b/kmid/channel.cpp
@@ -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 (tqcolorGroup().background());
+ penT = new TQPen (colorGroup().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").tqarg(channel);
+ TQString tmp = i18n("Channel %1").arg(channel);
qpaint->setFont(*qcvfont);
qpaint->setPen(*penB);
qpaint->drawText(2,20,tmp);
@@ -185,7 +185,7 @@ void KMidChannel::reset(int level)
replay=TRUE;
};
- tqrepaint(FALSE);
+ repaint(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);
- tqrepaint(FALSE);
+ repaint(FALSE);
}
void KMidChannel::pgmChanged(int i)