Marble
6 #ifndef MARBLE_SPEAKERSMODEL_H
7 #define MARBLE_SPEAKERSMODEL_H
9 #include "marble_export.h"
11 #include <QAbstractListModel>
16 class SpeakersModelPrivate;
22 Q_PROPERTY(
int count READ count NOTIFY countChanged)
25 enum SpeakersModelRoles {
33 explicit SpeakersModel(
QObject *parent =
nullptr );
36 ~SpeakersModel()
override;
51 int indexOf(
const QString &name );
55 void install(
int index );
57 bool isLocal(
int index )
const;
59 bool isRemote(
int index )
const;
64 void installationProgressed(
int newstuffindex, qreal progress );
66 void installationFinished(
int index );
69 SpeakersModelPrivate*
const d;
70 friend class SpeakersModelPrivate;
72 Q_PRIVATE_SLOT( d,
void fillModel() )
74 Q_PRIVATE_SLOT( d,
void handleInstallationProgress(
int row, qreal progress ) )
76 Q_PRIVATE_SLOT( d,
void handleInstallation(
int row ) )
81 #endif // MARBLE_SPEAKERSMODEL_H
Binds a QML item to a specific geodetic location in screen coordinates.
QString path(const QString &relativePath)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:10 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.