QGIS/python/core/auto_generated/browser/qgszipitem.sip.in
Nyall Dawson 3f6b490218 Sipify
2025-04-02 11:11:10 +10:00

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 browser item for zip (archive) files.
%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 *
************************************************************************/