summaryrefslogtreecommitdiffstats
path: root/sigscript/MapEffectWrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'sigscript/MapEffectWrapper.h')
-rw-r--r--sigscript/MapEffectWrapper.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sigscript/MapEffectWrapper.h b/sigscript/MapEffectWrapper.h
index 52b6d84c..0b9b5863 100644
--- a/sigscript/MapEffectWrapper.h
+++ b/sigscript/MapEffectWrapper.h
@@ -24,6 +24,9 @@
// Sigcore includes
#include <sigcore/Script.h>
+// Qt includes
+#include <QtGui/QPainterPath>
+
// Forward declarations
namespace Sigmod
{
@@ -43,7 +46,7 @@ class SIGSCRIPT_EXPORT MapEffectWrapper : public ObjectWrapper
static MapEffectWrapper* create(const Sigmod::MapEffect* effect, MapWrapper* parent);
Q_SCRIPTABLE QString name() const;
- Q_SCRIPTABLE QRect area() const;
+ Q_SCRIPTABLE QPainterPath area() const;
Q_SCRIPTABLE SkinWrapper* skin();
Q_SCRIPTABLE bool isGhost() const;
Q_SCRIPTABLE Sigcore::Script script() const;