Declare metatype for Deleted and export Deleted

Needed for listening to windowClosed signal through QSignalSpy.
This commit is contained in:
Martin Gräßlin 2015-10-22 10:06:01 +02:00
parent 3eb52eb6ed
commit 3619d58044

View file

@ -33,7 +33,7 @@ namespace Decoration
class Renderer;
}
class Deleted
class KWIN_EXPORT Deleted
: public Toplevel
{
Q_OBJECT
@ -119,4 +119,6 @@ inline void Deleted::refWindow()
} // namespace
Q_DECLARE_METATYPE(KWin::Deleted*)
#endif