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,35 @@
/*
This file is part of the KDE libraries
SPDX-FileCopyrightText: 2013 Aurélien Gâteau <agateau@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include <iostream>
#include <kmessagebox.h>
#include <QApplication>
int main(int argc, char **argv)
{
QApplication::setApplicationName(QStringLiteral("kmessageboxwidtest"));
QApplication app(argc, argv);
if (argc != 2) {
std::cerr << "Usage: " << qPrintable(QApplication::applicationName()) << " <window id>\n";
std::cerr << '\n';
std::cerr << "You can get a window id using a tool like `xwininfo`.\n";
return 1;
}
bool ok;
int winId = QByteArray(argv[1]).toInt(&ok, 0);
if (!ok) {
std::cerr << '"' << argv[1] << "\" is not a number\n";
return 1;
}
int ret = KMessageBox::warningContinueCancelWId(winId, QStringLiteral("Are you sure you want to continue?"), QStringLiteral("Dangerous stuff"));
std::cout << "Returned " << ret << '\n';
return ret;
}