diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-07 13:47:28 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-07 13:47:28 +0900 |
commit | a8207be921513da0ccccf41e36e056736c2b8457 (patch) | |
tree | 8e4dd1c96e3c7d416590bca28038c6557ab2ef88 /src/libgui/hex_editor.cpp | |
parent | cda5b603bcae56e1e6d49ebbcefa6dbe89b8190c (diff) | |
download | piklab-a8207be921513da0ccccf41e36e056736c2b8457.tar.gz piklab-a8207be921513da0ccccf41e36e056736c2b8457.zip |
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/libgui/hex_editor.cpp')
-rw-r--r-- | src/libgui/hex_editor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libgui/hex_editor.cpp b/src/libgui/hex_editor.cpp index bae5c99..a0f11fb 100644 --- a/src/libgui/hex_editor.cpp +++ b/src/libgui/hex_editor.cpp @@ -30,13 +30,13 @@ //----------------------------------------------------------------------------- HexEditorPart::HexEditorPart(HexEditor *editor) - : KParts::ReadWritePart(TQT_TQOBJECT(editor), "hex_editor_part") + : KParts::ReadWritePart(editor, "hex_editor_part") { setXMLFile("hexeditorpartui.rc"); - (void)KStdAction::save(TQT_TQOBJECT(editor), TQT_SLOT(save()), actionCollection()); - (void)KStdAction::saveAs(TQT_TQOBJECT(editor), TQT_SLOT(saveAs()), actionCollection()); - (void)new TDEToggleAction(i18n("Read Only Mode"), 0, 0, TQT_TQOBJECT(editor), TQT_SLOT(toggleReadOnly()), actionCollection(), "tools_toggle_write_lock"); + (void)KStdAction::save(editor, TQT_SLOT(save()), actionCollection()); + (void)KStdAction::saveAs(editor, TQT_SLOT(saveAs()), actionCollection()); + (void)new TDEToggleAction(i18n("Read Only Mode"), 0, 0, editor, TQT_SLOT(toggleReadOnly()), actionCollection(), "tools_toggle_write_lock"); } void HexEditorPart::setReadWrite(bool rw) |