[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Startup dialog in KPlato
From: Bo Thorsen <bo () sonofthor ! dk>
Date: 2002-03-25 20:14:02
[Download RAW message or body]
On Monday 25 March 2002 19:51, David Faure wrote:
> On Monday 25 March 2002 16:57, Bo Thorsen wrote:
> > Hi all,
> >
> > I'm can't figure out how to get the initial dialog that kword/kspread and
> > others present, where one can start a new project (perhaps based on a
> > template) or open one of the recent ones. I'm trying to make this work
> > for KPlato and this is the first thing I haven't been able to figure out.
> >
> > I have added a template and an icon for this and added the template
> > resource dir. Now I just need the last step so I can get the dialog.
>
> You need to reimplement bool KoDocument::initDoc(), and call
> KoTemplateChooseDia::choose() from there. See e.g. KWDocument::initDoc().
Thanks, I just committed this :-) Now I just have to implement
(de-)serialization of the model so it can load a template.
Bo.
--
Bo Thorsen | Praestevejen 4
Free software developer | 5290 Marslev
SuSE Labs | Denmark
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic