From bf079b449807376bf3f9c39d3efed335454a434b Mon Sep 17 00:00:00 2001 From: Karol Szwed Date: Thu, 7 Mar 2002 03:19:57 +0000 Subject: [PATCH] - Add the resetClients() signal again for backwards compatility, and mark it as obsolete. svn path=/trunk/kdebase/kwin/; revision=141463 --- options.cpp | 2 ++ options.h | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/options.cpp b/options.cpp index ab5b69666d..12a4eafdad 100644 --- a/options.cpp +++ b/options.cpp @@ -270,6 +270,8 @@ void Options::reload() globalConfig.setGroup("KDE"); d->fade_tooltips = globalConfig.readBoolEntry("EffectFadeTooltip", false); d->animate_tooltips = globalConfig.readBoolEntry("EffectAnimateTooltip", false); + + emit resetClients(); } diff --git a/options.h b/options.h index 43a06db28b..80ef6abe03 100644 --- a/options.h +++ b/options.h @@ -320,6 +320,15 @@ public: */ int electricBorderDelay(); +signals: + /** + * Emitted when KWin is asked to reconfigure itself. + * + * Please note that this signal is obsolete, and provided only for + * backwards compatibility. It is advisable to use the reset() cdecl. + * in the style plugin interface instead of connecting to this signal. + */ + void resetClients(); public slots: void reload();