mirror of
https://invent.kde.org/plasma/plasma-desktop.git
synced 2026-11-03 22:59:45 -09:00
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.
23 lines
564 B
C++
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;
|
|
};
|