diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
commit | 87a016680e3677da3993f333561e79eb0cead7d5 (patch) | |
tree | cbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/variablelabel.h | |
parent | 6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff) | |
download | ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip |
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/variablelabel.h')
-rw-r--r-- | src/variablelabel.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/variablelabel.h b/src/variablelabel.h index ba3850e..ea5fea5 100644 --- a/src/variablelabel.h +++ b/src/variablelabel.h @@ -14,8 +14,8 @@ #ifndef VARIABLELABEL_H #define VARIABLELABEL_H -#include <qguardedptr.h> -#include <qlabel.h> +#include <tqguardedptr.h> +#include <tqlabel.h> class TextView; @@ -26,15 +26,16 @@ a variable while debugging. @author David Saxton */ -class VariableLabel : public QLabel +class VariableLabel : public TQLabel { Q_OBJECT + TQ_OBJECT public: - VariableLabel( TextView * parent ); + VariableLabel( TextView * tqparent ); /** * Sets the register that this label is displaying the value of. */ - void setRegister( RegisterInfo * info, const QString & name ); + void setRegister( RegisterInfo * info, const TQString & name ); /** * Sets the value that this label is displaying. This is an alternative * to setRegister. @@ -50,8 +51,8 @@ class VariableLabel : public QLabel protected: void disconnectRegisterInfo(); - QGuardedPtr<RegisterInfo> m_pRegisterInfo; - QString m_registerName; + TQGuardedPtr<RegisterInfo> m_pRegisterInfo; + TQString m_registerName; int m_value; }; |