QGradient: de-inline dtor
As exported classes, their dtors should be out-of-line, lest we can never add something to them afterwards. Change-Id: I706281ca3fb285f9f00152f2e3fb34795699d69f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
4543357007
commit
fdd2714999
@ -1401,6 +1401,13 @@ QGradient::QGradient(Preset preset)
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
\internal
|
||||
*/
|
||||
QGradient::~QGradient()
|
||||
{
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
static void initGradientPresets() { Q_INIT_RESOURCE(qmake_webgradients); }
|
||||
Q_CONSTRUCTOR_FUNCTION(initGradientPresets);
|
||||
@ -1785,6 +1792,12 @@ QLinearGradient::QLinearGradient(qreal xStart, qreal yStart, qreal xFinalStop, q
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
\internal
|
||||
*/
|
||||
QLinearGradient::~QLinearGradient()
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the start point of this linear gradient in logical coordinates.
|
||||
@ -2055,6 +2068,13 @@ QRadialGradient::QRadialGradient(qreal cx, qreal cy, qreal centerRadius, qreal f
|
||||
setFocalRadius(focalRadius);
|
||||
}
|
||||
|
||||
/*!
|
||||
\internal
|
||||
*/
|
||||
QRadialGradient::~QRadialGradient()
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the center of this radial gradient in logical coordinates.
|
||||
|
||||
@ -2301,6 +2321,13 @@ QConicalGradient::QConicalGradient(qreal cx, qreal cy, qreal angle)
|
||||
{
|
||||
}
|
||||
|
||||
/*!
|
||||
\internal
|
||||
*/
|
||||
QConicalGradient::~QConicalGradient()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
Constructs a conical with center at (0, 0) starting the
|
||||
|
@ -376,6 +376,7 @@ public:
|
||||
|
||||
QGradient();
|
||||
QGradient(Preset);
|
||||
~QGradient();
|
||||
|
||||
Type type() const { return m_type; }
|
||||
|
||||
@ -429,6 +430,7 @@ public:
|
||||
QLinearGradient();
|
||||
QLinearGradient(const QPointF &start, const QPointF &finalStop);
|
||||
QLinearGradient(qreal xStart, qreal yStart, qreal xFinalStop, qreal yFinalStop);
|
||||
~QLinearGradient();
|
||||
|
||||
QPointF start() const;
|
||||
void setStart(const QPointF &start);
|
||||
@ -453,6 +455,8 @@ public:
|
||||
QRadialGradient(const QPointF ¢er, qreal centerRadius, const QPointF &focalPoint, qreal focalRadius);
|
||||
QRadialGradient(qreal cx, qreal cy, qreal centerRadius, qreal fx, qreal fy, qreal focalRadius);
|
||||
|
||||
~QRadialGradient();
|
||||
|
||||
QPointF center() const;
|
||||
void setCenter(const QPointF ¢er);
|
||||
inline void setCenter(qreal x, qreal y) { setCenter(QPointF(x, y)); }
|
||||
@ -478,6 +482,7 @@ public:
|
||||
QConicalGradient();
|
||||
QConicalGradient(const QPointF ¢er, qreal startAngle);
|
||||
QConicalGradient(qreal cx, qreal cy, qreal startAngle);
|
||||
~QConicalGradient();
|
||||
|
||||
QPointF center() const;
|
||||
void setCenter(const QPointF ¢er);
|
||||
|
Loading…
Reference in New Issue
Block a user