diff options
Diffstat (limited to 'noatun/modules/kjofol-skin/kjbackground.cpp')
-rw-r--r-- | noatun/modules/kjofol-skin/kjbackground.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/noatun/modules/kjofol-skin/kjbackground.cpp b/noatun/modules/kjofol-skin/kjbackground.cpp index 1c99b6ff..543d92cc 100644 --- a/noatun/modules/kjofol-skin/kjbackground.cpp +++ b/noatun/modules/kjofol-skin/kjbackground.cpp @@ -9,21 +9,21 @@ #include "kjbackground.h" -KJBackground::KJBackground(KJLoader *parent) - : KJWidget(parent) +KJBackground::KJBackground(KJLoader *tqparent) + : KJWidget(tqparent) { TQImage ibackground; - mBackground = parent->pixmap(parser()["backgroundimage"][1]); - ibackground = parent->image(parser()["backgroundimage"][1]); + mBackground = tqparent->pixmap(parser()["backgroundimage"][1]); + ibackground = tqparent->image(parser()["backgroundimage"][1]); - parent->setMask( getMask(ibackground) ); - parent->setFixedSize ( TQSize(mBackground.width(), mBackground.height()) ); + tqparent->setMask( getMask(ibackground) ); + tqparent->setFixedSize ( TQSize(mBackground.width(), mBackground.height()) ); - setRect(0,0,parent->width(),parent->height()); + setRect(0,0,tqparent->width(),tqparent->height()); } void KJBackground::paint(TQPainter *painter, const TQRect &rect) { - bitBlt(painter->device(), rect.topLeft(), &mBackground, rect, Qt::CopyROP); + bitBlt(painter->device(), rect.topLeft(), &mBackground, rect, TQt::CopyROP); } |