summaryrefslogtreecommitdiffstats
path: root/src/progs/tbl_bootloader
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commitf7ceb2957839027e8027a9a4c0dfff730cb9b704 (patch)
treed1d583f11612d149bc0718c80779df4653699dbb /src/progs/tbl_bootloader
parentd98fea1f859d23e1b1220a65d7a8eda3b757fd08 (diff)
downloadpiklab-f7ceb2957839027e8027a9a4c0dfff730cb9b704.tar.gz
piklab-f7ceb2957839027e8027a9a4c0dfff730cb9b704.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/progs/tbl_bootloader')
-rw-r--r--src/progs/tbl_bootloader/base/tbl_bootloader.cpp4
-rw-r--r--src/progs/tbl_bootloader/gui/tbl_bootloader_ui.cpp8
-rw-r--r--src/progs/tbl_bootloader/gui/tbl_bootloader_ui.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/progs/tbl_bootloader/base/tbl_bootloader.cpp b/src/progs/tbl_bootloader/base/tbl_bootloader.cpp
index 9c52fb7..3b8c324 100644
--- a/src/progs/tbl_bootloader/base/tbl_bootloader.cpp
+++ b/src/progs/tbl_bootloader/base/tbl_bootloader.cpp
@@ -158,7 +158,7 @@ bool TinyBootloader::Hardware::writeCode(const Device::Array &data, bool erase)
// check that there is nothing on top of bootloader
for (uint i=nb; i<data.size(); i++) {
- if ( data[i]==device().tqmask(Pic::MemoryRangeType::Code) ) continue;
+ if ( data[i]==device().mask(Pic::MemoryRangeType::Code) ) continue;
uint address = device().addressIncrement(Pic::MemoryRangeType::Code) * i;
log(Log::LineType::Warning, " " + i18n("Code is present in bootloader reserved area (at address %1). It will be ignored.").tqarg(toHexLabel(address, device().nbCharsAddress())));
break;
@@ -194,7 +194,7 @@ bool TinyBootloader::Hardware::writeCode(const Device::Array &data, bool erase)
if ( !erase ) {
bool write = false;
for (uint k=0; k<nbWords; k++) {
- if ( wdata[i+k]==device().tqmask(Pic::MemoryRangeType::Code) ) continue;
+ if ( wdata[i+k]==device().mask(Pic::MemoryRangeType::Code) ) continue;
write = true;
break;
}
diff --git a/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.cpp b/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.cpp
index f0c1725..7328aa5 100644
--- a/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.cpp
+++ b/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.cpp
@@ -12,8 +12,8 @@
#include "common/port/serial.h"
//-----------------------------------------------------------------------------
-TinyBootloader::ConfigWidget::ConfigWidget(const::Programmer::Group &group, TQWidget *tqparent)
- : ::Programmer::ConfigWidget(group, tqparent)
+TinyBootloader::ConfigWidget::ConfigWidget(const::Programmer::Group &group, TQWidget *parent)
+ : ::Programmer::ConfigWidget(group, parent)
{
uint row = numRows();
@@ -74,7 +74,7 @@ void TinyBootloader::ConfigWidget::loadConfig()
}
//-----------------------------------------------------------------------------
-::Programmer::ConfigWidget *TinyBootloader::GroupUI::createConfigWidget(TQWidget *tqparent) const
+::Programmer::ConfigWidget *TinyBootloader::GroupUI::createConfigWidget(TQWidget *parent) const
{
- return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), tqparent);
+ return new ConfigWidget(static_cast<const ::Programmer::Group &>(group()), parent);
}
diff --git a/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.h b/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.h
index 442b879..fb85c0f 100644
--- a/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.h
+++ b/src/progs/tbl_bootloader/gui/tbl_bootloader_ui.h
@@ -22,7 +22,7 @@ class ConfigWidget: public ::Programmer::ConfigWidget
Q_OBJECT
TQ_OBJECT
public:
- ConfigWidget(const ::Programmer::Group &group, TQWidget *tqparent);
+ ConfigWidget(const ::Programmer::Group &group, TQWidget *parent);
virtual void loadConfig();
virtual void saveConfig();
@@ -35,7 +35,7 @@ private:
class GroupUI : public ::Bootloader::GroupUI
{
public:
- virtual ::Programmer::ConfigWidget *createConfigWidget(TQWidget *tqparent) const;
+ virtual ::Programmer::ConfigWidget *createConfigWidget(TQWidget *parent) const;
};
} // namespace