File indexing completed on 2024-06-09 05:30:58
0001 /* 0002 SPDX-FileCopyrightText: 2014 Eike Hein <hein@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 class MenuEntryEditor : public QObject 0012 { 0013 Q_OBJECT 0014 0015 public: 0016 explicit MenuEntryEditor(QObject *parent = nullptr); 0017 ~MenuEntryEditor() override; 0018 0019 bool canEdit(const QString &entryPath) const; 0020 0021 public Q_SLOTS: 0022 void edit(const QString &entryPath, const QString &menuId); 0023 };