diff options
author | Mavridis Philippe <[email protected]> | 2021-03-05 15:34:53 +0200 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2021-03-30 16:39:25 +0300 |
commit | 94b98729138c6948c1e4fdbb1e0552f85783f263 (patch) | |
tree | 5e0b741dc58c987c5468c750d80f6e14d20cafcb /kdesktop/kdiconview.h | |
parent | f06c728734b0102b131395f297de60877d4d0a66 (diff) | |
download | tdebase-94b98729138c6948c1e4fdbb1e0552f85783f263.tar.gz tdebase-94b98729138c6948c1e4fdbb1e0552f85783f263.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 <[email protected]>
Diffstat (limited to 'kdesktop/kdiconview.h')
-rw-r--r-- | kdesktop/kdiconview.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |