Commit Graph

76 Commits (6c067940724bd28124ad6230261be4840928dcc4)

Author SHA1 Message Date
Michele Calgaro a49b0e2c53
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b965cbac5b)
1 year ago
Michele Calgaro 0bfe293635
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 33c7d15989)
1 year ago
Michele Calgaro 5c10665b72
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 814bf5fc4f)
2 years ago
Roman Savochenko 87b9269efb
kxkb: prevent overflow in case of non-existing layout group
Signed-off-by: Roman Savochenko <roman@oscada.org>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d4d334c1af)
2 years ago
Roman Savochenko 1206271a07
kxkb: fix unnecessary translations strings.
Signed-off-by: Roman Savochenko <roman@oscada.org>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d17e353a02)
2 years ago
Mavridis Philippe 4e428e11c5
kxkb: re-add custom TDE switching shortcut
This commit fixes issue #342.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 22bb398b3b)
2 years ago
Mavridis Philippe e8208c1dfb
Kxkb: improve TDE Control Centre module.
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>
2 years ago
Mavridis Philippe a67db2d484
Kxkb: Improve layout switching
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>
2 years ago
Mavridis Philippe b50ab13974
Kxkb: Improve Xkb option detection
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>
2 years ago
Mavridis Philippe d048506bb6
kxkb: transparent indicator background feature
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 3bdd919eec
Removed unneeded quit() call.
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>
4 years ago
Mavridis Philippe ff8e7b2753
Added flags/definitions for existing locales.
* Braille
* Esperanto
* Indonesian (Javanese)
* Maori (New Zealand)

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
4 years ago
Mavridis Philippe 44ae59c0d9
Re-set previous layout after changing layout settings.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
4 years ago
Mavridis Philippe eff93621da
Added customization options for Kxkb
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
4 years ago
aneejit1 3abd9e912c Ask pkg-config/find_file where we can find the X11 Xkb rules directory and add some more candidate paths for xkbd to search
Signed-off-by: aneejit1 <aneejit1@gmail.com>
5 years ago
Michele Calgaro c320afae2f Removed unused repeatBixBIOS checkbox from keyboard settings. This resolves bug 3142.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko 2f706891f3
Desktop file translations:
+ 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>
5 years ago
Chris 7b55ca5987 Improve German translation and fix some desktop files.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Slávek Banko b95b665c78
Add CMakeL10n rules.
Update TIMEZONES list.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro bcbc3ba665
Removed hard-coded reference to /opt/trinity. This resolves bug 680.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko ba2fe63167 Fix memory leak after use XGetAtomName
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Timothy Pearson 09dce5e19f Fix invalid headers in PNG files and optimize for size 9 years ago
Slávek Banko 08122b137e Fix FTBFS on freebsd
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Michele Calgaro da25462d26 Fixed khelpcenter visualization bug. This solves bug 2188.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
Timothy Pearson 477ef4454d Bring keyboard icon into XDG compliance 10 years ago
Michele Calgaro 8858fc1159 Fixed help handbook sections for Regional & Accessibility. This relates to bug 1850. 10 years ago
Timothy Pearson cce4a56a19 Fix remaining missing semicolons at end of Keywords strings 10 years ago
Timothy Pearson b9637c7590 Revert "Fix remaining missing semicolons at end of Keywords strings"
This reverts commit fd2369a8f0.
10 years ago
Timothy Pearson fd2369a8f0 Fix remaining missing semicolons at end of Keywords strings 10 years ago
Timothy Pearson 0c11ace605 Fix missing semicolons at end of Keywords strings 11 years ago
Timothy Pearson 24db855178 Fix ServiceTypes, ExcludeServiceTypes, and DocPath desktop file entries to match XDG specifications 11 years ago
Timothy Pearson ee9dade9cf Fix Keywords separators to match XDG desktop specifications 11 years ago
Darrell Anderson 26dbe18ed4 KDE->TDE branding cleanup. 11 years ago
Darrell Anderson f123d99fd3 Add source code module name to stdout/stderr messages to improve readability. 12 years ago
Slávek Banko 3e88ddfbc3 Additional k => tde renaming and fixes 12 years ago
Darrell Anderson 8f1fb61e82 Add preliminary support to improve kcontrol keyboard repeat speed setting.
This partially resolves bug report 1349.
12 years ago
Timothy Pearson 77cbe84cb6 Rename additional header files to avoid conflicts with KDE4 12 years ago
Timothy Pearson 9286b9ebcc Rename common header files for consistency with class renaming 12 years ago
Timothy Pearson de9b6c9ad1 Rename KIcon to enhance compatibility with KDE4 12 years ago
Timothy Pearson a5430e4b98 Rename many classes and header files to avoid conflicts with KDE4 12 years ago
Timothy Pearson f537c21b68 Rename a number of classes to enhance compatibility with KDE4 12 years ago
Timothy Pearson de7e5867a6 Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
Timothy Pearson 1a9478c6e1 Fix FTBFS resulting from KCModule rename 12 years ago
Timothy Pearson cc74f360bb Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 12 years ago
Timothy Pearson 79b21d47bc Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 12 years ago
Timothy Pearson 1d061b286a Rename KInstance and KAboutData to avoid conflicts with KDE4 12 years ago
Timothy Pearson e4e0479220 Rename KApplication to TDEApplication to avoid conflicts with KDE4 12 years ago
Timothy Pearson d41050ea3f Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 12 years ago
Darrell Anderson 203803575d Branding: KDE panel->TDE panel. 13 years ago
Darrell Anderson 94f3dbe7c5 Update XDG information in support of bug report 892. 13 years ago