diff options
Diffstat (limited to 'src/kbfxplasmaindexitem.h')
-rw-r--r-- | src/kbfxplasmaindexitem.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/kbfxplasmaindexitem.h b/src/kbfxplasmaindexitem.h index 9b68da8..cd58f81 100644 --- a/src/kbfxplasmaindexitem.h +++ b/src/kbfxplasmaindexitem.h @@ -27,35 +27,36 @@ class KbfxPlasmaIndexItem : public KbfxPlasmaCanvasAbstractItem { Q_OBJECT + TQ_OBJECT public: - KbfxPlasmaIndexItem ( QCanvasPixmapArray * a, QCanvas * canvas ); + KbfxPlasmaIndexItem ( TQCanvasPixmapArray * a, TQCanvas * canvas ); virtual ~KbfxPlasmaIndexItem(); - void setIcon ( QString path ); - void setText ( QString text ); + void setIcon ( TQString path ); + void setText ( TQString text ); void setId ( int id ); - //void setName(QString name); - void setLabelText ( QString text ); - void setBelongsTo ( QString parent ); - QString belongsTo(); + //void setName(TQString name); + void setLabelText ( TQString text ); + void setBelongsTo ( TQString tqparent ); + TQString belongsTo(); int height(); void setSelected ( bool select ); bool selected(); int Id() { return m_id;} - virtual void drawContent ( QPainter * pe ); - virtual void draw ( QPainter & pe ); - virtual void mousePressEvent ( QMouseEvent * e ); + virtual void drawContent ( TQPainter * pe ); + virtual void draw ( TQPainter & pe ); + virtual void mousePressEvent ( TQMouseEvent * e ); private: int m_id; - QString m_name; - QString m_text; - QString m_iconPath; - QPixmap m_icon; - QString m_parent; + TQString m_name; + TQString m_text; + TQString m_iconPath; + TQPixmap m_icon; + TQString m_parent; bool m_isCurrent; int m_height; int m_width; |