summaryrefslogtreecommitdiffstats
path: root/client/myrootpixmap.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 21:17:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 21:17:46 +0000
commit21a1d3cffb820b001b0901f8e82d4c8bfc5e1683 (patch)
treead9d08bc725d963acafab219a33699ae2d6e723c /client/myrootpixmap.h
parent424422475d6f30da2b84041dcb2b13b425126f04 (diff)
downloadtwin-style-crystal-21a1d3cffb820b001b0901f8e82d4c8bfc5e1683.tar.gz
twin-style-crystal-21a1d3cffb820b001b0901f8e82d4c8bfc5e1683.zip
TQt4 port kwin-style-crystal
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kwin-style-crystal@1239032 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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__