summaryrefslogtreecommitdiffstats
path: root/src/progs/icd1/gui/icd1_group_ui.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/progs/icd1/gui/icd1_group_ui.cpp
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz
piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip
TQt4 port piklab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/progs/icd1/gui/icd1_group_ui.cpp')
-rw-r--r--src/progs/icd1/gui/icd1_group_ui.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/progs/icd1/gui/icd1_group_ui.cpp b/src/progs/icd1/gui/icd1_group_ui.cpp
index 34f28d5..1ae73a3 100644
--- a/src/progs/icd1/gui/icd1_group_ui.cpp
+++ b/src/progs/icd1/gui/icd1_group_ui.cpp
@@ -13,13 +13,13 @@
#include "progs/icd1/base/icd1_prog.h"
//----------------------------------------------------------------------------
-Icd1::AdvancedDialog::AdvancedDialog(ProgrammerBase &base, QWidget *parent)
- : ::Programmer::PicAdvancedDialog(base, parent, "icd1_advanced_dialog")
+Icd1::AdvancedDialog::AdvancedDialog(ProgrammerBase &base, TQWidget *tqparent)
+ : ::Programmer::PicAdvancedDialog(base, tqparent, "icd1_advanced_dialog")
{
uint row = _selfTestContainer->numRows();
- QLabel *label = new QLabel(i18n("Result:"), _selfTestContainer);
+ TQLabel *label = new TQLabel(i18n("Result:"), _selfTestContainer);
_selfTestContainer->addWidget(label, row,row, 0,0);
- _selfTestLabel = new QLabel(_selfTestContainer);
+ _selfTestLabel = new TQLabel(_selfTestContainer);
_selfTestContainer->addWidget(_selfTestLabel, row,row, 1,1);
}
@@ -30,12 +30,12 @@ void Icd1::AdvancedDialog::updateDisplay()
}
//----------------------------------------------------------------------------
-::Programmer::ConfigWidget *Icd1::GroupUI::createConfigWidget(QWidget *parent) const
+::Programmer::ConfigWidget *Icd1::GroupUI::createConfigWidget(TQWidget *tqparent) const
{
- return new ::Programmer::ConfigWidget(static_cast<const Group &>(group()), parent);
+ return new ::Programmer::ConfigWidget(static_cast<const Group &>(group()), tqparent);
}
-::Programmer::AdvancedDialog *Icd1::GroupUI::createAdvancedDialog(::Programmer::Base &base, QWidget *parent) const
+::Programmer::AdvancedDialog *Icd1::GroupUI::createAdvancedDialog(::Programmer::Base &base, TQWidget *tqparent) const
{
- return new AdvancedDialog(static_cast<ProgrammerBase &>(base), parent);
+ return new AdvancedDialog(static_cast<ProgrammerBase &>(base), tqparent);
}