Advance Wayland and KDE package bring-up
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// SPDX-FileCopyrightText: 2024 Carl Schwan <carl@carlschwan.eu>
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QAction>
|
||||
#include <QtQml/qqmlregistration.h>
|
||||
|
||||
/// \internal This is private API, do not use.
|
||||
class ActionHelper : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
QML_ELEMENT_OFF_OFF_OFF_OFF_OFF_OFF
|
||||
QML_SINGLETON_OFF_OFF_OFF_OFF_OFF_OFF
|
||||
|
||||
public:
|
||||
explicit ActionHelper(QObject *parent = nullptr);
|
||||
|
||||
Q_INVOKABLE QList<QKeySequence> alternateShortcuts(QAction *action) const;
|
||||
Q_INVOKABLE QString iconName(const QIcon &icon) const;
|
||||
};
|
||||
Reference in New Issue
Block a user