From 94b98729138c6948c1e4fdbb1e0552f85783f263 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Fri, 5 Mar 2021 15:34:53 +0200 Subject: KDesktop: customizable icon spacing. This commit introduces changes to KDesktop which allow for a custom icon spacing option, some new controls into the Desktop Behaviour module of KControl, as well as the KDesktop Ctrl+Mouse Scroll binding to manipulate the icon spacing. This commit depends on a previous (minor) change in LibKonq. Signed-off-by: Mavridis Philippe --- kcontrol/konq/desktopbehavior_impl.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'kcontrol/konq/desktopbehavior_impl.h') diff --git a/kcontrol/konq/desktopbehavior_impl.h b/kcontrol/konq/desktopbehavior_impl.h index bc5965750..8a1a5c247 100644 --- a/kcontrol/konq/desktopbehavior_impl.h +++ b/kcontrol/konq/desktopbehavior_impl.h @@ -44,10 +44,12 @@ signals: void changed(); private slots: - void enableChanged(); + void enableChanged(); + void enableGridChanged(); void comboBoxChanged(); void editButtonPressed(); void mediaListViewChanged(TQListViewItem * item); + void spacingChanged(int value); private: TDEConfig *g_pConfig; @@ -56,6 +58,8 @@ private: void saveMediaListView(); void setMediaListViewEnabled(bool enabled); + void toggleSpacingOpts(); + // Combo for the menus void fillMenuCombo( TQComboBox * combo ); -- cgit v1.2.1