QGIS API Documentation  3.8.0-Zanzibar (11aff65)
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 QgsAnnotation::frameOffsetFromReferencePoint () const
use frameOffsetFromReferencePointMm() instead
Member QgsAnnotation::frameSize () const
use frameSizeMm() instead
Member QgsAnnotation::setFrameOffsetFromReferencePoint (QPointF offset)
use setFrameOffsetFromReferencePointMm() instead
Member QgsAnnotation::setFrameSize (QSizeF size)
use setFrameSizeMm() instead
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 (const QString &favDir, const QString &name=QString())
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::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::destinationDatumTransformId () const
Unused on builds based on Proj 6.0 or later
Member QgsCoordinateTransform::setDestinationDatumTransformId (int datumId)
Unused on builds based on Proj 6.0 or later
Member QgsCoordinateTransform::setSourceDatumTransformId (int datumId)
Unused on builds based on Proj 6.0 or later
Member QgsCoordinateTransform::sourceDatumTransformId () const
Unused on builds based on Proj 6.0 or later
Member QgsCoordinateTransformContext::addSourceDestinationDatumTransform (const QgsCoordinateReferenceSystem &sourceCrs, const QgsCoordinateReferenceSystem &destinationCrs, int sourceTransformId, int destinationTransformId)
Has no effect on builds based on Proj 6.0 or later, use addCoordinateOperation() instead.
Member QgsCoordinateTransformContext::calculateDatumTransforms (const QgsCoordinateReferenceSystem &source, const QgsCoordinateReferenceSystem &destination) const
Has no effect on builds based on Proj 6.0 or later. Use calculateCoordinateOperation() instead.
Member QgsCoordinateTransformContext::removeSourceDestinationDatumTransform (const QgsCoordinateReferenceSystem &sourceCrs, const QgsCoordinateReferenceSystem &destinationCrs)
Use removeCoordinateOperation() instead
Member QgsCoordinateTransformContext::sourceDestinationDatumTransforms () const
Has no effect on builds based on Proj 6.0 or later, use coordinateOperations() instead.
Member QgsDataItem::SetCrs
in QGIS 3.6 – no longer used by QGIS and will be removed in QGIS 4.0
Member QgsDataItem::setCrs (const QgsCoordinateReferenceSystem &crs)
since QGIS 3.6. This method is no longer used by QGIS and will be removed in QGIS 4.0.
Member QgsDatumTransform::datumTransformations (const QgsCoordinateReferenceSystem &source, const QgsCoordinateReferenceSystem &destination)
Not used for builds based on Proj >= 6.0
Member QgsDatumTransform::datumTransformInfo (int datumTransformId)
Not used for builds based on Proj >= 6.0
Member QgsDatumTransform::datumTransformToProj (int datumTransformId)
Not used for builds based on Proj >= 6.0
Member QgsDatumTransform::projStringToDatumTransformId (const QString &string)
Not used for builds based on Proj >= 6.0
Class QgsDatumTransform::TransformInfo
Not used on builds based on Proj >= 6.0
Class QgsDatumTransform::TransformPair
Not used for builds based on Proj >= 6.0
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 QgsMarkerLineSymbolLayer::rotateMarker () const
Use rotateSymbols() instead.
Member QgsMarkerLineSymbolLayer::setRotateMarker (bool rotate)
Use setRotateSymbols() instead.
Member QgsNetworkAccessManager::requestAboutToBeCreated (QNetworkAccessManager::Operation, const QNetworkRequest &, QIODevice *)
Use the thread-safe requestAboutToBeCreated( QgsNetworkRequestParameters ) signal instead.
Member QgsNetworkAccessManager::requestCreated (QNetworkReply *)
Use the thread-safe requestAboutToBeCreated( QgsNetworkRequestParameters ) signal instead.
Member QgsNewOgrConnection::showHelp () SIP_DEPRECATED
will be made private with QGIS 4
Member QgsNewVectorLayerDialog::runAndCreateLayer (QWidget *parent=nullptr, QString *enc=nullptr, const QgsCoordinateReferenceSystem &crs=QgsCoordinateReferenceSystem(), const QString &initialPath=QString())
in QGIS 3.4.5 - use execAndCreateLayer() instead.
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 QgsProcessingUtils::combineLayerExtents (const QList< QgsMapLayer *> &layers, const QgsCoordinateReferenceSystem &crs=QgsCoordinateReferenceSystem())
Use version with QgsProcessingContext argument instead
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 QStringList &layerIds)
since QGIS 3.4 use QgsMapLayer::setFlags() instead
Member QgsProject::setNonIdentifiableLayers (const QList< QgsMapLayer *> &layers)
since QGIS 3.4 use QgsMapLayer::setFlags() instead
Member QgsProject::setRequiredLayers (const QSet< QgsMapLayer *> &layers)
since QGIS 3.4 use QgsMapLayer::setFlags() instead
Member QgsRasterCalculator::QgsRasterCalculator (const QString &formulaString, const QString &outputFile, const QString &outputFormat, const QgsRectangle &outputExtent, int nOutputColumns, int nOutputRows, const QVector< QgsRasterCalculatorEntry > &rasterEntries)
since QGIS 3.8, use the version with transformContext instead
Member QgsRasterCalculator::QgsRasterCalculator (const QString &formulaString, const QString &outputFile, const QString &outputFormat, const QgsRectangle &outputExtent, const QgsCoordinateReferenceSystem &outputCrs, int nOutputColumns, int nOutputRows, const QVector< QgsRasterCalculatorEntry > &rasterEntries)
since QGIS 3.8, use the version with transformContext instead
Member QgsRasterFileWriter::writeRaster (const QgsRasterPipe *pipe, int nCols, int nRows, const QgsRectangle &outputExtent, const QgsCoordinateReferenceSystem &crs, QgsRasterBlockFeedback *feedback=nullptr)
since QGIS 3.8, use version with transformContext instead
Member QgsRasterFileWriterTask::QgsRasterFileWriterTask (const QgsRasterFileWriter &writer, QgsRasterPipe *pipe, int columns, int rows, const QgsRectangle &outputExtent, const QgsCoordinateReferenceSystem &crs)
since QGIS 3.8, use version with transformContext instead
Member QgsRasterLayer::setDataProvider (const QString &provider)
Use the version with ProviderOptions instead.
Member QgsRasterProjector::setCrs (const QgsCoordinateReferenceSystem &srcCRS, const QgsCoordinateReferenceSystem &destCRS, int srcDatumTransform=-1, int destDatumTransform=-1)
since QGIS 3.8, use transformContext version 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 QgsSymbolRenderContext::mapUnitScale () const
Will be removed in QGIS 4.0
Member QgsSymbolRenderContext::outputLineWidth (double width) const
Use the size conversion methods in QgsRenderContext instead.
Member QgsSymbolRenderContext::outputPixelSize (double size) const
Use the size conversion methods in QgsRenderContext instead.
Member QgsSymbolRenderContext::outputUnit () const
No longer used and will be removed in QGIS 4.0
Member QgsSymbolRenderContext::setMapUnitScale (const QgsMapUnitScale &scale)
Will be removed in QGIS 4.0
Member QgsSymbolRenderContext::setOutputUnit (QgsUnitTypes::RenderUnit u)
No longer used and will be removed in QGIS 4.0
Member QgsVectorLayer::drawVertexMarker (double x, double y, QPainter &p, QgsVectorLayer::VertexMarkerType type, int vertexSize)
Use the equivalent QgsSymbolLayerUtils::drawVertexMarker function instead
Member QgsVectorLayer::setDataSource (const QString &dataSource, const QString &baseName, const QString &provider, bool loadDefaultStyleFlag=false)
Use version with ProviderOptions argument instead