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-29 16:48:53 +0900 |
| commit | c679361a50aee162491e7195f2bcfdbbf341dde5 (patch) | |
| tree | c8ff90ba1810054b7e53a79649b0e33a0937e74f /src/libgui/hex_editor.cpp | |
| parent | a8207be921513da0ccccf41e36e056736c2b8457 (diff) | |
| download | piklab-c679361a50aee162491e7195f2bcfdbbf341dde5.tar.gz piklab-c679361a50aee162491e7195f2bcfdbbf341dde5.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
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 | 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; } |
