File indexing completed on 2024-05-19 11:30:14
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2013 Utku Aydın <utkuaydin34@gmail.com> 0004 // 0005 0006 #ifndef CLOUDROUTESDIALOG_H 0007 #define CLOUDROUTESDIALOG_H 0008 0009 #include <QDialog> 0010 0011 namespace Marble { 0012 0013 class CloudRouteModel; 0014 0015 class CloudRoutesDialog : public QDialog 0016 { 0017 Q_OBJECT 0018 0019 public: 0020 explicit CloudRoutesDialog( CloudRouteModel *model, QWidget *parent = nullptr ); 0021 ~CloudRoutesDialog() override; 0022 CloudRouteModel *model(); 0023 0024 public Q_SLOTS: 0025 void updateListDownloadProgressbar( qint64 received, qint64 total ); 0026 0027 Q_SIGNALS: 0028 void downloadButtonClicked( const QString& timestamp ); 0029 void openButtonClicked( const QString& timestamp ); 0030 void deleteButtonClicked( const QString& timestamp ); 0031 void removeFromCacheButtonClicked( const QString& timestamp ); 0032 void uploadToCloudButtonClicked( const QString& timestamp ); 0033 0034 private: 0035 class Private; 0036 Private *d; 0037 0038 private Q_SLOTS: 0039 void updateNoRouteLabel(); 0040 }; 0041 0042 } 0043 #endif // CLOUDROUTESDIALOG_H