Changeset View
Changeset View
Standalone View
Standalone View
src/kitemviews/kstandarditemlistwidget.h
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | |||||
82 | /** | 82 | /** | ||
83 | * @brief Itemlist widget implementation for KStandardItemView and KStandardItemModel. | 83 | * @brief Itemlist widget implementation for KStandardItemView and KStandardItemModel. | ||
84 | */ | 84 | */ | ||
85 | class DOLPHIN_EXPORT KStandardItemListWidget : public KItemListWidget | 85 | class DOLPHIN_EXPORT KStandardItemListWidget : public KItemListWidget | ||
86 | { | 86 | { | ||
87 | Q_OBJECT | 87 | Q_OBJECT | ||
88 | 88 | | |||
89 | public: | 89 | public: | ||
90 | enum Layout | 90 | enum class Layout | ||
91 | { | 91 | { | ||
92 | IconsLayout, | 92 | Icons, | ||
93 | CompactLayout, | 93 | Compact, | ||
94 | DetailsLayout | 94 | Details | ||
95 | }; | 95 | }; | ||
96 | 96 | | |||
97 | KStandardItemListWidget(KItemListWidgetInformant* informant, QGraphicsItem* parent); | 97 | KStandardItemListWidget(KItemListWidgetInformant* informant, QGraphicsItem* parent); | ||
98 | ~KStandardItemListWidget() override; | 98 | ~KStandardItemListWidget() override; | ||
99 | 99 | | |||
100 | void setLayout(Layout layout); | 100 | void setLayout(Layout layout); | ||
101 | Layout layout() const; | 101 | Layout layout() const; | ||
102 | 102 | | |||
▲ Show 20 Lines • Show All 177 Lines • Show Last 20 Lines |