QGIS API Documentation  3.1.0-Master (7a1a787)
Deprecated List
Member QgisInterface::openURL (const QString &url, bool useQgisDocDirectory=true)=0
Use QDesktopServices instead
Member QgsAttributeEditorRelation::QgsAttributeEditorRelation (const QString &name, const QString &relationId, QgsAttributeEditorElement *parent)
since QGIS 3.0.2.
Member QgsAttributeEditorRelation::QgsAttributeEditorRelation (const QString &name, const QgsRelation &relation, QgsAttributeEditorElement *parent)
since QGIS 3.0.2.
Member QgsAttributeForm::attributeChanged (const QString &attribute, const QVariant &value)
since 3.0
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 correctly handle the user's datum transform setup. Instead the constructor variant which accepts a QgsCoordinateTransformContext or QgsProject argument should be used instead. It is highly likely that this constructor will be removed in future QGIS versions.
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 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 QgsProject::fileInfo () const
Use absoluteFilePath(), baseName() or lastModifiedTime() 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 QgsVectorLayer::setDataSource (const QString &dataSource, const QString &baseName, const QString &provider, bool loadDefaultStyleFlag=false)
Use version with ProviderOptions argument instead