KItemModels

types.h
1/*
2 SPDX-FileCopyrightText: 2019 David Edmundson <davidedmundson@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QQmlEngine>
10
11#include <KColumnHeadersModel>
12#include <KNumberModel>
13
14struct KColumnHeadersModelForeign {
15 Q_GADGET
16 QML_NAMED_ELEMENT(KColumnHeadersModel)
17 QML_FOREIGN(KColumnHeadersModel)
18};
19
20struct KNumberModelForeign {
21 Q_GADGET
22 QML_NAMED_ELEMENT(KNumberModel)
23 QML_FOREIGN(KNumberModel)
24};
A model that converts a model's headers into a list model.
Creates a model of entries from N to M with rows at a given interval.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:18:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.