summaryrefslogtreecommitdiffstats
path: root/kcontrol
Commit message (Collapse)AuthorAgeFilesLines
* KControl: implement dynamic module testsMavridis Philippe2024-09-081-2/+2
| | | | | | | | | | | | | | | | | | Since KDE 3.4 there is underlying support for dynamically determining whether a module should be loaded or not, depending on an exported test function which would return a boolean value depending on the success of one or more tests (e.g. for presence of specific hardware). This approach is documented but has so far not been implemented by the TDE Control Centre. This commit adds a check to the TCC which performs the test function if needed (that is, if the X-TDE-Test-Module property is true) and, if it returns false, prevents showing the module in the tree list, which is the intended behaviour of the test function feature. For more information see: https://wiki.trinitydesktop.org/index.php?title=TDEConfig_Module_HOWTO&oldid=1893#Making_a_KCModule_dynamically_available Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit e91257a7c75a50b69bde8189f336acc89fa4fec0)
* Improve settings for some sliders related to keyboard, accessibility and ↵Michele Calgaro2024-08-012-5/+5
| | | | | | | style. This also solves issue #513 Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8afb12b32bbc7ef5de9a3821b6f2dae7c658e7db)
* kcmkeys: update keyboard shortcut schemesMavridis Philippe2024-08-016-12/+24
| | | | | | | | - Add actions related to keys XF86Sleep (Suspend) and XF86ScreenSaver (Lock Session) - Fix name of "Log Out" actions Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit e0069f90483ba30d28dd76ee3e0c82d7b94bc00b)
* Add support for assigning global shortcuts for suspend actionsMavridis Philippe2024-08-012-0/+2
| | | | | | | | | | | The corresponding shortcuts have been added as part of the KDesktop shortucts, to complement similar options (logout, shutdown, reboot). The shortcuts are only shown for the options that KSMServer reports via DCOP as valid. In order to do be able to make a DCOP call from kdesktopbindings.cpp, the <dcopref.h> include had to be added to several files of the shortcuts TDECM. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 95837cc844210a35b3374bbe707cb82920b80a9b)
* Mouse TDECM: do not hide checkboxes in case of option unavailabilityMavridis Philippe2024-06-091-21/+4
| | | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 7cc4d46cf55b013a02b6c3b7df6b5d536e69f1f1)
* Mouse TDECM: Improve wording for whatsThis optionsMavridis Philippe2024-06-091-2/+2
| | | | | | | Affected options are "Reverse scroll direction" and "Swap history navigation buttons" Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 55c98d884901d4c50f60b769519b019e4f160052)
* Mouse TDECM: add option to swap history navigation buttonsMavridis Philippe2024-06-083-6/+63
| | | | | | | | | This leverages the existing code that interacts with X11 and sets the setting system-wide, as happens already with scroll direction reversal. This resolves issue #497. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit e6a4b278ed17b0915163a0ad31a1ccabd26b82ee)
* Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORTMichele Calgaro2024-05-0532-96/+96
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 026828840f8255b5c4fde83ea95209f6f1f5ef8f)
* Update translation template.r14.1.2Automated System2024-04-181-9/+2
|
* Add GUI option to choose between standard and Ubuntu-style shutdown dialog.Michele Calgaro2024-03-252-0/+19
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 78d96bd2009b8741564df4778b63d3091610dbd7)
* Fix update of fade away checkboxes in TCC session manager moduleMichele Calgaro2024-03-223-28/+19
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a7dc4c51d5edb098aab42d57d177f9968545926e)
* kcontrol/smserver: rephrase fadeaway descriptionAlexander Golubev2024-03-031-4/+4
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit a646f58853c9bc888488ed5508012e468148e983)
* kcontrol/input: fix incorrect statements whatsthis + some rewordingAlexander Golubev2024-03-031-8/+9
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit bf3ffaced316838216ed076b01730299755cda2b)
* kcontrol-info-memory: use 64 bits variable to store memory sizeDenis Kozadaev2024-02-291-3/+2
| | | | | Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit 220dec20f9df8117a09b29571d3dab0d02997790)
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-144-6/+6
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2d7d2122cf33aa713cebef95981305039c798003)
* Replace Q_SIGNALS and Q_SLOTSMichele Calgaro2024-02-0418-38/+38
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0d9263f836b892b03742c494bd236d57b63ebb19)
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-16169-1765/+1765
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
* Replace various '#define' strings - part 6Michele Calgaro2023-12-2619-49/+49
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682)
* Replaced various '#define' with actual strings - part 5Michele Calgaro2023-12-053-3/+3
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1390bece9a81780610a9aee6f7d543f72bf57d1a)
* Replaced various '#define' with actual strings - part 4Michele Calgaro2023-11-261-7/+7
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 82c1dbe490f7afcb5b48fdfb8748bde249bcf4f7)
* Replaced various '#define' with actual strings - part 3Michele Calgaro2023-11-251-3/+3
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 36f2e08fd382c7042fbd3c8e7708f3ba1b9c9bd7)
* Replace various tq* strings with TQt::* equivalentsMichele Calgaro2023-11-213-3/+3
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 100f977221b7319815eb9617f56a067cb0383853)
* Replace Qt with TQtMichele Calgaro2023-11-1445-115/+115
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
* Add six new color schemes taken from https://www.opendesktop.org.Michele Calgaro2023-11-027-0/+158
| | | | | | | | | | | | | | There is no license files on the website, but based on the site Terms & Conditions, it seems reasonable to redistribute this files under GPL2 license. Human: https://www.opendesktop.org/p/1123955/ Last.fm: https://www.opendesktop.org/p/1123742/ Lizard: https://www.opendesktop.org/p/1123562 Platinum: https://www.opendesktop.org/p/1123528/ Sienna: https://www.opendesktop.org/p/1123485/ WedgeWeb: https://www.opendesktop.org/p/1123249/ Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 688aa0fc28d3de8665b7b151eba65fe49e02187f)
* Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, ↵Michele Calgaro2023-09-2511-31/+31
| | | | | | | QIODevice with TQ* version Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 33c7d159890b81da8f44ee330a349e3abd553bec)
* twin: fix broken functionality introduced in recent commitsMichele Calgaro2023-09-151-1/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5fde4286063666e491dcabb7f9e4c22ca6ed963c)
* Replace various tqtinterface's TQ_* defines with actual typesMichele Calgaro2023-09-121-4/+4
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2f0c2ae7b5a9144566dad971c4231709d19ece7a)
* twin: avoid adding strings from lib subfolders in two .pot filesMichele Calgaro2023-09-121-0/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9ba68726b5f486af09b7e1d6dd3cd2a8394e2ea4)
* Replace TQ_*Focus* and TQ_Scale* definesMichele Calgaro2023-09-0411-12/+12
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a8f627e6d45af521718176586daf0253b4daa597)
* Drop USE_TQT4 codeMichele Calgaro2023-08-312-5/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 014f6d2586905e03681aa6fb9a85c2c8190e53f4)
* Drop TQT_TQ*_CONST definesMichele Calgaro2023-08-102-2/+2
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 67f2b0da2c80c3ee335aecda5dfedf3176edd8b9)
* Drop TQT_TQ*_OBJECT definesMichele Calgaro2023-08-082-4/+4
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7bc43c68b3c095631628e1fb691242315687d15b)
* Replace Q_OBJECT with TQ_OBJECTMichele Calgaro2023-07-20187-221/+221
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 814bf5fc4f403c13b0d8274c7f13fbef183c5c84)
* Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the ↵Michele Calgaro2023-07-135-14/+14
| | | | | | | merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 22625693f124aae09863f4d33e30b625a96c3557)
* Find power related system tools instead of hardcode themDenis Kozadaev2023-06-201-9/+7
| | | | | Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit 3c23abfd84440d769bc20707e04cb356ddb48c1a)
* Drop Qt2's TQSortedList classMichele Calgaro2023-06-201-1/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit dc8852cc1d6b347fe4681ef24f31732c6d96bb8b)
* kxkb: re-add custom TDE switching shortcutMavridis Philippe2023-06-143-0/+4
| | | | | | | This commit fixes issue #342. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 22bb398b3ba83142bf49f6abf47081e5e9e11bef)
* SunOS UID schemeDenis Kozadaev2023-06-131-3/+11
| | | | | Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit bcd2bfcdc49dcf97b730889d5554b15623072a40)
* Drop TQT_NO_COMPAT codeMichele Calgaro2023-06-091-2/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit afb81ac10bd36b5aecc679a78ff4fca751bd065b)
* SunOS specific patchesDenis Kozadaev2023-05-233-14/+39
| | | | | Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit 4d58a4ea8daf1a3cb91b7d8c6e574dd6f5bdb685)
* Update translation template.Automated System2023-05-021-0/+1
|
* konqueror: add option to enable/disable using double click to navitage to ↵Michele Calgaro2023-04-302-0/+9
| | | | | | | the parent folder. This resolves issue #329 Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f3ddd5b7cd91574ac67d6c5dcf1c40093285d200)
* Kxkb: Improve layout switchingMavridis Philippe2023-03-243-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* hwmanager: use alphabetically sorted menus in tdehwdevicetray.Michele Calgaro2023-03-131-21/+37
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: tdehwdevicetray now uses the same names used in Konqueror and ↵Michele Calgaro2023-03-112-52/+66
| | | | | | KDesktop for the storage drives. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: avoid unnecessary update of device names on status change. This ↵Michele Calgaro2023-02-172-24/+18
| | | | | | relates to issue TDE/tde#110. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: Do not open a popup window when clicking on a notification,Slávek Banko2023-02-161-0/+7
| | | | if automatic opening of popup windows is enabled.
* hwmanager: add LMB menu based on storage devices.Michele Calgaro2023-02-082-51/+158
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: rework code for RMB menu. This does not add any newMichele Calgaro2023-02-062-373/+161
| | | | | | functionality but allows the future LMB menu to reuse some of the code. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* hwmanager: use a private class 'd' to store internal members of ↵Michele Calgaro2023-02-062-129/+141
| | | | | | HwDeviceSystemTray. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>