summaryrefslogtreecommitdiffstats
path: root/korn/label.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /korn/label.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korn/label.h')
-rw-r--r--korn/label.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/korn/label.h b/korn/label.h
index 18d4cb298..86db3c427 100644
--- a/korn/label.h
+++ b/korn/label.h
@@ -25,10 +25,11 @@
/**
* A simple overriding of the TQLabel class to get a mouseButtonPressed() signal
*/
-class Label : public QLabel
+class Label : public TQLabel
{ Q_OBJECT
+ TQ_OBJECT
public:
- Label( TQWidget * parent = 0, const char * name = 0 ) : TQLabel( parent, name ) {}
+ Label( TQWidget * tqparent = 0, const char * name = 0 ) : TQLabel( tqparent, name ) {}
virtual ~Label() {}
protected:
@@ -37,7 +38,7 @@ signals:
/**
* Emitted when a button is pressed.
*/
- void mouseButtonPressed( Qt::ButtonState );
+ void mouseButtonPressed( TQt::ButtonState );
};
#endif //MK_LABEL_H