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,43 @@
/*
SPDX-FileCopyrightText: 2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.net>
SPDX-FileContributor: Stephen Kelly <stephen@kdab.com>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef KVIEWSTATEMAINTAINERBASE_H
#define KVIEWSTATEMAINTAINERBASE_H
#include "kwidgetsaddons_export.h"
#include <QObject>
#include <memory>
class QItemSelectionModel;
class QAbstractItemView;
class KViewStateMaintainerBasePrivate;
class KWIDGETSADDONS_EXPORT KViewStateMaintainerBase : public QObject
{
Q_OBJECT
public:
KViewStateMaintainerBase(QObject *parent = nullptr);
~KViewStateMaintainerBase() override;
void setSelectionModel(QItemSelectionModel *selectionModel);
QItemSelectionModel *selectionModel() const;
void setView(QAbstractItemView *view);
QAbstractItemView *view() const;
virtual void saveState() = 0;
virtual void restoreState() = 0;
private:
Q_DECLARE_PRIVATE(KViewStateMaintainerBase)
std::unique_ptr<KViewStateMaintainerBasePrivate> const d_ptr;
};
#endif