mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/providers/qgsprovidersublayertask.h                         *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsProviderSublayerTask : QgsTask
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
 | 
						|
A :py:class:`QgsTask` which retrieves sublayer details for a URI.
 | 
						|
 | 
						|
.. versionadded:: 3.22
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsprovidersublayertask.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
 | 
						|
    QgsProviderSublayerTask( const QString &uri );
 | 
						|
%Docstring
 | 
						|
Constructor for QgsProviderSublayerTask, which retrieves sublayer details for the
 | 
						|
specified ``uri``.
 | 
						|
%End
 | 
						|
 | 
						|
    ~QgsProviderSublayerTask();
 | 
						|
 | 
						|
    QList<QgsProviderSublayerDetails> results() const;
 | 
						|
%Docstring
 | 
						|
Return the sublayer details as calculated by the task.
 | 
						|
%End
 | 
						|
 | 
						|
    virtual bool run();
 | 
						|
 | 
						|
    virtual void cancel();
 | 
						|
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/providers/qgsprovidersublayertask.h                         *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |