summaryrefslogtreecommitdiffstats
path: root/src/libgui/hex_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/hex_editor.cpp')
-rw-r--r--src/libgui/hex_editor.cpp8
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)