]> cloud.milkyroute.net Git - dolphin.git/blob - src/itemactions/setfoldericonitemaction.h
KItemListView: Don't allow starting role editing when animation is running
[dolphin.git] / src / itemactions / setfoldericonitemaction.h
1 /*
2 * SPDX-FileCopyrightText: 2025 Méven Car <meven@kde.org>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7 #pragma once
8
9 #include <KAbstractFileItemActionPlugin>
10 #include <KFileItemListProperties>
11
12 class SetFolderIconItemAction : public KAbstractFileItemActionPlugin
13 {
14 Q_OBJECT
15
16 public:
17 SetFolderIconItemAction(QObject *parent);
18
19 QList<QAction *> actions(const KFileItemListProperties &fileItemInfos, QWidget *parentWidget) override;
20
21 private:
22 void setFolderIcon(bool check);
23 QUrl m_url;
24 QUrl m_localUrl;
25 };