17#ifndef QGSCONNECTIONSITEM_H
18#define QGSCONNECTIONSITEM_H
50 SIP_PYOBJECT __repr__();
52 QString str = QStringLiteral(
"<QgsConnectionsRootItem: \"%1\" %2>" ).arg( sipCpp->name(), sipCpp->path() );
53 sipRes = PyUnicode_FromString( str.toUtf8().constData() );
~QgsConnectionsRootItem() override=default
QgsConnectionsRootItem(QgsDataItem *parent, const QString &name, const QString &path=QString(), const QString &providerKey=QString())
Constructor for QgsConnectionsRootItem, with the specified parent item.
QgsDataCollectionItem(QgsDataItem *parent, const QString &name, const QString &path=QString(), const QString &providerKey=QString())
Constructor for QgsDataCollectionItem, with the specified parent item.
QgsDataItem(Qgis::BrowserItemType type, QgsDataItem *parent, const QString &name, const QString &path, const QString &providerKey=QString())
Constructor for QgsDataItem, with the specified parent item.
QString name() const
Returns the name of the item (the displayed text for the item).
QgsDataItem * parent() const
Gets item parent.
QString providerKey() const
Returns the provider key that created this item (e.g.