summaryrefslogtreecommitdiffstats
path: root/client/imageholder.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/imageholder.h')
-rw-r--r--client/imageholder.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/client/imageholder.h b/client/imageholder.h
index b88ac87..e41e000 100644
--- a/client/imageholder.h
+++ b/client/imageholder.h
@@ -28,34 +28,35 @@
struct WND_CONFIG;
-class QImageHolder:public QObject
+class TQImageHolder:public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- QImageHolder(QImage act,QImage inact);
- virtual ~QImageHolder();
+ TQImageHolder(TQImage act,TQImage inact);
+ virtual ~TQImageHolder();
void Init();
- QPixmap *image(bool active) { Init(); return active?img_active:img_inactive; }
- void repaint(bool force);
+ TQPixmap *image(bool active) { Init(); return active?img_active:img_inactive; }
+ void tqrepaint(bool force);
- void setUserdefinedPictures(QImage act,QImage inact);
+ void setUserdefinedPictures(TQImage act,TQImage inact);
private:
bool initialized;
KMyRootPixmap *rootpixmap;
- QPixmap *img_active,*img_inactive;
+ TQPixmap *img_active,*img_inactive;
bool userdefinedActive,userdefinedInactive;
- QPixmap* ApplyEffect(QImage &src,WND_CONFIG* cfg,QColorGroup colorgroup);
+ TQPixmap* ApplyEffect(TQImage &src,WND_CONFIG* cfg,TQColorGroup colorgroup);
public slots:
- void BackgroundUpdated(const QImage *);
+ void BackgroundUpdated(const TQImage *);
void handleDesktopChanged(int desk);
void CheckSanity();
signals:
- void repaintNeeded();
+ void tqrepaintNeeded();
};