QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCImportTileTask Class Reference

#include <QGCMapTasks.h>

Inheritance diagram for QGCImportTileTask:
Collaboration diagram for QGCImportTileTask:

Signals

void actionCompleted ()
void actionProgress (int percentage)
Signals inherited from QGCMapTask
void error (QGCMapTask::TaskType type, const QString &errorString)

Public Member Functions

 QGCImportTileTask (const QString &path, bool replace, QObject *parent=nullptr)
 ~QGCImportTileTask ()=default
QString path () const
bool replace () const
int progress () const
void setImportCompleted ()
void setProgress (int percentage)
Public Member Functions inherited from QGCMapTask
 QGCMapTask (TaskType type, QObject *parent=nullptr)
 ~QGCMapTask () override=default
TaskType type () const
void setError (const QString &errorString=QString())

Additional Inherited Members

Public Types inherited from QGCMapTask
enum class  TaskType {
  taskInit , taskCacheTile , taskFetchTile , taskFetchTileSets ,
  taskCreateTileSet , taskGetTileDownloadList , taskUpdateTileDownloadState , taskDeleteTileSet ,
  taskRenameTileSet , taskPruneCache , taskReset , taskExport ,
  taskImport
}

Detailed Description

Definition at line 302 of file QGCMapTasks.h.

Constructor & Destructor Documentation

◆ QGCImportTileTask()

QGCImportTileTask::QGCImportTileTask ( const QString & path,
bool replace,
QObject * parent = nullptr )
inline

Definition at line 307 of file QGCMapTasks.h.

References path(), QGCMapTask::QGCMapTask(), and replace().

◆ ~QGCImportTileTask()

QGCImportTileTask::~QGCImportTileTask ( )
default

Member Function Documentation

◆ actionCompleted

void QGCImportTileTask::actionCompleted ( )
signal

◆ actionProgress

void QGCImportTileTask::actionProgress ( int percentage)
signal

◆ path()

QString QGCImportTileTask::path ( ) const
inline

Definition at line 314 of file QGCMapTasks.h.

Referenced by QGCImportTileTask().

◆ progress()

int QGCImportTileTask::progress ( ) const
inline

Definition at line 316 of file QGCMapTasks.h.

◆ replace()

bool QGCImportTileTask::replace ( ) const
inline

Definition at line 315 of file QGCMapTasks.h.

Referenced by QGCImportTileTask().

◆ setImportCompleted()

void QGCImportTileTask::setImportCompleted ( )
inline

Definition at line 318 of file QGCMapTasks.h.

References actionCompleted().

◆ setProgress()

void QGCImportTileTask::setProgress ( int percentage)
inline

Definition at line 323 of file QGCMapTasks.h.

References actionProgress().


The documentation for this class was generated from the following file: