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 /kbfxlib/common/kbfxpixmaplabel.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 'kbfxlib/common/kbfxpixmaplabel.h')
-rw-r--r-- | kbfxlib/common/kbfxpixmaplabel.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/kbfxlib/common/kbfxpixmaplabel.h b/kbfxlib/common/kbfxpixmaplabel.h index 1e20b99..51091aa 100644 --- a/kbfxlib/common/kbfxpixmaplabel.h +++ b/kbfxlib/common/kbfxpixmaplabel.h @@ -22,27 +22,28 @@ #ifndef KBFX_PIXMAP_LABEL_H #define KBFX_PIXMAP_LABEL_H -#include <qlabel.h> +#include <tqlabel.h> #include <kdebug.h> -#include <qdragobject.h> -#include <qtooltip.h> +#include <tqdragobject.h> +#include <tqtooltip.h> -class KbfxPixmapLabel : public QLabel +class KbfxPixmapLabel : public TQLabel { Q_OBJECT + TQ_OBJECT public: - KbfxPixmapLabel ( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); + KbfxPixmapLabel ( TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0 ); ~KbfxPixmapLabel (); - void dragEnterEvent ( QDragEnterEvent *mouseDragEnterEvent ); - void dropEvent ( QDropEvent *mouseDropEvent ); - void mousePressEvent ( QMouseEvent * e ); - void mouseDoubleClickEvent ( QMouseEvent * e ); + void dragEnterEvent ( TQDragEnterEvent *mouseDragEnterEvent ); + void dropEvent ( TQDropEvent *mouseDropEvent ); + void mousePressEvent ( TQMouseEvent * e ); + void mouseDoubleClickEvent ( TQMouseEvent * e ); void normalize (); signals: - void targetDrop ( const QString & ); + void targetDrop ( const TQString & ); void clicked(); void mouseClicked (); void mouseClicked ( const ButtonState & ); |