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,48 @@
/*
This file is part of the KDE project
SPDX-FileCopyrightText: 2002 David Faure <david@mandrakesoft.com>
SPDX-License-Identifier: LGPL-2.0-only
*/
#ifndef KREPLACETEST_H
#define KREPLACETEST_H
#include <QObject>
#include <QStringList>
#include <memory>
class KReplace;
class KReplaceTest : public QObject
{
Q_OBJECT
public:
KReplaceTest(const QStringList &text, const QString &buttonName);
~KReplaceTest() override;
void replace(const QString &pattern, const QString &replacement, long options);
void print();
const QStringList &textLines() const
{
return m_text;
}
public Q_SLOTS:
void slotHighlight(const QString &, int, int);
void slotReplaceNext();
void slotReplace(const QString &text, int replacementIndex, int replacedLength, int matchedLength);
Q_SIGNALS:
void exitLoop();
private:
void enterLoop();
QStringList::Iterator m_currentPos;
QStringList m_text;
std::unique_ptr<KReplace> m_replace;
bool m_needEventLoop;
QString m_buttonName;
};
#endif