diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-04-09 20:52:09 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-04-09 20:52:09 +0200 |
commit | 91d2d7482c36e67cb36df9d1dcdbd989911e4ceb (patch) | |
tree | c842adfbb1a172d9b61241d7dde70354e821bb75 /src/qalculatebuttonwithdata.cpp | |
parent | 4870c0c8c53d3df6ba954b2b4d8ebd87a8c43060 (diff) | |
download | qalculate-tde-91d2d7482c36e67cb36df9d1dcdbd989911e4ceb.tar.gz qalculate-tde-91d2d7482c36e67cb36df9d1dcdbd989911e4ceb.zip |
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/qalculatebuttonwithdata.cpp')
-rw-r--r-- | src/qalculatebuttonwithdata.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qalculatebuttonwithdata.cpp b/src/qalculatebuttonwithdata.cpp index 0b4ced7..679aeee 100644 --- a/src/qalculatebuttonwithdata.cpp +++ b/src/qalculatebuttonwithdata.cpp @@ -19,13 +19,13 @@ ***************************************************************************/ #include "qalculatebuttonwithdata.h" -QalculateButtonWithData::QalculateButtonWithData(void *data, const QString & text, QWidget *parent, const char *name) : QPushButton(text, parent, name) { +QalculateButtonWithData::QalculateButtonWithData(void *data, const TQString & text, TQWidget *parent, const char *name) : TQPushButton(text, parent, name) { user_data = data; - QObject::connect(this, SIGNAL(clicked()), this, SLOT(emitClickedWithData())); + TQObject::connect(this, SIGNAL(clicked()), this, SLOT(emitClickedWithData())); } -QalculateButtonWithData::QalculateButtonWithData(void *data, const QIconSet & icon, const QString & text, QWidget * parent, const char * name) : QPushButton(icon, text, parent, name) { +QalculateButtonWithData::QalculateButtonWithData(void *data, const TQIconSet & icon, const TQString & text, TQWidget * parent, const char * name) : TQPushButton(icon, text, parent, name) { user_data = data; - QObject::connect(this, SIGNAL(clicked()), this, SLOT(emitClickedWithData())); + TQObject::connect(this, SIGNAL(clicked()), this, SLOT(emitClickedWithData())); } QalculateButtonWithData::~QalculateButtonWithData() {} void QalculateButtonWithData::emitClickedWithData() { |