diff options
| author | Kai Uwe Broulik <[email protected]> | 2021-12-16 19:29:22 +0100 |
|---|---|---|
| committer | Kai Uwe Broulik <[email protected]> | 2022-01-09 18:09:10 +0100 |
| commit | 0603e18cd4e36b988196a99810f2e3e803fe3125 (patch) | |
| tree | 6d70829efea053cb36c9e6618d8feadd45569a91 /src/panels/places/placesview.h | |
| parent | 3abc4cfcd49df45c856e1b5f01da8de8f970ccb2 (diff) | |
Port back to KFilePlacesView
This removes the custom-view engine version of the places panel
and replaces it with the upstream `KFilePlacesView` from KIO.
Diffstat (limited to 'src/panels/places/placesview.h')
| -rw-r--r-- | src/panels/places/placesview.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/panels/places/placesview.h b/src/panels/places/placesview.h deleted file mode 100644 index 86515f56b..000000000 --- a/src/panels/places/placesview.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * SPDX-FileCopyrightText: 2012 Frank Reininghaus <[email protected]> - * - * SPDX-License-Identifier: GPL-2.0-or-later - */ - -#ifndef PLACESVIEW_H -#define PLACESVIEW_H - -#include "kitemviews/kstandarditemlistview.h" - -/** - * @brief View class for the Places Panel. - * - * Reads the icon size from GeneralSettings::placesPanelIconSize(). - */ -class PlacesView : public KStandardItemListView -{ - Q_OBJECT - -public: - explicit PlacesView(QGraphicsWidget* parent = nullptr); - - void setIconSize(int size); - int iconSize() const; - -protected: - void resizeEvent(QGraphicsSceneResizeEvent *event) override; -}; - -#endif |
