diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-03 22:55:38 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-03 22:55:38 +0000 |
commit | 4103c431563b89c9c9340f30a64710f0042ac6fa (patch) | |
tree | 6e5750162589eebee40dddef4d9c8590c3e242ca /client/imageholder.cpp | |
parent | 21a1d3cffb820b001b0901f8e82d4c8bfc5e1683 (diff) | |
download | twin-style-crystal-4103c431563b89c9c9340f30a64710f0042ac6fa.tar.gz twin-style-crystal-4103c431563b89c9c9340f30a64710f0042ac6fa.zip |
Fix kwin-style-crystal FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kwin-style-crystal@1239186 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'client/imageholder.cpp')
-rw-r--r-- | client/imageholder.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/client/imageholder.cpp b/client/imageholder.cpp index 5b1007a..8897646 100644 --- a/client/imageholder.cpp +++ b/client/imageholder.cpp @@ -28,7 +28,7 @@ #include "crystalclient.h" -TQImageHolder::TQImageHolder(TQImage act,TQImage inact) +QImageHolder::QImageHolder(TQImage act,TQImage inact) :img_active(NULL),img_inactive(NULL) { rootpixmap=NULL; @@ -38,14 +38,14 @@ TQImageHolder::TQImageHolder(TQImage act,TQImage inact) emit tqrepaintNeeded(); } -TQImageHolder::~TQImageHolder() +QImageHolder::~QImageHolder() { if (rootpixmap)delete rootpixmap; if (img_active && !userdefinedActive)delete img_active; if (img_inactive && !userdefinedInactive)delete img_inactive; } -void TQImageHolder::setUserdefinedPictures( TQImage act,TQImage inact) +void QImageHolder::setUserdefinedPictures( TQImage act,TQImage inact) { int w=TQApplication::desktop()->width(); int h=TQApplication::desktop()->height(); @@ -77,7 +77,7 @@ void TQImageHolder::setUserdefinedPictures( TQImage act,TQImage inact) CheckSanity(); } -void TQImageHolder::Init() +void QImageHolder::Init() { if (initialized)return; @@ -90,18 +90,18 @@ void TQImageHolder::Init() initialized=true; } -void TQImageHolder::tqrepaint(bool force) +void QImageHolder::tqrepaint(bool force) { Init(); if (rootpixmap)rootpixmap->tqrepaint(force); } -void TQImageHolder::handleDesktopChanged(int) +void QImageHolder::handleDesktopChanged(int) { tqrepaint(true); } -void TQImageHolder::CheckSanity() +void QImageHolder::CheckSanity() { if (!initialized)return; if (userdefinedActive && userdefinedInactive)return; @@ -114,7 +114,7 @@ void TQImageHolder::CheckSanity() initialized=false; } -TQPixmap* TQImageHolder::ApplyEffect(TQImage &src,WND_CONFIG* cfg,TQColorGroup colorgroup) +TQPixmap* QImageHolder::ApplyEffect(TQImage &src,WND_CONFIG* cfg,TQColorGroup colorgroup) { TQImage dst; @@ -142,7 +142,7 @@ TQPixmap* TQImageHolder::ApplyEffect(TQImage &src,WND_CONFIG* cfg,TQColorGroup c return new TQPixmap(dst); } -void TQImageHolder::BackgroundUpdated(const TQImage *src) +void QImageHolder::BackgroundUpdated(const TQImage *src) { if (img_active && !userdefinedActive) { |