summaryrefslogtreecommitdiffstats
path: root/kxkb
Commit message (Collapse)AuthorAgeFilesLines
* Replace Qt with TQtMichele Calgaro2023-11-142-10/+10
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
* Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, ↵Michele Calgaro2023-09-252-3/+3
| | | | | | | QIODevice with TQ* version Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 33c7d159890b81da8f44ee330a349e3abd553bec)
* Replace Q_OBJECT with TQ_OBJECTMichele Calgaro2023-07-204-5/+5
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 814bf5fc4f403c13b0d8274c7f13fbef183c5c84)
* kxkb: prevent overflow in case of non-existing layout groupRoman Savochenko2023-06-301-2/+7
| | | | | | Signed-off-by: Roman Savochenko <roman@oscada.org> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d4d334c1af9256d6540b15e0188e9eb82b1fad55)
* kxkb: fix unnecessary translations strings.Roman Savochenko2023-06-301-3/+3
| | | | | | Signed-off-by: Roman Savochenko <roman@oscada.org> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d17e353a028f5cbfc2afc03d7190adb1aea457aa)
* kxkb: re-add custom TDE switching shortcutMavridis Philippe2023-06-1410-42/+135
| | | | | | | This commit fixes issue #342. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 22bb398b3ba83142bf49f6abf47081e5e9e11bef)
* Kxkb: improve TDE Control Centre module.Mavridis Philippe2023-03-2410-245/+778
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2415-712/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Improve Xkb option detectionMavridis Philippe2023-03-241-22/+90
| | | | | | | | 1. Prefer XML files for Xkb options, as on some systems they have the a fuller set of options with descriptions than plain Xkb rules files. 2. Various hacks to improve descriptions of newer Xkb options Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* kxkb: transparent indicator background featureMavridis Philippe2022-03-196-98/+162
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Removed unneeded quit() call.Mavridis Philippe2021-06-021-4/+4
| | | | | | | This resolves a problem with Kxkb's Quit confirmation, where pressing Cancel would nevertheless quit the program. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Added flags/definitions for existing locales.Mavridis Philippe2021-05-161-10/+28
| | | | | | | | | * Braille * Esperanto * Indonesian (Javanese) * Maori (New Zealand) Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Re-set previous layout after changing layout settings.Mavridis Philippe2021-05-162-120/+153
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Added customization options for KxkbMavridis Philippe2021-05-168-201/+569
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Ask pkg-config/find_file where we can find the X11 Xkb rules directory and ↵aneejit12020-07-271-5/+22
| | | | | | add some more candidate paths for xkbd to search Signed-off-by: aneejit1 <aneejit1@gmail.com>
* Removed unused repeatBixBIOS checkbox from keyboard settings. This resolves ↵Michele Calgaro2020-07-211-21/+0
| | | | | | bug 3142. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Desktop file translations:Slávek Banko2020-06-285-525/+19
| | | | | | | + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Improve German translation and fix some desktop files.Chris2019-12-172-3/+3
| | | | Signed-off-by: Chris <xchrisx@uber.space>
* Add CMakeL10n rules.Slávek Banko2018-12-091-0/+23
| | | | | | Update TIMEZONES list. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Removed hard-coded reference to /opt/trinity. This resolves bug 680.Michele Calgaro2018-08-281-2/+3
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix memory leak after use XGetAtomNameSlávek Banko2017-03-251-10/+11
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix invalid headers in PNG files and optimize for sizeTimothy Pearson2016-07-233-0/+0
|
* Fix FTBFS on freebsdSlávek Banko2015-06-122-2/+7
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fixed khelpcenter visualization bug. This solves bug 2188.Michele Calgaro2015-06-092-5/+5
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Bring keyboard icon into XDG complianceTimothy Pearson2015-03-262-2/+2
|
* Fixed help handbook sections for Regional & Accessibility. This relates to ↵Michele Calgaro2014-11-142-1/+16
| | | | bug 1850.
* Fix remaining missing semicolons at end of Keywords stringsTimothy Pearson2014-10-192-131/+131
|
* Revert "Fix remaining missing semicolons at end of Keywords strings"Timothy Pearson2014-10-192-131/+131
| | | | This reverts commit fd2369a8f0b40ef35586b3407750ec4662d1be7e.
* Fix remaining missing semicolons at end of Keywords stringsTimothy Pearson2014-10-192-131/+131
|
* Fix missing semicolons at end of Keywords stringsTimothy Pearson2014-10-182-2/+2
|
* Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to ↵Timothy Pearson2014-10-112-2/+2
| | | | match XDG specifications
* Fix Keywords separators to match XDG desktop specificationsTimothy Pearson2014-10-112-132/+132
|
* KDE->TDE branding cleanup.Darrell Anderson2013-12-261-1/+1
|
* Add source code module name to stdout/stderr messages to improve readability.Darrell Anderson2013-09-071-16/+16
|
* Additional k => tde renaming and fixesSlávek Banko2013-09-031-1/+1
|
* Add preliminary support to improve kcontrol keyboard repeat speed setting.Darrell Anderson2013-03-022-34/+41
| | | | This partially resolves bug report 1349.
* Rename additional header files to avoid conflicts with KDE4Timothy Pearson2013-02-156-11/+11
|
* Rename common header files for consistency with class renamingTimothy Pearson2013-02-144-5/+5
|
* Rename KIcon to enhance compatibility with KDE4Timothy Pearson2013-02-041-4/+4
|
* Rename many classes and header files to avoid conflicts with KDE4Timothy Pearson2013-02-012-4/+4
|
* Rename a number of classes to enhance compatibility with KDE4Timothy Pearson2013-02-012-3/+3
|
* Rename a number of libraries and executables to avoid conflicts with KDE4Timothy Pearson2013-01-277-8/+8
|
* Fix FTBFS resulting from KCModule renameTimothy Pearson2013-01-252-2/+2
|
* Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4Timothy Pearson2013-01-256-21/+21
|
* Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4Timothy Pearson2013-01-245-24/+24
|
* Rename KInstance and KAboutData to avoid conflicts with KDE4Timothy Pearson2013-01-221-2/+2
|
* Rename KApplication to TDEApplication to avoid conflicts with KDE4Timothy Pearson2013-01-201-2/+2
|
* Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4Timothy Pearson2013-01-191-1/+1
|
* Branding: KDE panel->TDE panel.Darrell Anderson2012-06-271-1/+1
|
* Update XDG information in support of bug report 892.Darrell Anderson2012-06-082-10/+10
|