diff --git a/python/core/qgscomposerlegend.sip b/python/core/qgscomposerlegend.sip index 0c3d1f655eb9..0db10e950dad 100644 --- a/python/core/qgscomposerlegend.sip +++ b/python/core/qgscomposerlegend.sip @@ -71,27 +71,4 @@ class QgsComposerLegend: QObject, QgsComposerItem public slots: /**Data changed*/ void synchronizeWithModel(); - - protected: - - - private: - QgsComposerLegend(); //forbidden - - /**Draws child items of a layer item - @param layerItem parent model item (layer) - @param currentYCoord in/out: current y position of legend item - @param maxXCoord in/out: maximum x-coordinate of the whole legend - */ - void drawLayerChildItems( QPainter* p, QStandardItem* layerItem, double& currentYCoord, double& maxXCoord ); - - /**Draws a symbol at the current y position and returns the new x position. Returns real symbol height, because for points, - it is possible that it differs from mSymbolHeight*/ - void drawSymbol( QPainter* p, QgsSymbol* s, double currentYCoord, double& currentXPosition, double& symbolHeight ) const; - void drawPointSymbol( QPainter*, QgsSymbol* s, double currentYCoord, double& currentXPosition, double& symbolHeight ) const; - void drawLineSymbol( QPainter*, QgsSymbol* s, double currentYCoord, double& currentXPosition ) const; - void drawPolygonSymbol( QPainter* p, QgsSymbol* s, double currentYCoord, double& currentXPosition ) const; - - /**Helper function that lists ids of layers contained in map canvas*/ - QStringList layerIdList() const; }; diff --git a/python/core/qgscomposermap.sip b/python/core/qgscomposermap.sip index d49e3615989d..48ea5e14fea9 100644 --- a/python/core/qgscomposermap.sip +++ b/python/core/qgscomposermap.sip @@ -105,13 +105,4 @@ class QgsComposerMap : QObject, QgsComposerItem signals: /**Is emitted when width/height is changed as a result of user interaction*/ void extentChanged(); - - private: - - /**Establishes signal/slot connection for update in case of layer change*/ - void connectUpdateSlot(); - - /**Returns the zoom factor of the graphics view. If no - graphics view exists, the default 1 is returned*/ - double horizontalViewScaleFactor() const; }; diff --git a/python/core/qgscomposerpicture.sip b/python/core/qgscomposerpicture.sip index 3f32571c72e9..9290b599df1d 100644 --- a/python/core/qgscomposerpicture.sip +++ b/python/core/qgscomposerpicture.sip @@ -38,13 +38,6 @@ class QgsComposerPicture: QObject, QgsComposerItem */ bool readXML( const QDomElement& itemElem, const QDomDocument& doc ); - private: - - //default constructor is forbidden - QgsComposerPicture(); - /**Updates content of current image using svg generator*/ - void updateImageFromSvg(); - signals: /**Tell the configuration widget that the settings need to be updated*/ void settingsChanged(); diff --git a/python/core/qgscomposition.sip b/python/core/qgscomposition.sip index 106de9e38637..6724945d190e 100644 --- a/python/core/qgscomposition.sip +++ b/python/core/qgscomposition.sip @@ -125,19 +125,4 @@ class QgsComposition: QGraphicsScene /**Snaps a scene coordinate point to grid*/ QPointF snapPointToGrid( const QPointF& scenePoint ) const; - - private: - - - QgsComposition(); //default constructor is forbidden - - /**Reset z-values of items based on position in z list*/ - void updateZValues(); - - /**Returns the bounding rectangle of the selected items in scene coordinates - @return 0 in case of success*/ - int boundingRectOfSelectedItems( QRectF& bRect ); - - void loadGridAppearanceSettings(); - void saveGridAppearanceSettings(); -}; \ No newline at end of file +}; diff --git a/python/core/qgsscalebarstyle.sip b/python/core/qgsscalebarstyle.sip index 8ac53f59f9dd..e2b24dfd1577 100644 --- a/python/core/qgsscalebarstyle.sip +++ b/python/core/qgsscalebarstyle.sip @@ -18,7 +18,4 @@ class QgsScaleBarStyle virtual QRectF calculateBoxSize() const; //default implementation provided virtual QString name() const = 0; //return name of the style //virtual QIcon styleIcon() const = 0; - - private: - QgsScaleBarStyle(); //default constructor forbidden -}; \ No newline at end of file +}; diff --git a/python/gui/qgscomposerview.sip b/python/gui/qgscomposerview.sip index 50ba80df11e3..a1ca633373e7 100644 --- a/python/gui/qgscomposerview.sip +++ b/python/gui/qgscomposerview.sip @@ -64,8 +64,6 @@ class QgsComposerView: QGraphicsView void keyReleaseEvent( QKeyEvent * e ); void wheelEvent( QWheelEvent* event ); - - private: public slots: