Marble

CloudRoutesDialog.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2013 Utku Aydın <[email protected]>
4 //
5 
6 #ifndef CLOUDROUTESDIALOG_H
7 #define CLOUDROUTESDIALOG_H
8 
9 #include <QDialog>
10 
11 namespace Marble {
12 
13 class CloudRouteModel;
14 
15 class CloudRoutesDialog : public QDialog
16 {
17  Q_OBJECT
18 
19 public:
20  explicit CloudRoutesDialog( CloudRouteModel *model, QWidget *parent = nullptr );
21  ~CloudRoutesDialog() override;
22  CloudRouteModel *model();
23 
24 public Q_SLOTS:
25  void updateListDownloadProgressbar( qint64 received, qint64 total );
26 
27 Q_SIGNALS:
28  void downloadButtonClicked( const QString& timestamp );
29  void openButtonClicked( const QString& timestamp );
30  void deleteButtonClicked( const QString& timestamp );
31  void removeFromCacheButtonClicked( const QString& timestamp );
32  void uploadToCloudButtonClicked( const QString& timestamp );
33 
34 private:
35  class Private;
36  Private *d;
37 
38 private Q_SLOTS:
39  void updateNoRouteLabel();
40 };
41 
42 }
43 #endif // CLOUDROUTESDIALOG_H
Q_OBJECTQ_OBJECT
Q_SLOTSQ_SLOTS
Binds a QML item to a specific geodetic location in screen coordinates.
Q_SIGNALSQ_SIGNALS
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:25 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.