Marble
            
 
    6#ifndef CLOUDROUTEMODEL_H 
    7#define CLOUDROUTEMODEL_H 
    9#include "marble_export.h" 
   11#include <QAbstractListModel> 
   21class MARBLE_EXPORT CloudRouteModel : 
public QAbstractListModel
 
   37    explicit CloudRouteModel(QObject *parent = 
nullptr);
 
   38    ~CloudRouteModel() 
override;
 
   40    QVariant data(
const QModelIndex &index, 
int role = 
Qt::DisplayRole) 
const override;
 
   41    int rowCount(
const QModelIndex &parent = QModelIndex()) 
const override;
 
   44    QHash<int, QByteArray> roleNames() 
const override;
 
   50    void setItems(
const QList<RouteItem> &items);
 
   57    bool isCached(
const QModelIndex &index) 
const;
 
   63    QPersistentModelIndex downloadingItem() 
const;
 
   69    void setDownloadingItem(
const QPersistentModelIndex &index);
 
   76    bool isDownloading(
const QModelIndex &index) 
const;
 
   82    qint64 totalSize() 
const;
 
   88    qint64 downloadedSize() 
const;
 
   96    QIcon preview(
const QModelIndex &index) 
const;
 
   99    void updateProgress(qint64 currentSize, qint64 totalSize);
 
  100    void setPreview(QNetworkReply *reply);
 
  104    std::unique_ptr<Private> d;
 
Binds a QML item to a specific geodetic location in screen coordinates.
 
  
 
  This file is part of the KDE documentation.
  Documentation copyright © 1996-2025 The KDE developers.
  Generated on Fri May 2 2025 12:01:31 by
  
doxygen 1.13.2 written
  by 
Dimitri van Heesch, © 1997-2006
  
  KDE's Doxygen guidelines are available online.