KWidgetsAddons

kpagemodel.cpp
1/*
2 This file is part of the KDE Libraries
3 SPDX-FileCopyrightText: 2006 Tobias Koenig <tokoe@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#include "kpagemodel.h"
9#include "kpagemodel_p.h"
10
11KPageModelPrivate::~KPageModelPrivate()
12{
13}
14
16 : QAbstractItemModel(parent)
17 , d_ptr(nullptr)
18{
19}
20
21KPageModel::KPageModel(KPageModelPrivate &dd, QObject *parent)
22 : QAbstractItemModel(parent)
23 , d_ptr(&dd)
24{
25 d_ptr->q_ptr = this;
26}
27
28KPageModel::~KPageModel() = default;
29
30#include "moc_kpagemodel.cpp"
~KPageModel() override
Destroys the page model.
KPageModel(QObject *parent=nullptr)
Constructs a page model with the given parent.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.