7#ifndef KOSMINDOORMAP_FLOORLEVELMODEL_H
8#define KOSMINDOORMAP_FLOORLEVELMODEL_H
10#include <kosmindoormap_export.h>
12#include <QAbstractListModel>
25 Q_PROPERTY(
bool hasFloorLevels READ hasFloorLevels NOTIFY contentChanged)
37 int rowCount(
const QModelIndex &parent = {})
const override;
41 Q_INVOKABLE
int rowForLevel(
int level)
const;
43 Q_INVOKABLE
int levelForRow(
int row)
const;
46 Q_INVOKABLE
bool hasFloorLevelBelow(
int level)
const;
48 Q_INVOKABLE
int floorLevelBelow(
int level)
const;
50 Q_INVOKABLE
bool hasFloorLevelAbove(
int level)
const;
52 Q_INVOKABLE
int floorLevelAbove(
int level)
const;
57 Q_INVOKABLE
bool hasName(
int level)
const;
62 Q_INVOKABLE
QString name(
int level)
const;
65 bool hasFloorLevels()
const;
68 void contentChanged();
71 std::vector<MapLevel> m_level;
Raw OSM map data, separated by levels.
OSM-based multi-floor indoor maps for buildings.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:15 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.