diff --git a/KWinInterface.h b/KWinInterface.h index 99bed0094d..5410b4e8c7 100644 --- a/KWinInterface.h +++ b/KWinInterface.h @@ -22,6 +22,10 @@ class KWinInterface : virtual public DCOPObject virtual void nextDesktop() = 0; virtual void previousDesktop() = 0; virtual void circulateDesktopApplications() = 0; + + k_dcop_signals: + + virtual void dcopResetAllClients(); }; #endif diff --git a/workspace.cpp b/workspace.cpp index 3fb7fd87e0..dddedff164 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -3597,9 +3597,9 @@ void Workspace::slotResetAllClients() else focusToNull(); - // Add a dcop signal to allow other apps to know when the kwin client + // Emit a DCOP signal to allow other apps to know when the kwin client // has been changed by via the titlebar decoration selection. - kapp->dcopClient()->emitDCOPSignal("dcopResetAllClients()", QByteArray() ); + emit dcopResetAllClients(); } void Workspace::slotSettingsChanged(int category)