Make the paint methods invokable

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690995
This commit is contained in:
Richard J. Moore 2007-07-22 17:41:47 +00:00
parent e7fa9f4480
commit 1822d55bbb

6
svg.h
View File

@ -92,7 +92,7 @@ class PLASMA_EXPORT Svg : public QObject
* @arg point the position to start drawing; the entire svg will be
* drawn starting at this point.
*/
void paint(QPainter* painter, const QPointF& point,
Q_INVOKABLE void paint(QPainter* painter, const QPointF& point,
const QString& elementID = QString());
/**
@ -101,7 +101,7 @@ class PLASMA_EXPORT Svg : public QObject
* @arg x the horizontal coordinate to start painting from
* @arg y the vertical coordinate to start painting from
*/
void paint(QPainter* painter, int x, int y,
Q_INVOKABLE void paint(QPainter* painter, int x, int y,
const QString& elementID = QString());
/**
@ -111,7 +111,7 @@ class PLASMA_EXPORT Svg : public QObject
* of the
* drawn starting at this point.
*/
void paint(QPainter* painter, const QRectF& rect,
Q_INVOKABLE void paint(QPainter* painter, const QRectF& rect,
const QString& elementID = QString());
/**