KApplication::requestShutDown and KApplication::propagateSessionManager

Benjamin Meyer ben at meyerhome.net
Fri Oct 7 16:54:53 BST 2005


On Friday 07 October 2005 11:01 am, Stephan Kulow wrote:
> Am Freitag, 7. Oktober 2005 17:07 schrieb Benjamin Meyer:
> > KApplication::requestShutDown() and
> > KApplication::propagateSessionManager() are both functions that will only
> > be ever called by the desktop and not by end applications.  In that goal
> > I have taken them and put them into there own little namespace and would
> > like to move them out of kdelibs and into kdebase/workspace/libs/ 
> > Attached is my first attempt at the namespace. Please RFC.  Also because
> > these are so specialized making there own static library is also
> > something I am thinking of.  What do you think?
>
> I guess, it makes sense. But note that workspace isn't the only use of
> these functions. E.g. backup software and movie encoding software and the
> like often like to offer to shutdown the computer after being done. So the
> question is a) will they want to link against a library or is dbus
> interface enough for them? I guess, dbus is fine here.

I would also want to go with dbus so that if the user happened to be in gnome 
etc and used the app the functionality wouldn't go away.

-Benjamin Meyer

-- 
aka icefox
Public Key: http://www.icefox.net/public_key.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051007/2132f81d/attachment.sig>


More information about the kde-core-devel mailing list