Bug 45674 - A fast way to change the keymapping in Konqueror
Summary: A fast way to change the keymapping in Konqueror
Status: REPORTED
Alias: None
Product: konqueror
Classification: Applications
Component: konq-e (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror/Embedded Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-23 21:33 UTC by Unknown
Modified: 2004-05-26 12:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominic Coulombe 2002-07-23 21:29:57 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: konq-e
Version: snapshot-20020311
Severity: wishlist
Installed from: Compiled sources
Compiler: gcc 2.95.3 (SuSE 7.2 packaged version)
OS: Linux
OS/Compiler notes: SuSE 7.2

I think that a fast way to edit the keymapping should be great in
konqueror/konq-e.  It would help developpers to change easily a setting
re-compile and everything would be done.

I did a workaround by creating a keymapping.h file containing some
#define in it so it will be possible to edit this only file to change
the settings (sure I have to rebuild after but I'm OK with it) in the
whole application.

An example would be :
#define KEY_CLOSE_VIEW CTRL + Key_W

Files to modify with the new defined keys seems to be (in the konqueror
embedded snapshot 20020311) :
- src/mainwindowbase.cc
- dropin/kio/passdlg.cpp
- kdesrc/khtml/khtml_part.cpp
- kdesrc/khtml/khtmlview.cpp
- kdesrc/khtml/testkhtml.cpp
- kdesrc/khtml/rendering/render_form.cpp
- kdesrc/kio/http/kcookiejar/kcookiejarwin.cpp

It worked for us as we needed to use only some keys available on the
keypad of our embedded device which may not always have an external
keyboard or mice.

Thanks.

--=20
_____________________________________
Dominic Coulombe
Programmeur / Programmer

HARFANG Microtechniques inc.
420 Boulevard Charest Est Suite 200
Qu=E9bec ( Canada ) G1K 8M4
Tel.: (418) 683-6222 / 1-866-HARFANG
Fax: (418) 683-7032

dcoulombe@harfangmicro.com
Comment 1 Stephan Kulow 2004-05-25 09:24:08 UTC
Replaced dcoulombe@harfangmicro.com with null@kde.org due to bounces by reporter
Comment 2 Paul Chitescu 2004-05-26 12:27:29 UTC
The CVS version can assign accelerator keys from the XML UI (file konqe.rc) for all commands in the main menu and toolbar(s).

Secondary, hidden accelerators can also be added from the konq-embedrc file that can map any key code to an action or URL. This is handy for the special keys found on some devices or when more than one accelerator is needed.