From ead1f751442a145df692699ce7324793e6f78ecf Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Thu, 22 Jun 2000 21:57:39 +0000 Subject: [PATCH] some cleanups, reconfigure() dcop call svn path=/trunk/kdebase/kwin/; revision=54046 --- KWinInterface.h | 3 ++- stdclient.cpp | 1 - workspace.cpp | 9 +++++++++ workspace.h | 1 + 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/KWinInterface.h b/KWinInterface.h index 1ab49d32f3..006c8995d0 100644 --- a/KWinInterface.h +++ b/KWinInterface.h @@ -8,9 +8,10 @@ class KWinInterface : virtual public DCOPObject K_DCOP k_dcop: - + virtual ASYNC cascadeDesktop() = 0; virtual ASYNC unclutterDesktop() = 0; + virtual ASYNC reconfigure() = 0; }; diff --git a/stdclient.cpp b/stdclient.cpp index 7af4774fed..a08f70f122 100644 --- a/stdclient.cpp +++ b/stdclient.cpp @@ -141,7 +141,6 @@ static void create_pixmaps() void StdClient::slotReset() { - warning("In slotReset"); delete close_pix; delete maximize_pix; delete minimize_pix; diff --git a/workspace.cpp b/workspace.cpp index 914b7b374a..09c3f65d14 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -1452,6 +1452,15 @@ void Workspace::unclutterDesktop() } +/*! + Reread settings + */ +void Workspace::reconfigure() +{ + KGlobal::config()->reparseConfiguration(); + options->reload(); +} + /*! Lowers the client \a c taking layers, transient windows and window diff --git a/workspace.h b/workspace.h index 35b7a722dd..344219d16f 100644 --- a/workspace.h +++ b/workspace.h @@ -171,6 +171,7 @@ public: // dcop interface void cascadeDesktop(); void unclutterDesktop(); + void reconfigure(); public slots: