summaryrefslogtreecommitdiffstats
path: root/noatun/modules/kjofol-skin/kjbackground.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/modules/kjofol-skin/kjbackground.cpp
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/modules/kjofol-skin/kjbackground.cpp')
-rw-r--r--noatun/modules/kjofol-skin/kjbackground.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noatun/modules/kjofol-skin/kjbackground.cpp b/noatun/modules/kjofol-skin/kjbackground.cpp
index 83c19ace..1c99b6ff 100644
--- a/noatun/modules/kjofol-skin/kjbackground.cpp
+++ b/noatun/modules/kjofol-skin/kjbackground.cpp
@@ -12,18 +12,18 @@
KJBackground::KJBackground(KJLoader *parent)
: KJWidget(parent)
{
- QImage ibackground;
+ TQImage ibackground;
mBackground = parent->pixmap(parser()["backgroundimage"][1]);
ibackground = parent->image(parser()["backgroundimage"][1]);
parent->setMask( getMask(ibackground) );
- parent->setFixedSize ( QSize(mBackground.width(), mBackground.height()) );
+ parent->setFixedSize ( TQSize(mBackground.width(), mBackground.height()) );
setRect(0,0,parent->width(),parent->height());
}
-void KJBackground::paint(QPainter *painter, const QRect &rect)
+void KJBackground::paint(TQPainter *painter, const TQRect &rect)
{
bitBlt(painter->device(), rect.topLeft(), &mBackground, rect, Qt::CopyROP);
}