Commit Graph

620 Commits (c0ca8145ad153f857ed3567a49fe0bd5acfe685b)

Author SHA1 Message Date
Michele Calgaro 67f2b0da2c
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 7bc43c68b3
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 814bf5fc4f
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 22625693f1
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Mavridis Philippe 88ea716029
KWin: rename client libraries twin3_* -> twin_*
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
Denis Kozadaev 3c23abfd84 Find power related system tools instead of hardcode them
Signed-off-by: Denis Kozadaev <denis@dilos.org>
2 years ago
Michele Calgaro dc8852cc1d
Drop Qt2's TQSortedList class
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Mavridis Philippe 22bb398b3b
kxkb: re-add custom TDE switching shortcut
This commit fixes issue #342.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
2 years ago
Denis Kozadaev bcd2bfcdc4
SunOS UID scheme
Signed-off-by: Denis Kozadaev <denis@dilos.org>
2 years ago
Michele Calgaro afb81ac10b
Drop TQT_NO_COMPAT code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Denis Kozadaev 4d58a4ea8d
SunOS specific patches
Signed-off-by: Denis Kozadaev <denis@dilos.org>
2 years ago
TDE Gitea 9ab17ab401 Update translation template. 2 years ago
Michele Calgaro f3ddd5b7cd
konqueror: add option to enable/disable using double click to navitage to the parent folder. This resolves issue #329
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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
Michele Calgaro ef300a683d
hwmanager: use alphabetically sorted menus in tdehwdevicetray.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 9d96714f59
hwmanager: tdehwdevicetray now uses the same names used in Konqueror and KDesktop for the storage drives.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 2ffa44200e
hwmanager: avoid unnecessary update of device names on status change. This relates to issue TDE/tde#110.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 68c1810b9e
hwmanager: Do not open a popup window when clicking on a notification,
if automatic opening of popup windows is enabled.
2 years ago
Michele Calgaro d196e674e1
hwmanager: add LMB menu based on storage devices.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 8c95671998
hwmanager: rework code for RMB menu. This does not add any new
functionality but allows the future LMB menu to reuse some of the code.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro b1d5dab80d
hwmanager: use a private class 'd' to store internal members of HwDeviceSystemTray.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 8410f6bd00
hwmanager: remove current LMB menu. Rearrange code of RMB menu. Use MMB click to
show the Device Manager dialog directly.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 65356d900d
Remove unnecessary accelerator from .ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 8631bc8993
TCC taskbar configuration: fixed up remaining issues in 'Appearance' tab.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Mavridis Philippe a4c1a3f27e
kcmtaskbar: Disable "on hover" option if halo option is on
This corresponds to the actual behaviour of Kicker.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe fa3482b2ed
Taskbar thumbs option: Add notice about needing TWin compositor
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe e94cb59fe2
KCMTaskbar: various adjustments
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 74466041a6
Taskbar: small/panel icon size selection.
By default the 16x16 value was hardcoded into the taskbar, which
is not correct.

With this commit the default value is TDEIcon::Small (can be
defined in TCC->LookNFeel->Icons) to retain the "classic" style.

This commit adds a "Small icons" checkbox which can be unchecked
to set the icon size to TDEIcon::Panel (for consistency with
other panel icons). Combined with "Icons only", this produces
a Plasma/Windows-like big icon taskbar.

This commit also ensures that in "Icons only" mode the icons
are centered in their button, for better looking result.

Finally, this commit fixes a typo in some macros
(TABSKAR -> TASKBAR).

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 8059293813
kcmtaskbar: UI improvements
The module settings are now split between three tabs,
which looks better overall and a little less overloaded.

Additionaly, some new settings which were already present
for the config have been exposed (thumbnails, max button
width).

Finally, some settings have been further refined for
customization (button styles, which were previously
hardcoded -Clssic, Optimal, For transparency- can
now be precisely configured.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Michele Calgaro 14bc816be9
Use Scale & Crop as default style for wallpaper.
Add more options to "Set as Background" menu in Konqueror.
This resolves issue #280 and issue #281.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe ee161dcf9e
Konsole: real transparency switch
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Michele Calgaro b425c87ca3
tdehwdevicetray: add 'eject' and 'safe remove' buttons to the disk properties dialog.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 6258379360
tdehwdevicetray: add 'safe remove' to the list of available actions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko 58d7c36054
Modify screen savers detection that the XSCREENSAVER_DIRS
and XSCREENSAVER_CONFIG_DIRS variables allow multiple paths.

Likewise, the XSCREENSAVER HACKS DIRS variable used to search
for an screen saver executable can contain multiple paths.

This relates to TDE/tdeartwork#19.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro 88d92af3c1
hwmanager: use tdeio_media_mounthelper process to
mount/unmout/lock/unlock/ejct media devices.
This ensures a consistent media device status also with complex
partition structures and LUKS encryption.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 40ef766f02
tdeio media: add releaseHolders parameter to lock/lockByNode dcop calls.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 3aa097d05d
hwmanager: simplify code after tdelibs commit 5f795c0b.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 449305f190
tdehwdevicetray: use DCOP calls instead of direct tdehw calls to mount/unmount/unlock/lock/eject devices. This is for consistency of behavior and error messages.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro c9e2911bdb
tdehwdevicemanager: fix SEGV caused by removing a device when the Device list
dialog is open. Also make sure to update the device list correctly when
a device is removed.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro c8b66185be
tdehwdevicemanager: make sure to stop polling when closing the device dialog.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
OBATA Akio 5a573b7c95 kcontrol/usview: fix up "Revive NetBSD support"
Signed-off-by: OBATA Akio <obache@wizdas.com>
3 years ago
Michele Calgaro 3078b5fa12
Replaced 'includehints' with 'includes' in *.ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Mavridis Philippe 10cddab2e3
TDEMenu search shortcut: various fixes
* Better Escape key usage prevention
* Better handling of different shortcut counts (0 vs 1 vs 2)
* Fixed a deprecated function call to setShortcut()

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Michele Calgaro e8d8664504
Added support for variable font DPI (range 64-512) in user session.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko 0f139004ca
kcontrol/tde-menu: Items for adjust text now depends on Display text in menu button checkbox.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko 622236d203
kcontrol/tde-menu: Search shortcut label now depends on Enable search checkbox.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Mavridis Philippe c3d4d73313
Search cut: Add check for Escape key
We cannot accept the Escape key as a search shortcut
as it is bound to other actions already.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 4a60c1ead4
Search shortcut option now depends on "Enable search" checkbox.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 2557c13094
TDE Menu: Customizable search line shortcut
This resolves issue #176.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Slávek Banko 9a444a3310
KControl: Allow RandR warning to translate.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago