summaryrefslogtreecommitdiffstats
path: root/src/clickablelabel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
commitaa0726b20f398264f0a2abc60215be044b106f9c (patch)
tree070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /src/clickablelabel.h
parentd3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff)
downloadbasket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz
basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip
TQt4 port basket
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/clickablelabel.h')
-rw-r--r--src/clickablelabel.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/clickablelabel.h b/src/clickablelabel.h
index 0198974..c65c001 100644
--- a/src/clickablelabel.h
+++ b/src/clickablelabel.h
@@ -21,23 +21,24 @@
#ifndef CLICKABLELABEL_H
#define CLICKABLELABEL_H
-#include <qlabel.h>
+#include <tqlabel.h>
-/** This class is a QLabel that can emit a clicked() signal when clicked !
+/** This class is a TQLabel that can emit a clicked() signal when clicked !
* @author S�astien Laot
*/
-class ClickableLabel : public QLabel
+class ClickableLabel : public TQLabel
{
Q_OBJECT
+ TQ_OBJECT
public:
/** Construtor, initializer and destructor */
- ClickableLabel(QWidget *parent = 0, const char *name = 0)
- : QLabel(parent, name) {}
+ ClickableLabel(TQWidget *tqparent = 0, const char *name = 0)
+ : TQLabel(tqparent, name) {}
~ClickableLabel() {}
signals:
void clicked();
protected:
- virtual void mousePressEvent(QMouseEvent *event);
+ virtual void mousePressEvent(TQMouseEvent *event);
};
#endif // CLICKABLELABEL_H