summaryrefslogtreecommitdiffstats
path: root/client/imageholder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/imageholder.cpp')
-rw-r--r--client/imageholder.cpp18
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)
{