Add API documentation as it's public API now

Reviewed by David Edmundson
This commit is contained in:
Aleix Pol 2014-07-21 15:49:10 +02:00
parent 47c7688d02
commit 99586bc420

View File

@ -287,8 +287,19 @@ public:
*/
Q_INVOKABLE void paintFrame(QPainter *painter, const QPointF &pos = QPointF(0, 0));
/**
* @returns the prefix that is actually used
*/
QString actualPrefix() const;
/**
* @returns the element id name for said @p 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);
protected: