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