Use QList<KWin::EffectWindow*> as return type for mainWindows()

QtScript bindings fails when using EffectWindowList.
This commit is contained in:
Martin Gräßlin 2013-06-03 15:06:52 +02:00
parent 76c207df09
commit 4b4646973b

View file

@ -1621,7 +1621,7 @@ public:
bool isModal() const; bool isModal() const;
Q_SCRIPTABLE virtual KWin::EffectWindow* findModal() = 0; Q_SCRIPTABLE virtual KWin::EffectWindow* findModal() = 0;
Q_SCRIPTABLE virtual EffectWindowList mainWindows() const = 0; Q_SCRIPTABLE virtual QList<KWin::EffectWindow*> mainWindows() const = 0;
/** /**
* Returns whether the window should be excluded from window switching effects. * Returns whether the window should be excluded from window switching effects.