diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 16:42:37 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:22:08 +0900 |
commit | f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd (patch) | |
tree | 49b5284de3c34fa5beb84bd52110e7e1cdba826d /src/libgui/hex_editor.cpp | |
parent | 26bcb362b66b78984c0c7567d00c12f3425d6468 (diff) | |
download | piklab-f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd.tar.gz piklab-f3f67ab73137aa1ce1bc14753cc0e09a1b44f9bd.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c679361a50aee162491e7195f2bcfdbbf341dde5)
Diffstat (limited to 'src/libgui/hex_editor.cpp')
-rw-r--r-- | src/libgui/hex_editor.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libgui/hex_editor.cpp b/src/libgui/hex_editor.cpp index a0f11fb..2245f51 100644 --- a/src/libgui/hex_editor.cpp +++ b/src/libgui/hex_editor.cpp @@ -34,9 +34,9 @@ HexEditorPart::HexEditorPart(HexEditor *editor) { setXMLFile("hexeditorpartui.rc"); - (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)KStdAction::save(editor, TQ_SLOT(save()), actionCollection()); + (void)KStdAction::saveAs(editor, TQ_SLOT(saveAs()), actionCollection()); + (void)new TDEToggleAction(i18n("Read Only Mode"), 0, 0, editor, TQ_SLOT(toggleReadOnly()), actionCollection(), "tools_toggle_write_lock"); } void HexEditorPart::setReadWrite(bool rw) @@ -85,9 +85,9 @@ TQWidget *HexEditor::createView(const Device::Data *data, TQWidget *parent) } if ( data==0 ) return new TQWidget(parent); Device::HexView *hv = Device::groupui(*data).createHexView(*this, parent); - connect(hv, TQT_SIGNAL(modified()), TQT_SLOT(slotModified())); + connect(hv, TQ_SIGNAL(modified()), TQ_SLOT(slotModified())); _dirty = true; - TQTimer::singleShot(0, this, TQT_SLOT(simpleLoad())); + TQTimer::singleShot(0, this, TQ_SLOT(simpleLoad())); return hv; } |