summaryrefslogtreecommitdiffstats
path: root/src/kbfxplasmacanvasabstractitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kbfxplasmacanvasabstractitem.h')
-rw-r--r--src/kbfxplasmacanvasabstractitem.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/src/kbfxplasmacanvasabstractitem.h b/src/kbfxplasmacanvasabstractitem.h
index 7110486..c1c8ac5 100644
--- a/src/kbfxplasmacanvasabstractitem.h
+++ b/src/kbfxplasmacanvasabstractitem.h
@@ -22,33 +22,34 @@
#ifndef KBFX_PLASMA_CANVAS_ABSTRACT_ITEM_H
#define KBFX_PLASMA_CANVAS_ABSTRACT_ITEM_H
-#include <qcanvas.h>
-#include <qpainter.h>
+#include <tqcanvas.h>
+#include <tqpainter.h>
#include "kbfxplasmacanvasrtti.h"
-#include <qtimer.h>
+#include <tqtimer.h>
#include <kdesktopfile.h>
#include <kstandarddirs.h>
#include <kiconloader.h>
#include "kbfxdatasource.h"
#include <krun.h>
-class KbfxPlasmaCanvasAbstractItem:public QObject,public QCanvasSprite
+class KbfxPlasmaCanvasAbstractItem:public TQObject,public TQCanvasSprite
{
Q_OBJECT
+ TQ_OBJECT
public:
typedef enum {EXECUTABLE=0,SEPARATOR,INDEX,OTHER} Type;
// typedef enum {RASTER=0,VECTOR,NATIVE} SkinMode;
- KbfxPlasmaCanvasAbstractItem ( QCanvasPixmapArray * a, QCanvas * canvas );
+ KbfxPlasmaCanvasAbstractItem ( TQCanvasPixmapArray * a, TQCanvas * canvas );
virtual ~KbfxPlasmaCanvasAbstractItem ();
void setCurrent ( bool );
virtual Type type() { return m_type; }
virtual void setType ( Type t ) { m_type = t;}
- QString name() { if ( m_source != 0 ) return m_source->name(); else return QString ( "Not Set" );};
+ TQString name() { if ( m_source != 0 ) return m_source->name(); else return TQString ( "Not Set" );};
void setSource ( KbfxDataSource src );
bool isCurrent();
@@ -56,25 +57,25 @@ class KbfxPlasmaCanvasAbstractItem:public QObject,public QCanvasSprite
virtual int width() { return m_width;}
- virtual bool lookup ( QString str ) {str = str ; return false;}
+ virtual bool lookup ( TQString str ) {str = str ; return false;}
virtual int rtti() const { return CANVASITEM;}
- virtual void draw ( QPainter & pe );
+ virtual void draw ( TQPainter & pe );
- virtual void drawContent ( QPainter * pe );
+ virtual void drawContent ( TQPainter * pe );
- virtual QPixmap dragPixmap();
+ virtual TQPixmap dragPixmap();
//Event Handling
- virtual void mousePressEvent ( QMouseEvent * e );
- virtual void mouseMoveEvent ( QMouseEvent * e );
- virtual void enterEvent ( QEvent * e );
- virtual void mouseReleaseEvent ( QMouseEvent * e );
+ virtual void mousePressEvent ( TQMouseEvent * e );
+ virtual void mouseMoveEvent ( TQMouseEvent * e );
+ virtual void enterEvent ( TQEvent * e );
+ virtual void mouseReleaseEvent ( TQMouseEvent * e );
- virtual void setLabelText ( QString s );
+ virtual void setLabelText ( TQString s );
public slots:
virtual void hideit();