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,41 @@
/*
SPDX-FileCopyrightText: 2014 Frank Reininghaus <frank78ac@googlemail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include <kio/listjob.h>
#include <iostream>
#include <QCoreApplication>
#include <QDebug>
#include <QDir>
#include <QUrl>
int main(int argc, char **argv)
{
if (argc < 2) {
qWarning() << "Expected a path or URL.";
return 1;
}
QCoreApplication app(argc, argv);
quint64 entriesListed = 0;
for (int i = 1; i < argc; ++i) {
QUrl url = QUrl::fromUserInput(QString::fromLocal8Bit(argv[i]), QDir::currentPath());
qDebug() << "Starting listJob for the URL:" << url;
KIO::ListJob *job = KIO::listDir(url, KIO::HideProgressInfo);
job->setUiDelegate(nullptr);
job->addMetaData(QStringLiteral("details"), QString::number(KIO::StatDefaultDetails));
QObject::connect(job, &KIO::ListJob::entries, [&entriesListed](KIO::Job *, const KIO::UDSEntryList &entries) {
entriesListed += entries.size();
qDebug() << "Listed" << entriesListed << "files.";
});
}
return app.exec();
}