diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-05 22:07:15 +0000 |
commit | 421b60af92c83b889f8903c2898f2bd07186fcd8 (patch) | |
tree | ad873a24c9438baed4942fda795430a4c3dc9a9a /src/kbfxplasmaindexitem.h | |
parent | 39e896bddf25bf34cbf8be814d959181e2c1d1dd (diff) | |
download | kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.tar.gz kbfx-421b60af92c83b889f8903c2898f2bd07186fcd8.zip |
TQt4 port kbfx
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1230544 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |