File indexing completed on 2024-02-18 05:27:41

0001 /*
0002  * SPDX-FileCopyrightText: 2019 David Redondo <kde@david-redondo.de>
0003  *
0004  * SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 #ifndef GLOBALACCEL_H
0007 #define GLOBALACCEL_H
0008 
0009 #include <KService>
0010 #include <QKeySequence>
0011 
0012 class GlobalAccel
0013 {
0014 public:
0015     static QKeySequence getMenuEntryShortcut(const KService::Ptr &service);
0016     static void changeMenuEntryShortcut(const KService::Ptr &service, const QKeySequence &shortcut);
0017 };
0018 
0019 #endif // GLOBALACCEL_H