diff options
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/gui/memory_editor.cpp | 2 | ||||
-rw-r--r-- | src/devices/pic/gui/pic_memory_editor.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/gui/memory_editor.cpp b/src/devices/gui/memory_editor.cpp index 308bcbf..db53341 100644 --- a/src/devices/gui/memory_editor.cpp +++ b/src/devices/gui/memory_editor.cpp @@ -300,7 +300,7 @@ void Device::MemoryTypeEditor::init(bool first) for (uint i=0; i<Nb_Actions; i++) { if ( hasAction(Action(i)) ) { _actions[i] = new TDEAction(i18n(ACTION_DATA[i].label), ACTION_DATA[i].icon, 0, - TQT_TQOBJECT(this), TQT_SLOT(doAction()), Main::toplevel().actionCollection()); + this, TQT_SLOT(doAction()), Main::toplevel().actionCollection()); addAction(_actions[i]); } if ( ACTION_DATA[i].properties & SeparatorAfter ) _title->appendSeparator(); diff --git a/src/devices/pic/gui/pic_memory_editor.cpp b/src/devices/pic/gui/pic_memory_editor.cpp index 1da730e..0c9e188 100644 --- a/src/devices/pic/gui/pic_memory_editor.cpp +++ b/src/devices/pic/gui/pic_memory_editor.cpp @@ -38,10 +38,10 @@ Pic::MemoryEditorLegend::Data::Data(const TQString &text, TQWidget *parent) { button = new PopupButton(text, parent); TDEActionCollection *ac = 0; - TDEAction *a = new TDEAction(i18n("Go to start"), "go-top", 0, TQT_TQOBJECT(parent), TQT_SLOT(gotoStart()), ac); + TDEAction *a = new TDEAction(i18n("Go to start"), "go-top", 0, parent, TQT_SLOT(gotoStart()), ac); actions.append(a); button->appendAction(a); - a = new TDEAction(i18n("Go to end"), "go-bottom", 0, TQT_TQOBJECT(parent), TQT_SLOT(gotoEnd()), ac); + a = new TDEAction(i18n("Go to end"), "go-bottom", 0, parent, TQT_SLOT(gotoEnd()), ac); actions.append(a); button->appendAction(a); label = new TQLabel(parent); @@ -317,7 +317,7 @@ void Pic::MemoryUserIdEditor::init(bool first) { MemoryTypeRangeEditor::init(first); _setToChecksum = new TDEToggleAction(i18n("Set to unprotected checksum"), 0, 0, - TQT_TQOBJECT(this), TQT_SLOT(toggleSetToChecksum()), Main::toplevel().actionCollection()); + this, TQT_SLOT(toggleSetToChecksum()), Main::toplevel().actionCollection()); addAction(_setToChecksum); if ( readConfigEntry(BaseGlobalConfig::UserIdSetToChecksum).toBool() && memory().isClear(MemoryRangeType::UserId) ) { _setToChecksum->activate(); |