summaryrefslogtreecommitdiffstats
path: root/noatun/modules/kjofol-skin/kjseeker.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit27edf28be2772229a7974a007313ea30d92c3ffd (patch)
tree14b9842bbd90c801d89ad5ddb38831fdf8aec1a4 /noatun/modules/kjofol-skin/kjseeker.cpp
parent7ef01c0f34d9c6732d258154bcd3ba5a88280db9 (diff)
downloadtdemultimedia-27edf28be2772229a7974a007313ea30d92c3ffd.tar.gz
tdemultimedia-27edf28be2772229a7974a007313ea30d92c3ffd.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/modules/kjofol-skin/kjseeker.cpp')
-rw-r--r--noatun/modules/kjofol-skin/kjseeker.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/noatun/modules/kjofol-skin/kjseeker.cpp b/noatun/modules/kjofol-skin/kjseeker.cpp
index 24fc2da1..e82a1f8e 100644
--- a/noatun/modules/kjofol-skin/kjseeker.cpp
+++ b/noatun/modules/kjofol-skin/kjseeker.cpp
@@ -22,24 +22,24 @@ KJSeeker::KJSeeker(const TQStringList &i, KJLoader *l) : KJWidget(l), g(0)
{
kdDebug(66666) << k_funcinfo << "No pressed background found for seeker," <<
" using default background!" << endl;
- tqparent()->image(parser()["backgroundimage"][1]);
+ parent()->image(parser()["backgroundimage"][1]);
}
else
- mActive = tqparent()->image(activeBg);
+ mActive = parent()->image(activeBg);
- mScale = tqparent()->image(parser()["seekimage"][1]);
- TQImage pixmapNoPress = tqparent()->image(parser()["backgroundimage"][1]);
+ mScale = parent()->image(parser()["seekimage"][1]);
+ TQImage pixmapNoPress = parent()->image(parser()["backgroundimage"][1]);
- // generate transparent tqmask
+ // generate transparent mask
int x, y, xs, ys;
x=i[1].toInt();
y=i[2].toInt();
xs=i[3].toInt()-x;
ys=i[4].toInt()-y;
setRect(x,y,xs,ys);
- TQImage transtqmask(xs, ys, 1, 2, TQImage::LittleEndian);
- transtqmask.setColor(1, tqRgb(0,0,0));
- transtqmask.setColor(0, tqRgb(255,255,255));
+ TQImage transmask(xs, ys, 1, 2, TQImage::LittleEndian);
+ transmask.setColor(1, tqRgb(0,0,0));
+ transmask.setColor(0, tqRgb(255,255,255));
// clear the pointers
memset(barmodeImages, 0, 256*sizeof(TQImage*));
@@ -55,10 +55,10 @@ KJSeeker::KJSeeker(const TQStringList &i, KJLoader *l) : KJWidget(l), g(0)
// am I transparent?
if (!isGray(checkmScale))
{
- setPixel1BPP(transtqmask, ix-x, iy-y, 0);
+ setPixel1BPP(transmask, ix-x, iy-y, 0);
continue;
}
- setPixel1BPP(transtqmask, ix-x, iy-y, 1);
+ setPixel1BPP(transmask, ix-x, iy-y, 1);
// what is the level
int level=grayRgb(checkmScale)+1;
@@ -89,9 +89,9 @@ KJSeeker::KJSeeker(const TQStringList &i, KJLoader *l) : KJWidget(l), g(0)
// create the blank one
barmode[0]=new TQPixmap(xs, ys);
- TQPixmap px=tqparent()->pixmap(parser()["backgroundimage"][1]);
+ TQPixmap px=parent()->pixmap(parser()["backgroundimage"][1]);
bitBlt(barmode[0], 0, 0, &px, x, y, xs, ys, TQt::CopyROP);
- px.convertFromImage(transtqmask);
+ px.convertFromImage(transmask);
barModeMask=px;
// kdDebug(66666) << "END KJSeeker constructor" << endl;
@@ -180,7 +180,7 @@ void KJSeeker::timeUpdate(int sec)
g = sec * 255 / length;
//kdDebug(66666) << "sec: " << sec << " len: " << length << " g: " << g << endl;
- TQPainter p(tqparent());
+ TQPainter p(parent());
paint(&p, rect());
}