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,33 @@
/*
SPDX-FileCopyrightText: 2023 Nicolas Fella <nicolas.fella@gmx.de>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#include <KNotification>
#include <QGuiApplication>
int main(int argc, char **argv)
{
QGuiApplication app(argc, argv);
KNotification *notification = new KNotification(QStringLiteral("notification"));
notification->setComponentName(QStringLiteral("plasma_workspace"));
notification->setText(QStringLiteral("Hello!"));
notification->setTitle(QStringLiteral("Yo"));
KNotificationAction *action = notification->addAction(QStringLiteral("Open it"));
QObject::connect(action, &KNotificationAction::activated, &app, [notification] {
qWarning() << "action activated" << notification->xdgActivationToken();
});
KNotificationAction *defaultAction = notification->addDefaultAction(QStringLiteral("Aaaa"));
QObject::connect(defaultAction, &KNotificationAction::activated, &app, [notification] {
qWarning() << "default action activated" << notification->xdgActivationToken();
});
notification->sendEvent();
return app.exec();
}