QGIS API Documentation 3.99.0-Master (21b3aa880ba)
Loading...
Searching...
No Matches
qgschunkqueuejob.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgschunkqueuejob.cpp
3 --------------------------------------
4 Date : July 2017
5 Copyright : (C) 2017 by Martin Dobias
6 Email : wonder dot sk at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#include "qgschunkqueuejob.h"
17
18#include "moc_qgschunkqueuejob.cpp"
19
21
22QgsChunkQueueJob::QgsChunkQueueJob( QgsChunkNode *node )
23 : mNode( node )
24{
25 connect( this, &QgsChunkQueueJob::finished, this, [this]() { mFinished = true; } );
26}
27
28void QgsChunkQueueJob::cancel()
29{
30 // TODO: what to do...
31}
32
33bool QgsChunkQueueJob::isFinished() const
34{
35 return mFinished;
36}
37