From c11d594b3db4b18ca49f2bc5a5b130c6c737776f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Jun 2018 20:16:35 +0900 Subject: tdefilereplace: added default shortcut to open search/replace window (CTRL+F as used in many editors for Find). Signed-off-by: Michele Calgaro --- tdefilereplace/tdefilereplacepart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdefilereplace') diff --git a/tdefilereplace/tdefilereplacepart.cpp b/tdefilereplace/tdefilereplacepart.cpp index 69aee28..455b69c 100644 --- a/tdefilereplace/tdefilereplacepart.cpp +++ b/tdefilereplace/tdefilereplacepart.cpp @@ -577,7 +577,7 @@ void TDEFileReplacePart::initGUI() } } // File - (void)new TDEAction(i18n("Customize Search/Replace Session..."), "projectopen", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSetNewParameters()), actionCollection(), "new_project"); + (void)new TDEAction(i18n("Customize Search/Replace Session..."), "projectopen", TDEShortcut(CTRL + Key_F), TQT_TQOBJECT(this), TQT_SLOT(slotSetNewParameters()), actionCollection(), "new_project"); (void)new TDEAction(i18n("&Search"), "filesearch", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSearchingOperation()), actionCollection(), "search"); (void)new TDEAction(i18n("S&imulate"), "filesimulate", 0, TQT_TQOBJECT(this), TQT_SLOT(slotSimulatingOperation()), actionCollection(), "file_simulate"); (void)new TDEAction(i18n("&Replace"), "filereplace", 0, TQT_TQOBJECT(this), TQT_SLOT(slotReplacingOperation()), actionCollection(), "replace"); -- cgit v1.2.1