KWidgetsAddons
8#ifndef KVIEWSTATEMAINTAINERBASE_H
9#define KVIEWSTATEMAINTAINERBASE_H
11#include "kwidgetsaddons_export.h"
20class KViewStateMaintainerBasePrivate;
22class KWIDGETSADDONS_EXPORT KViewStateMaintainerBase :
public QObject
26 KViewStateMaintainerBase(QObject *parent =
nullptr);
27 ~KViewStateMaintainerBase()
override;
29 void setSelectionModel(QItemSelectionModel *selectionModel);
30 QItemSelectionModel *selectionModel()
const;
32 void setView(QAbstractItemView *view);
33 QAbstractItemView *view()
const;
35 virtual void saveState() = 0;
36 virtual void restoreState() = 0;
39 Q_DECLARE_PRIVATE(KViewStateMaintainerBase)
40 std::unique_ptr<KViewStateMaintainerBasePrivate>
const d_ptr;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.