You can alias a function overload in sip.  Can't remember the syntax but
just have a quick search.
On 31/12/2013 12:48 pm, "Nyall Dawson" <notifications@github.com> wrote:

> In src/core/symbology-ng/qgssymbollayerv2utils.h:
>
> > @@ -147,10 +147,10 @@ class CORE_EXPORT QgsSymbolLayerV2Utils
> >                                          QColor &color, double &size );
> >
> >      static void wellKnownMarkerToSld( QDomDocument &doc, QDomElement &element,
> > -                                      QString name, QColor color, QColor borderColor = QColor(),
> > +                                      QString name, QColor color, QColor borderColor = QColor(), Qt::PenStyle borderStyle = Qt::SolidLine,
>
> @ahuarte47 <https://github.com/ahuarte47> in that case you'll need to
> fall back to using the uglier solution of adding the new optional attribute
> on the end of the function. It's not as nice, but it looks like it's the
> only solution.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/qgis/QGIS/pull/1046/files#r8595435>
> .
>