From 26bcb362b66b78984c0c7567d00c12f3425d6468 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 7 Dec 2023 13:47:28 +0900 Subject: Replaced various '#define' with actual strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit a8207be921513da0ccccf41e36e056736c2b8457) --- src/libgui/hex_editor.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libgui/hex_editor.cpp') 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) -- cgit v1.2.3