File indexing completed on 2025-01-12 03:40:51

0001 /* This file is part of the dbusmenu-qt library
0002    SPDX-FileCopyrightText: 2009 Canonical
0003    Author: Aurelien Gateau <aurelien.gateau@canonical.com>
0004 
0005    SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 #ifndef DBUSMENUSHORTCUT_H
0008 #define DBUSMENUSHORTCUT_H
0009 
0010 // Qt
0011 #include <QMetaType>
0012 #include <QStringList>
0013 
0014 class QKeySequence;
0015 
0016 class DBusMenuShortcut : public QList<QStringList>
0017 {
0018 public:
0019     QKeySequence toKeySequence() const;
0020     static DBusMenuShortcut fromKeySequence(const QKeySequence &);
0021 };
0022 
0023 Q_DECLARE_METATYPE(DBusMenuShortcut)
0024 
0025 #endif /* DBUSMENUSHORTCUT_H */