summaryrefslogtreecommitdiffstats
path: root/kxkb/kcmlayout.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORTMichele Calgaro2024-05-051-3/+3
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* kxkb: fix incorrect signal name introduced by 1fea8982fAlexander Golubev2024-03-291-1/+1
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* kxkb: utilize a translations provseided by xkeyboard-configAlexander Golubev2024-03-031-9/+11
| | | | | | | | | xkeyboard-config package comes with a message catalogue of its own to translate locale, keyboard model and xkb option names. It would be easier and more robust to utilize it instead of redoing all translation in-house. Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* kxkb: add missing connectAlexander Golubev2024-03-031-0/+1
| | | | | | | Overvise apply button on the dialog won't be enablen when the option is changed Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-161-38/+38
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replace various '#define' strings - part 6Michele Calgaro2023-12-261-28/+28
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* KXkb: add keyboard layout notificationMavridis Philippe2023-12-251-0/+9
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* kxkb: fix unnecessary translations strings.Roman Savochenko2023-06-291-3/+3
| | | | | Signed-off-by: Roman Savochenko <roman@oscada.org> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* kxkb: re-add custom TDE switching shortcutMavridis Philippe2023-06-141-2/+22
| | | | | | This commit fixes issue #342. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Kxkb: improve TDE Control Centre module.Mavridis Philippe2023-03-241-65/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Add conflicts check for hotkey checkboxes Due to the ability to set multiple keyboard layout switching hotkeys, it is important to inform the user of conflicting options that are not handled properly by the X.org server when set at the same time (e.g. Win+Space and Alt+Space). This change adds a warning that informs the user about the problem and the conflicting options. This warning is shown only when setting multiple hotkeys via the Xkb options tab, which is for the advanced user. Most users will ever need only one hotkey, and the combobox on the first tab should be more than enough. 2) Add "none" item to layout switching options 3) Replace Reset old options checkbox with radio buttons As per discussion, this makes the function of the option more apparent. WhatIs hints have been added for additional clarity. 4) Update hotkey combobox per server options 5) Avoid duplication of options by querying Xkb for already set options. This was a problem in Append Mode in which `setxkbmap` strings would get too long due to setting already set options. This code checks for already set options and omits them from the new `setxkbmap` call. This does not apply to Overwrite Mode. 6) Overwrite previous grp: options when using the combobox See previous commit message about the addition of hotkeys combobox. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Kxkb: Improve layout switchingMavridis Philippe2023-03-241-107/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) New layout switching approach The new approach is based on the "grp" options group of Xkb and so enables us to use predefined X11 layout (group) switching hotkeys like "Caps Lock" or "Shift+Alt" (you can see the full list in the Options tab). The added bonus to this is that we conform to the Xkb setting. The code lets Xkb handle the keyboard layout switching hotkey(s) and is similar to the one that is used in kkbswitch, monitoring for an Xkb group (layout) change event. This solution required me to remove some hacky and obsolete code which was there to support really old pre-XFree-4.2 era systems and included the "include groups" hack. This means that the "Enable latin layout" checkbox is now gone and setxkbmap is only called when the keyboard layouts and/or options are modified, and not for every layout change. 2) Common layout switching hotkeys combobox A combobox was added to the first page of the Keyboard Layouts KCM module. It provides to the users a quick way to set a layout switching key combination. It also controls the "grp" group in the Xkb tab. A special note about this combobox is that, even if Append Mode was selected in the Xkb Options tab, this hotkey will overwrite previous hotkey options. This means that all grp: options will be forced removed before applying the option from the combobox (in contrast to specifying options via the Xkb Options tab, which, in Append Mode, will not get overwritten until next login). Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* kxkb: transparent indicator background featureMavridis Philippe2022-03-191-0/+8
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Re-set previous layout after changing layout settings.Mavridis Philippe2021-05-161-28/+61
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Added customization options for KxkbMavridis Philippe2021-05-161-42/+73
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Fixed khelpcenter visualization bug. This solves bug 2188.Michele Calgaro2015-06-091-4/+4
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed help handbook sections for Regional & Accessibility. This relates to ↵Michele Calgaro2014-11-141-0/+14
| | | | bug 1850.
* Rename additional header files to avoid conflicts with KDE4Timothy Pearson2013-02-151-2/+2
|
* Rename common header files for consistency with class renamingTimothy Pearson2013-02-141-1/+1
|
* Rename a number of libraries and executables to avoid conflicts with KDE4Timothy Pearson2013-01-271-1/+1
|
* Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4Timothy Pearson2013-01-251-7/+7
|
* Revert "Rename a number of old tq methods that are no longer tq specific"Timothy Pearson2011-12-161-1/+1
| | | | This reverts commit 73c08b592db45af554b9f21029bc549d70f683ab.
* Rename a number of old tq methods that are no longer tq specificTimothy Pearson2011-12-151-1/+1
|
* Additional kde to tde renamingTimothy Pearson2011-11-061-1/+1
|
* rename the following methods:tpearson2011-08-101-8/+8
| | | | | | | | | tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Enable compilation with TQt for Qt4 3.4.0 TP2tpearson2011-01-191-31/+31
| | | | | | | This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Revert automated changestpearson2011-01-071-61/+61
| | | | | | | | Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1212480 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1tpearson2011-01-031-61/+61
| | | | git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* * Massive import of OpenSUSE patches, primarily for bugfixestpearson2010-09-031-0/+3
| | | | | | | | * Added some infrastructure created by OpenSUSE to allow for future addition of the Kickoff menu as an option * Minor Slackware compilation fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1171255 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Trinity Qt initial conversiontpearson2010-07-311-145/+145
| | | | git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.toma2009-11-251-0/+976
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da