diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-05 15:34:53 +0200 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-03-30 22:44:39 +0900 |
commit | e462d99db6350ca0811900e714b78b48d04ab650 (patch) | |
tree | 451472f6dc9fb5879055ad9b82368027998d85c0 /kcontrol/konq/desktopbehavior_impl.h | |
parent | 3c1547635df0c6eb61a9693af90143d0cf04f79c (diff) | |
download | tdebase-e462d99db6350ca0811900e714b78b48d04ab650.tar.gz tdebase-e462d99db6350ca0811900e714b78b48d04ab650.zip |
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 <mavridisf@gmail.com>
(cherry picked from commit 94b98729138c6948c1e4fdbb1e0552f85783f263)
Diffstat (limited to 'kcontrol/konq/desktopbehavior_impl.h')
-rw-r--r-- | kcontrol/konq/desktopbehavior_impl.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 ); |