some cleanups, reconfigure() dcop call

svn path=/trunk/kdebase/kwin/; revision=54046
This commit is contained in:
Matthias Ettrich 2000-06-22 21:57:39 +00:00
parent 6655d0207d
commit ead1f75144
4 changed files with 12 additions and 2 deletions

View file

@ -11,6 +11,7 @@ class KWinInterface : virtual public DCOPObject
virtual ASYNC cascadeDesktop() = 0; virtual ASYNC cascadeDesktop() = 0;
virtual ASYNC unclutterDesktop() = 0; virtual ASYNC unclutterDesktop() = 0;
virtual ASYNC reconfigure() = 0;
}; };

View file

@ -141,7 +141,6 @@ static void create_pixmaps()
void StdClient::slotReset() void StdClient::slotReset()
{ {
warning("In slotReset");
delete close_pix; delete close_pix;
delete maximize_pix; delete maximize_pix;
delete minimize_pix; delete minimize_pix;

View file

@ -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 Lowers the client \a c taking layers, transient windows and window

View file

@ -171,6 +171,7 @@ public:
// dcop interface // dcop interface
void cascadeDesktop(); void cascadeDesktop();
void unclutterDesktop(); void unclutterDesktop();
void reconfigure();
public slots: public slots: