Skip to content

Commit 25125b0

Browse files
committed
Remove deprecated composer methods
1 parent 5617dbc commit 25125b0

File tree

75 files changed

+71
-7893
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+71
-7893
lines changed

python/core/composer/qgsatlascomposition.sip

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -223,49 +223,6 @@ public:
223223
/** Recalculates the bounds of an atlas driven map */
224224
void prepareMap( QgsComposerMap* map );
225225

226-
227-
//deprecated methods
228-
229-
/** Returns the map used by the atlas
230-
* @deprecated Use QgsComposerMap::atlasDriven() instead
231-
*/
232-
QgsComposerMap* composerMap() const /Deprecated/;
233-
234-
/** Sets the map used by the atlas
235-
* @deprecated Use QgsComposerMap::setAtlasDriven( true ) instead
236-
*/
237-
void setComposerMap( QgsComposerMap* map ) /Deprecated/;
238-
239-
/** Returns whether the atlas map uses a fixed scale
240-
* @deprecated since 2.4 Use QgsComposerMap::atlasScalingMode() instead
241-
*/
242-
bool fixedScale() const /Deprecated/;
243-
244-
/** Sets whether the atlas map should use a fixed scale
245-
* @deprecated since 2.4 Use QgsComposerMap::setAtlasScalingMode() instead
246-
*/
247-
void setFixedScale( bool fixed ) /Deprecated/;
248-
249-
/** Returns the margin for the atlas map
250-
* @deprecated Use QgsComposerMap::atlasMargin() instead
251-
*/
252-
float margin() const /Deprecated/;
253-
254-
/** Sets the margin for the atlas map
255-
* @deprecated Use QgsComposerMap::setAtlasMargin( double ) instead
256-
*/
257-
void setMargin( float margin ) /Deprecated/;
258-
259-
//! @deprecated use sortKeyAttributeName instead
260-
int sortKeyAttributeIndex() const /Deprecated/;
261-
//! @deprecated use setSortKeyAttributeName instead
262-
void setSortKeyAttributeIndex( int idx ) /Deprecated/;
263-
264-
/** Returns the current atlas feature. Must be called after prepareForFeature( i ).
265-
* @deprecated use feature() instead
266-
*/
267-
QgsFeature* currentFeature() /Deprecated/;
268-
269226
/** Returns the current atlas geometry in the given projection system (default to the coverage layer's CRS) */
270227
QgsGeometry currentGeometry( const QgsCoordinateReferenceSystem& projectedTo = QgsCoordinateReferenceSystem() ) const;
271228

python/core/composer/qgscomposerarrow.sip

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,6 @@ class QgsComposerArrow: QgsComposerItem
4848
*/
4949
double arrowHeadWidth() const;
5050

51-
/** Sets the pen width for drawing the line and arrow head
52-
* @deprecated use setArrowHeadOutlineWidth or setLineSymbol instead
53-
*/
54-
void setOutlineWidth( double width ) /Deprecated/;
55-
56-
/** Returns the pen width for drawing the line and arrow head
57-
* @deprecated use arrowHeadOutlineWidth or lineSymbol instead
58-
*/
59-
double outlineWidth() const /Deprecated/;
60-
6151
/** Sets the marker to draw at the start of the line
6252
* @param svgPath file path for svg marker graphic to draw
6353
* @see startMarker
@@ -86,16 +76,6 @@ class QgsComposerArrow: QgsComposerItem
8676
*/
8777
QString endMarker() const;
8878

89-
/** Returns the color for the line and arrow head
90-
* @deprecated use arrowHeadOutlineColor, arrowHeadFillColor or lineStyle instead
91-
*/
92-
QColor arrowColor() const /Deprecated/;
93-
94-
/** Sets the color for the line and arrow head
95-
* @deprecated use setArrowHeadOutlineColor, setArrowHeadFillColor or setLineStyle instead
96-
*/
97-
void setArrowColor( const QColor& c ) /Deprecated/;
98-
9979
/** Returns the color used to draw outline around the the arrow head.
10080
* @returns arrow head outline color
10181
* @see arrowHeadFillColor

python/core/composer/qgscomposerattributetable.sip

Lines changed: 0 additions & 237 deletions
This file was deleted.

0 commit comments

Comments
 (0)