Re: need help in containments development

2010-07-21 Thread Giulio Camuffo
On Wednesday 21 July 2010 13:25:47 Giulio Camuffo wrote: > On Wednesday 21 July 2010 11:08:35 Marco Martin wrote: > > what about loading a set of default in your qgw ctor, then eventually > > overriding them when/if a restore is performed? > > mmh, it could work, but it isn't so clean, so i'd pref

Re: need help in containments development

2010-07-21 Thread Giulio Camuffo
On Wednesday 21 July 2010 11:08:35 Marco Martin wrote: > what about loading a set of default in your qgw ctor, then eventually > overriding them when/if a restore is performed? mmh, it could work, but it isn't so clean, so i'd prefer to come up with an other solution. Anyway I'll try and see if i

Re: need help in containments development

2010-07-21 Thread Marco Martin
On Wednesday 21 July 2010, Giulio Camuffo wrote: > 2010/7/20 Aaron J. Seigo > > > > so if I had previously swapped > > > from my own containment to the default one it will first create the > > > > default > > > > > one and then restore the previously saved object, resulting in one > > > > usel

Re: need help in containments development

2010-07-21 Thread Giulio Camuffo
2010/7/20 Aaron J. Seigo > > so if I had previously swapped > > from my own containment to the default one it will first create the > default > > one and then restore the previously saved object, resulting in one > useless > > object. > > is this "object" a Plasma::Applet, and the default contain

Re: need help in containments development

2010-07-20 Thread Aaron J. Seigo
On July 20, 2010, Giulio Camuffo wrote: > I need to create an object on the startup of the containment that will be > restored the next time plasma starts. you haven't really given much details as to what this object is or how it is supposed to work, but given that, here's my suggestion: if it i

Re: need help in containments development

2010-07-20 Thread Chani
> > I'd need a method or a signal *always called* and called *always after* > restore, but i couldn't find any. > Do you have any hint? Should it be added to Containment? > I thought init came after restore... that's why you don't set default sizes in init :) __