diff options
Diffstat (limited to 'src/devices/pic/gui/pic_memory_editor.cpp')
-rw-r--r-- | src/devices/pic/gui/pic_memory_editor.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/pic/gui/pic_memory_editor.cpp b/src/devices/pic/gui/pic_memory_editor.cpp index ced7e11..219519f 100644 --- a/src/devices/pic/gui/pic_memory_editor.cpp +++ b/src/devices/pic/gui/pic_memory_editor.cpp @@ -37,11 +37,11 @@ Pic::MemoryEditorLegend::Data::Data(const TQString &text, TQWidget *parent) { button = new PopupButton(text, parent); - KActionCollection *ac = 0; - KAction *a = new KAction(i18n("Go to start"), "top", 0, TQT_TQOBJECT(parent), TQT_SLOT(gotoStart()), ac); + TDEActionCollection *ac = 0; + TDEAction *a = new TDEAction(i18n("Go to start"), "top", 0, TQT_TQOBJECT(parent), TQT_SLOT(gotoStart()), ac); actions.append(a); button->appendAction(a); - a = new KAction(i18n("Go to end"), "bottom", 0, TQT_TQOBJECT(parent), TQT_SLOT(gotoEnd()), ac); + a = new TDEAction(i18n("Go to end"), "bottom", 0, TQT_TQOBJECT(parent), TQT_SLOT(gotoEnd()), ac); actions.append(a); button->appendAction(a); label = new TQLabel(parent); @@ -53,7 +53,7 @@ void Pic::MemoryEditorLegend::Data::setProtected(bool on) else label->unsetPalette(); } -bool Pic::MemoryEditorLegend::Data::hasAction(const KAction *action) const +bool Pic::MemoryEditorLegend::Data::hasAction(const TDEAction *action) const { for (uint i=0; i<actions.count(); i++) if ( actions[i]==action ) return true; return false; @@ -128,7 +128,7 @@ void Pic::MemoryEditorLegend::updateDisplay() void Pic::MemoryEditorLegend::gotoStart() { Address start = device().range(type()).start; - const KAction *action = static_cast<const KAction *>(sender()); + const TDEAction *action = static_cast<const TDEAction *>(sender()); if ( _boot.hasAction(action) ) { AddressRange r = memory().bootRange(); emit setStartWord(r.start - start); @@ -147,7 +147,7 @@ void Pic::MemoryEditorLegend::gotoStart() void Pic::MemoryEditorLegend::gotoEnd() { Address start = device().range(type()).start; - const KAction *action = static_cast<const KAction *>(sender()); + const TDEAction *action = static_cast<const TDEAction *>(sender()); if ( _boot.hasAction(action) ) { AddressRange r = memory().bootRange(); emit setEndWord(r.end - start); @@ -316,7 +316,7 @@ Pic::MemoryUserIdEditor::MemoryUserIdEditor(const HexView *hexview, Memory &memo void Pic::MemoryUserIdEditor::init(bool first) { MemoryTypeRangeEditor::init(first); - _setToChecksum = new KToggleAction(i18n("Set to unprotected checksum"), 0, 0, + _setToChecksum = new TDEToggleAction(i18n("Set to unprotected checksum"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(toggleSetToChecksum()), Main::toplevel().actionCollection()); addAction(_setToChecksum); if ( readConfigEntry(BaseGlobalConfig::UserIdSetToChecksum).toBool() && memory().isClear(MemoryRangeType::UserId) ) { |