Declare metatype for Deleted and export Deleted
Needed for listening to windowClosed signal through QSignalSpy.
This commit is contained in:
parent
3eb52eb6ed
commit
3619d58044
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue