diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:05:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:05:21 -0600 |
commit | 6f617c4181afa90f3eba14139d4f92eb98834899 (patch) | |
tree | 8b1b3f1b1834eeca086e1b6948e926d726f3b025 /src/libgui/hex_editor.cpp | |
parent | b42d04f596e5440b17d954ba9e24d55368030120 (diff) | |
download | piklab-6f617c4181afa90f3eba14139d4f92eb98834899.tar.gz piklab-6f617c4181afa90f3eba14139d4f92eb98834899.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/libgui/hex_editor.cpp')
-rw-r--r-- | src/libgui/hex_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libgui/hex_editor.cpp b/src/libgui/hex_editor.cpp index 438996c..395ede5 100644 --- a/src/libgui/hex_editor.cpp +++ b/src/libgui/hex_editor.cpp @@ -36,13 +36,13 @@ HexEditorPart::HexEditorPart(HexEditor *editor) (void)KStdAction::save(TQT_TQOBJECT(editor), TQT_SLOT(save()), actionCollection()); (void)KStdAction::saveAs(TQT_TQOBJECT(editor), TQT_SLOT(saveAs()), actionCollection()); - (void)new KToggleAction(i18n("Read Only Mode"), 0, 0, TQT_TQOBJECT(editor), TQT_SLOT(toggleReadOnly()), actionCollection(), "tools_toggle_write_lock"); + (void)new TDEToggleAction(i18n("Read Only Mode"), 0, 0, TQT_TQOBJECT(editor), TQT_SLOT(toggleReadOnly()), actionCollection(), "tools_toggle_write_lock"); } void HexEditorPart::setReadWrite(bool rw) { KParts::ReadWritePart::setReadWrite(rw); - static_cast<KToggleAction *>(action("tools_toggle_write_lock"))->setChecked(!rw); + static_cast<TDEToggleAction *>(action("tools_toggle_write_lock"))->setChecked(!rw); } //----------------------------------------------------------------------------- |