Add API documentation as it's public API now
Reviewed by David Edmundson
This commit is contained in:
parent
47c7688d02
commit
99586bc420
@ -287,8 +287,19 @@ public:
|
|||||||
*/
|
*/
|
||||||
Q_INVOKABLE void paintFrame(QPainter *painter, const QPointF &pos = QPointF(0, 0));
|
Q_INVOKABLE void paintFrame(QPainter *painter, const QPointF &pos = QPointF(0, 0));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @returns the prefix that is actually used
|
||||||
|
*/
|
||||||
QString actualPrefix() const;
|
QString actualPrefix() const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @returns the element id name for said @p borders
|
||||||
|
*/
|
||||||
static QString borderToElementId(FrameSvg::EnabledBorders borders);
|
static QString borderToElementId(FrameSvg::EnabledBorders borders);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @returns the suggested geometry for the @p borders given a @p fullSize frame size and a @p contentRect
|
||||||
|
*/
|
||||||
static QRect sectionRect(Plasma::FrameSvg::EnabledBorders borders, const QRect& contentRect, const QSize& fullSize);
|
static QRect sectionRect(Plasma::FrameSvg::EnabledBorders borders, const QRect& contentRect, const QSize& fullSize);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user