mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			84 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			84 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/browser/qgszipitem.h                                        *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsZipItem : QgsDataCollectionItem
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
A zip file: contains layers, using GDAL/OGR VSIFILE mechanism
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgszipitem.h"
 | 
						|
%End
 | 
						|
  protected:
 | 
						|
 | 
						|
  public:
 | 
						|
    QgsZipItem( QgsDataItem *parent, const QString &name, const QString &path );
 | 
						|
%Docstring
 | 
						|
Constructor
 | 
						|
%End
 | 
						|
 | 
						|
    QgsZipItem( QgsDataItem *parent, const QString &name, const QString &filePath, const QString &path, const QString &providerKey = QString() );
 | 
						|
%Docstring
 | 
						|
Constructor
 | 
						|
%End
 | 
						|
 | 
						|
    SIP_PYOBJECT __repr__();
 | 
						|
%MethodCode
 | 
						|
    QString str = QStringLiteral( "<QgsZipItem: \"%1\" %2>" ).arg( sipCpp->name(), sipCpp->path() );
 | 
						|
    sipRes = PyUnicode_FromString( str.toUtf8().constData() );
 | 
						|
%End
 | 
						|
 | 
						|
    virtual QVector<QgsDataItem *> createChildren();
 | 
						|
 | 
						|
    QStringList getZipFileList();
 | 
						|
 | 
						|
    virtual bool hasDragEnabled() const;
 | 
						|
 | 
						|
    virtual QgsMimeDataUtils::UriList mimeUris() const;
 | 
						|
 | 
						|
 | 
						|
    static QStringList sProviderNames;
 | 
						|
 | 
						|
 static QString vsiPrefix( const QString &uri ) /Deprecated="Since 3.40. Will be removed in QGIS 4.0."/;
 | 
						|
%Docstring
 | 
						|
 | 
						|
.. deprecated:: 3.40
 | 
						|
 | 
						|
   Will be removed in QGIS 4.0.
 | 
						|
%End
 | 
						|
 | 
						|
    static QgsDataItem *itemFromPath( QgsDataItem *parent, const QString &path, const QString &name ) /Factory/;
 | 
						|
%Docstring
 | 
						|
Creates a new data item from the specified path.
 | 
						|
%End
 | 
						|
 | 
						|
    static QgsDataItem *itemFromPath( QgsDataItem *parent, const QString &filePath, const QString &name, const QString &path ) /Factory,PyName=itemFromFilePath/;
 | 
						|
%Docstring
 | 
						|
Creates a new data item from the specified path.
 | 
						|
 | 
						|
%End
 | 
						|
 | 
						|
    static QIcon iconZip();
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/browser/qgszipitem.h                                        *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | 
						|
 ************************************************************************/
 |