Use the new DCOP signals API.
svn path=/trunk/kdebase/kwin/; revision=141700
This commit is contained in:
parent
8be89723d1
commit
305331deca
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue