┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places/placesview.h
blob: 6005e8b489d9e4027950db2556a1c583642edb2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * 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;
};

#endif