[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KTMainWindow and saving props
From:       Matt Koss <koss () napri ! sk>
Date:       1999-03-29 19:00:34
[Download RAW message or body]

On Po, 29 mar 1999, Richard Moore wrote:
>Why not connect a signal of your own to the signal emitted by KTMW? This
>should work because of the signal forwarding feature and should allow
>you
>to get this effect without modifying KTMW at all.

What signal emited by KTMainWindow ?
You meant the signal saveYourself() emited by KApplication ?

Bye

		Matt

>
>Rich.
>
>Matt Koss wrote:
>> 
>> On So, 27 mar 1999, Sven Radej wrote:
>> >On Sat, 27 Mar 1999, Matt Koss wrote:
>> >>KTMainWindow has a nice feature - it saves geometry settings and
>> >>toolbar,statusbar, menubar positions on the session exit.
>> >>
>> >>It does it automatically when kapp emits signal saveYourself.
>> >>
>> >>However, this happens only when user does logout and leaves the application
>> >>running.
>> >>Can this feature be extended, so that  KTMainWindow saves these properties also
>> >>when the window is simply closed ?
>> >>I mean when I quit the application, I want it to save these properties
>> >>automatically.
>> >>
>> >>So far in kget I have implemented saving of these properties with my own code
>> >>and I saw that other developers are doing the same thing.
>> >>Is there any need for this duplicate code ?
>> >Of course not and part of SM code in KTMW was originally intended for that. But
>> >Matthias took it for SM code. I am planning to allow developers to use it too.
>> >But I have so little time right now :-(
>> 
>> I am not in a hurry. Take your time.
>> I just wanted to know if this is planned or not.
>> 
>> Regards
>> 
>>                 Matt
>> 
>> >
>> >bye,
>> >--
>> >Sven Radej     radej@kde.org
>> >KDE developer   Visit http://www.kde.org
>> --
>> Matej Koss      e-mail: koss@napri.sk
>> Kosice          ICQ#  : 19344305
>> Slovakia
>
>-- 
>     Richard Moore		rich@ipso-facto.freeserve.co.uk
>http://www.robocast.com/	richard@robocast.com
>http://developer.kde.org/	rich@kde.org
--
Matej Koss	e-mail: koss@napri.sk
Kosice		ICQ#  : 19344305
Slovakia

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic