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 --- kdesktop/kdiconview.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kdesktop/kdiconview.h') diff --git a/kdesktop/kdiconview.h b/kdesktop/kdiconview.h index 7b20e1817..f3ebe6718 100644 --- a/kdesktop/kdiconview.h +++ b/kdesktop/kdiconview.h @@ -75,6 +75,7 @@ public: void lineupIcons(TQIconView::Arrangement); + void setIconsLocked( bool b ); void setAutoAlign( bool b ); TQStringList selectedURLs(); @@ -165,6 +166,9 @@ public slots: void slotClear(); void refreshIcons(); + void incIconSpacing(); + void decIconSpacing(); + protected slots: void slotFreeSpaceOverlayStart(); void slotFreeSpaceOverlayFinished(); @@ -214,6 +218,7 @@ private: bool m_bNeedRepaint; bool m_bNeedSave; + bool m_iconsLocked; bool m_autoAlign; /** true if even one icon has an icon-position entry in the .directory */ -- cgit v1.2.1