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-08 20:53:27 +0900 |
commit | 26bcb362b66b78984c0c7567d00c12f3425d6468 (patch) | |
tree | f2c46f436efb5595cc1e738121ff030dda0d561c /src/libgui/hex_editor.cpp | |
parent | aa5aa16b54b126dc8299b9b24d6d460c557ad67c (diff) | |
download | piklab-26bcb362b66b78984c0c7567d00c12f3425d6468.tar.gz piklab-26bcb362b66b78984c0c7567d00c12f3425d6468.zip |
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a8207be921513da0ccccf41e36e056736c2b8457)
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) |