Commit Graph

634 Commits (2878e483494b14524394ae1680c8eb4bcae66d66)

Author SHA1 Message Date
Michele Calgaro 28b6fb9bca
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0d9263f836)
1 year ago
Michele Calgaro 1c65be77cd
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a4241b7911)
1 year ago
Michele Calgaro 0e5ef873f0
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c4a6487c82)
1 year ago
Michele Calgaro 3f84b83e22
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1390bece9a)
1 year ago
Michele Calgaro 71b2eaec09
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 82c1dbe490)
1 year ago
Michele Calgaro 139b166e1a
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 36f2e08fd3)
1 year ago
Michele Calgaro 7272c289be
Replace various tq* strings with TQt::* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 100f977221)
1 year ago
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 93dcc46824
Add six new color schemes taken from https://www.opendesktop.org.
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 688aa0fc28)
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 68cfcb9af6
twin: fix broken functionality introduced in recent commits
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5fde428606)
1 year ago
Michele Calgaro 9f1307134d
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2f0c2ae7b5)
1 year ago
Michele Calgaro dc36e4bfdb
twin: avoid adding strings from lib subfolders in two .pot files
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9ba68726b5)
1 year ago
Michele Calgaro 7ff24388e9
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a8f627e6d4)
1 year ago
Michele Calgaro 8e1816900b
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 014f6d2586)
2 years ago
Michele Calgaro 3515607e5a
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 67f2b0da2c)
2 years ago
Michele Calgaro 196b1629b9
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7bc43c68b3)
2 years 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
Michele Calgaro 76fa61f90d
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>
(cherry picked from commit 22625693f1)
2 years ago
Denis Kozadaev c449ec1768
Find power related system tools instead of hardcode them
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 3c23abfd84)
2 years ago
Michele Calgaro 22937e1577
Drop Qt2's TQSortedList class
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit dc8852cc1d)
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
Denis Kozadaev e4e948060d
SunOS UID scheme
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit bcd2bfcdc4)
2 years ago
Michele Calgaro 0e6f6f70f4
Drop TQT_NO_COMPAT code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit afb81ac10b)
2 years ago
Denis Kozadaev d984205f2e
SunOS specific patches
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit 4d58a4ea8d)
2 years ago
TDE Gitea 452c775ee3 Update translation template. 2 years ago
Michele Calgaro a71726c715
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>
(cherry picked from commit f3ddd5b7cd)
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