mirror-kde-plasma-desktop/kcms/keys/standardshortcutsmodel.h
Fushan Wen aed31a21af runners: add global shortcut runner
A runner to perform actions from the global shortcuts, useful when an
action is not assigned to any shortcut, or when the user wants to find
the action name corresponding to a shortcut.
2025-08-26 08:43:22 +08:00

23 lines
564 B
C++

/*
SPDX-FileCopyrightText: 2020 David Redondo <kde@david-redondo.de>
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
*/
#pragma once
#include "basemodel.h"
#include "kglobalaccelmodel_export.h"
class KGLOBALACCELMODEL_EXPORT StandardShortcutsModel : public BaseModel
{
Q_OBJECT
public:
explicit StandardShortcutsModel(QObject *parent);
void load() override;
void save() override;
void exportToConfig(KConfigBase &config) override;
void importConfig(const KConfigBase &config) override;
};