18#ifndef QGSPROVIDERSUBLAYERTASKTASK_H
19#define QGSPROVIDERSUBLAYERTASKTASK_H
22#include <QReadWriteLock>
71 QList<QgsProviderSublayerDetails> results()
const;
85 bool mIncludeSystemTables =
false;
87 std::unique_ptr< QgsFeedback > mFeedback;
89 QList<QgsProviderSublayerDetails> mResults;
91 mutable QReadWriteLock mLock;
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Contains details about a sub layer available from a dataset.
A QgsTask which retrieves sublayer details for a URI.
~QgsProviderSublayerTask() override
Abstract base class for long running background tasks.
virtual bool run()=0
Performs the task's operation.
virtual void cancel()
Notifies the task that it should terminate.