17#ifndef QGSCONNECTIONSITEM_H
18#define QGSCONNECTIONSITEM_H
26using namespace Qt::StringLiterals;
54 SIP_PYOBJECT __repr__();
56 QString str = u
"<QgsConnectionsRootItem: \"%1\" %2>"_s.arg( sipCpp->name(), sipCpp->path() );
57 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.