summaryrefslogtreecommitdiffstats
path: root/client/myrootpixmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/myrootpixmap.h')
-rw-r--r--client/myrootpixmap.h41
1 files changed, 21 insertions, 20 deletions
diff --git a/client/myrootpixmap.h b/client/myrootpixmap.h
index dc0b72c..9f3ac6f 100644
--- a/client/myrootpixmap.h
+++ b/client/myrootpixmap.h
@@ -14,25 +14,26 @@
#ifndef __KRootPixmap_h_Included__
#define __KRootPixmap_h_Included__
-#include <qobject.h>
-#include <qcolor.h>
+#include <tqobject.h>
+#include <tqcolor.h>
-#ifndef Q_WS_QWS //FIXME
+#ifndef TQ_WS_TQWS //FIXME
-class QRect;
-class QWidget;
-class QTimer;
+class TQRect;
+class TQWidget;
+class TQTimer;
class KSharedPixmap;
class KMyRootPixmapData;
-class KMyRootPixmap: public QObject
+class KMyRootPixmap: public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMyRootPixmap( QWidget *target=NULL, const char *name=0 );
+ KMyRootPixmap( TQWidget *target=NULL, const char *name=0 );
- KMyRootPixmap( QWidget *target, QObject *parent, const char *name=0 );
+ KMyRootPixmap( TQWidget *target, TQObject *tqparent, const char *name=0 );
virtual ~KMyRootPixmap();
@@ -54,23 +55,23 @@ public slots:
virtual void stop();
-// void setFadeEffect(double strength, const QColor &color);
+// void setFadeEffect(double strength, const TQColor &color);
- void repaint( bool force );
+ void tqrepaint( bool force );
- void repaint();
+ void tqrepaint();
// void setCustomPainting( bool enable ) { m_bCustomPaint = enable; }
void enableExports();
- static QString pixmapName(int desk);
+ static TQString pixmapName(int desk);
signals:
- void backgroundUpdated( const QImage *pm );
+ void backgroundUpdated( const TQImage *pm );
protected:
-// virtual bool eventFilter(QObject *, QEvent *);
+// virtual bool eventFilter(TQObject *, TQEvent *);
virtual void updateBackground( KSharedPixmap * );
@@ -83,16 +84,16 @@ private:
int m_Desk;
// double m_Fade;
-// QColor m_FadeColor;
+// TQColor m_FadeColor;
- QRect m_Rect;
-// QWidget *m_pWidget;
-// QTimer *m_pTimer;
+ TQRect m_Rect;
+// TQWidget *m_pWidget;
+// TQTimer *m_pTimer;
KSharedPixmap *m_pPixmap;
// KMyRootPixmapData *d;
void init();
};
-#endif // ! Q_WS_QWS
+#endif // ! TQ_WS_TQWS
#endif // __KRootPixmap_h_Included__