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:
2026-04-14 10:51:06 +01:00
parent 51f3c21121
commit cf12defd28
15214 changed files with 20594243 additions and 269 deletions
@@ -0,0 +1,42 @@
/*
SPDX-FileCopyrightText: 2018 Volker Krause <vkrause@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef NOTIFYBYANDROID_H
#define NOTIFYBYANDROID_H
#include "knotificationplugin.h"
#include <QJniObject>
#include <QPointer>
/** Android notification backend. */
class NotifyByAndroid : public KNotificationPlugin
{
Q_OBJECT
public:
explicit NotifyByAndroid(QObject *parent = nullptr);
~NotifyByAndroid() override;
// interface of KNotificationPlugin
QString optionName() override;
void notify(KNotification *notification, const KNotifyConfig &notifyConfig) override;
void update(KNotification *notification, const KNotifyConfig &notifyConfig) override;
void close(KNotification *notification) override;
// interface from Java
void notificationFinished(int id);
void notificationActionInvoked(int id, const QString &action);
void notificationInlineReply(int id, const QString &text);
private:
void notifyDeferred(KNotification *notification);
QJniObject createAndroidNotification(KNotification *notification, const KNotifyConfig &notifyConfig) const;
QJniObject m_backend;
QHash<int, QPointer<KNotification>> m_notifications;
};
#endif // NOTIFYBYANDROID_H