QGIS API Documentation  3.5.0-Master (b391c08)
Deprecated List
Member QgisInterface::openURL (const QString &url, bool useQgisDocDirectory=true)=0
Use QDesktopServices instead
Member QgsAbstractDataSourceWidget::progress (int, int)
Since QGIS 3.4 this signal is no longer used. Use QgsProxyProgressTask instead to show progress reports.
Member QgsAttributeEditorRelation::QgsAttributeEditorRelation (const QString &name, const QgsRelation &relation, QgsAttributeEditorElement *parent)
since QGIS 3.0.2.
Member QgsAttributeEditorRelation::QgsAttributeEditorRelation (const QString &name, const QString &relationId, QgsAttributeEditorElement *parent)
since QGIS 3.0.2.
Member QgsAttributeForm::attributeChanged (const QString &attribute, const QVariant &value)
since 3.0
Member QgsAttributeForm::Mode
Use QgsAttributeEditorContext::Mode instead.
Member QgsBrowserDockWidget::addFavorite ()
will be removed in QGIS 4.0 - use the methods in QgsBrowserModel instead
Member QgsBrowserDockWidget::addFavoriteDirectory ()
will be removed in QGIS 4.0 - use the methods in QgsBrowserModel instead
Member QgsBrowserDockWidget::addFavoriteDirectory (const QString &favDir, const QString &name=QString())
will be removed in QGIS 4.0 - use the methods in QgsBrowserModel instead
Member QgsBrowserDockWidget::addLayerAtIndex (const QModelIndex &index)
will be removed in QGIS 4.0 - retrieve the QgsLayerItem itself and manually add to project.
Member QgsBrowserDockWidget::removeFavorite ()
will be removed in QGIS 4.0 - use the methods in QgsBrowserModel instead
Member QgsBrowserDockWidget::toggleFastScan ()
will be removed in QGIS 4.0
Member QgsBrowserModel::connectItem (QgsDataItem *item)
Deprecated since QGIS 3.4 – this method has no effect, and is dangerous to call in earlier QGIS versions.
Member QgsCategorizedSymbolRenderer::skipRender ()
No longer used, will be removed in QGIS 4.0
Member QgsCategorizedSymbolRenderer::symbolForValue (const QVariant &value) const
use variant which takes a second bool argument instead.
Member QgsCoordinateTransform::QgsCoordinateTransform (const QgsCoordinateReferenceSystem &source, const QgsCoordinateReferenceSystem &destination)
Use of this constructor is strongly discouraged, as it will not
Member QgsFeatureListModel::onBeginInsertRows (const QModelIndex &parent, int first, int last)
use beginInsertRows() instead
Member QgsFeatureListModel::onBeginRemoveRows (const QModelIndex &parent, int first, int last)
Use beginRemoveRows() instead
Member QgsFeatureListModel::onEndInsertRows (const QModelIndex &parent, int first, int last)
use endInsertRows() instead
Member QgsFeatureListModel::onEndRemoveRows (const QModelIndex &parent, int first, int last)
Use endRemoveRows() instead
Member QgsFeatureRequest::connectionTimeout () const
Use timeout() instead.
Member QgsFeatureRequest::setConnectionTimeout (int connectionTimeout)
Use setTimeout() instead.
Member QgsLayerTreeViewDefaultActions::actionMakeTopLevel (QObject *parent=nullptr)
since QGIS 3.2, use actionMoveOutOfGroup()
Member QgsLayerTreeViewDefaultActions::makeTopLevel ()
since QGIS 3.2, use moveOutOfGroup()
Member QgsLayoutItemScaleBar::font () const
use textFormat() instead
Member QgsLayoutItemScaleBar::fontColor () const
use textFormat() instead
Member QgsLayoutItemScaleBar::setFont (const QFont &font)
use setTextFormat() instead
Member QgsLayoutItemScaleBar::setFontColor (const QColor &color)
use setTextFormat() instead
Member QgsLocator::prefixedFilters () const
since QGIS 3.2 use filters() instead
Member QgsMapRendererJob::drawLabeling (const QgsMapSettings &settings, QgsRenderContext &renderContext, QgsLabelingEngine *labelingEngine2, QPainter *painter)
Will be removed in QGIS 4.0
Class QgsMapServiceException
Use QsgServerException
Member QgsMapToPixel::toMapPoint (double x, double y) const
since QGIS 3.4 use toMapCoordinates instead
Member QgsNewOgrConnection::showHelp () SIP_DEPRECATED
will be made private with QGIS 4
Member QgsOpenClUtils::buildProgram (const cl::Context &context, const QString &source, ExceptionBehavior exceptionBehavior=Catch)
since QGIS 3.6
Member QgsProcessingAlgorithm::helpString () const
Unused, will be removed in QGIS 4.0
Member QgsProject::fileInfo () const
Use absoluteFilePath(), baseName() or lastModifiedTime() instead
Member QgsProject::nonIdentifiableLayers () const
since QGIS 3.4 use QgsMapLayer::setFlags() instead
Member QgsProject::nonIdentifiableLayersChanged (QStringList nonIdentifiableLayers)
since QGIS 3.4
Member QgsProject::requiredLayers () const
since QGIS 3.4 use QgsMapLayer::flags() instead
Member QgsProject::setNonIdentifiableLayers (const QList< QgsMapLayer *> &layers)
since QGIS 3.4 use QgsMapLayer::setFlags() instead
Member QgsProject::setNonIdentifiableLayers (const QStringList &layerIds)
since QGIS 3.4 use QgsMapLayer::setFlags() instead
Member QgsProject::setRequiredLayers (const QSet< QgsMapLayer *> &layers)
since QGIS 3.4 use QgsMapLayer::setFlags() instead
Member QgsRasterLayer::setDataProvider (const QString &provider)
Use the version with ProviderOptions instead.
Member QgsScaleBarRenderer::firstLabelXOffset (const QgsScaleBarSettings &settings) const
Use the version with QgsRenderContext instead.
Member QgsScaleBarSettings::font () const
use textFormat() instead
Member QgsScaleBarSettings::fontColor () const
use textFormat() instead
Member QgsScaleBarSettings::setFont (const QFont &font)
use setTextFormat() instead
Member QgsScaleBarSettings::setFontColor (const QColor &color)
use textFormat() instead
Member QgsSpatialIndex::insertFeature (QgsFeatureId id, const QgsRectangle &bounds)
Use addFeature() instead
Member QgsSpatialIndex::insertFeature (const QgsFeature &feature)
Use addFeature() instead
Member QgsStyleManagerDialog::itemChanged (QStandardItem *item) SIP_DEPRECATED
in QGIS 3.6 - has no effect and will be removed in QGIS 4.0
Member QgsStyleManagerDialog::populateColorRamps (const QStringList &colorRamps, bool checkable=false) SIP_DEPRECATED
No longer required in QGIS 3.6, as the model is updated live. Has no effect and will be removed in QGIS 4.0
Member QgsStyleManagerDialog::populateSymbols (const QStringList &symbolNames, bool checkable=false) SIP_DEPRECATED
No longer required in QGIS 3.6, as the model is updated live. Has no effect and will be removed in QGIS 4.0
Member QgsStyleManagerDialog::populateTypes () SIP_DEPRECATED
in QGIS 3.6 - has no effect and will be removed in QGIS 4.0
Member QgsStyleManagerDialog::regrouped (QStandardItem *) SIP_DEPRECATED
in QGIS 3.6 - has no effect and will be removed in QGIS 4.0
Member QgsStyleManagerDialog::removeColorRamp () SIP_DEPRECATED
in QGIS 3.6 - has no effect and will be removed in QGIS 4.0
Member QgsStyleManagerDialog::removeSymbol () SIP_DEPRECATED
in QGIS 3.6 - has no effect and will be removed in QGIS 4.0
Member QgsStyleManagerDialog::setSymbolsChecked (const QStringList &) SIP_DEPRECATED
in QGIS 3.6 - has no effect and will be removed in QGIS 4.0
Member QgsSvgCache::statusChanged (const QString &statusQString)
Deprecated since QGIS 3.6 – no longer emitted.
Member QgsSymbol::layer () const
Will be removed in QGIS 4.0
Member QgsSymbol::setLayer (const QgsVectorLayer *layer)
Will be removed in QGIS 4.0
Member QgsVectorLayer::setDataSource (const QString &dataSource, const QString &baseName, const QString &provider, bool loadDefaultStyleFlag=false)
Use version with ProviderOptions argument instead