fix for scripting

svn path=/trunk/KDE/kdelibs/; revision=1073880
This commit is contained in:
Aaron J. Seigo 2010-01-13 03:14:25 +00:00
parent 5755627da7
commit d065f88749

View File

@ -77,7 +77,8 @@ class PLASMA_EXPORT FrameSvg : public Svg
{
Q_OBJECT
friend class Applet;
Q_FLAGS(EnabledBorders)
Q_PROPERTY(EnabledBorders enabledBorders READ enabledBorders WRITE setEnabledBorders)
public:
/**
@ -115,13 +116,13 @@ class PLASMA_EXPORT FrameSvg : public Svg
* Sets what borders should be painted
* @arg flags borders we want to paint
*/
Q_INVOKABLE void setEnabledBorders(const EnabledBorders borders);
void setEnabledBorders(const EnabledBorders borders);
/**
* Convenience method to get the enabled borders
* @return what borders are painted
*/
Q_INVOKABLE EnabledBorders enabledBorders() const;
EnabledBorders enabledBorders() const;
/**
* Resize the frame maintaining the same border size
@ -259,6 +260,7 @@ class PLASMA_EXPORT FrameSvg : public Svg
private:
FrameSvgPrivate *const d;
friend class Applet;
Q_PRIVATE_SLOT(d, void updateSizes())
Q_PRIVATE_SLOT(d, void updateNeeded())