summaryrefslogtreecommitdiffstats
path: root/src/devices/pic/gui/pic_group_ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/pic/gui/pic_group_ui.cpp')
-rw-r--r--src/devices/pic/gui/pic_group_ui.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/devices/pic/gui/pic_group_ui.cpp b/src/devices/pic/gui/pic_group_ui.cpp
index 3f7a84c..5483ee4 100644
--- a/src/devices/pic/gui/pic_group_ui.cpp
+++ b/src/devices/pic/gui/pic_group_ui.cpp
@@ -18,28 +18,28 @@
#include "libgui/gui_debug_manager.h"
#include "common/gui/list_container.h"
-Device::HexView *Pic::GroupUI::createHexView(const HexEditor &editor, QWidget *parent) const
+Device::HexView *Pic::GroupUI::createHexView(const HexEditor &editor, TQWidget *tqparent) const
{
- return new HexView(editor, parent);
+ return new HexView(editor, tqparent);
}
-Register::View *Pic::GroupUI::createRegisterView(QWidget *parent) const
+Register::View *Pic::GroupUI::createRegisterView(TQWidget *tqparent) const
{
- return new RegisterView(parent);
+ return new RegisterView(tqparent);
}
-Device::MemoryEditor *Pic::GroupUI::createConfigEditor(Device::Memory &memory, QWidget *parent) const
+Device::MemoryEditor *Pic::GroupUI::createConfigEditor(Device::Memory &memory, TQWidget *tqparent) const
{
- return new MemoryConfigEditorWidget(static_cast<Memory &>(memory), false, parent);
+ return new MemoryConfigEditorWidget(static_cast<Memory &>(memory), false, tqparent);
}
-void Pic::GroupUI::fillWatchListContainer(ListContainer *container, QValueVector<Register::TypeData> &ids) const
+void Pic::GroupUI::fillWatchListContainer(ListContainer *container, TQValueVector<Register::TypeData> &ids) const
{
ids.clear();
const Pic::Data &data = static_cast<const Pic::Data &>(*Main::deviceData());
const Pic::RegistersData &rdata = data.registersData();
ListContainer *branch = container->appendBranch(i18n("SFRs"));
- QValueVector<Pic::RegisterNameData> list = Pic::sfrList(data);
+ TQValueVector<Pic::RegisterNameData> list = Pic::sfrList(data);
for (uint i=0; i<list.count(); i++) {
branch->appendItem(list[i].label(), ids.count(), ListContainer::UnChecked);
ids.append(list[i].data());
@@ -47,7 +47,7 @@ void Pic::GroupUI::fillWatchListContainer(ListContainer *container, QValueVector
branch = container->appendBranch(i18n("I/Os"));
for (uint i=0; i<Device::MAX_NB_PORTS; i++) {
if ( !rdata.hasPort(i) ) continue;
- QString name = rdata.portName(i);
+ TQString name = rdata.portName(i);
branch->appendItem(name, ids.count(), ListContainer::UnChecked);
ids.append(Register::TypeData(rdata.sfrs[name].address, rdata.nbChars()));
}
@@ -56,7 +56,7 @@ void Pic::GroupUI::fillWatchListContainer(ListContainer *container, QValueVector
list = Pic::gprList(data, coff);
for (uint k=0; k<rdata.nbBanks; k++) {
if ( !rdata.isBankUsed(k) ) continue;
- ListContainer *bbranch = (rdata.nbBanks==1 ? branch : branch->appendBranch(i18n("Bank %1").arg(k)));
+ ListContainer *bbranch = (rdata.nbBanks==1 ? branch : branch->appendBranch(i18n("Bank %1").tqarg(k)));
uint nb = 0;
for (uint i=0; i<list.count(); i++) {
if ( rdata.bankFromAddress(list[i].data().address())!=k ) continue;
@@ -81,7 +81,7 @@ void Pic::GroupUI::fillWatchListContainer(ListContainer *container, QValueVector
}
}
-Register::ListViewItem *Pic::GroupUI::createWatchItem(const Register::TypeData &data, KListViewItem *parent) const
+Register::ListViewItem *Pic::GroupUI::createWatchItem(const Register::TypeData &data, KListViewItem *tqparent) const
{
- return new Pic::RegisterListViewItem(data, parent);
+ return new Pic::RegisterListViewItem(data, tqparent);
}