[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: Re: Startup dialog in KPlato
From: David Faure <david () mandrakesoft ! com>
Date: 2002-03-25 18:51:40
[Download RAW message or body]
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().
--
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/, http://www.konqueror.org/
KDE, Making The Future of Computing Available Today
_______________________________________________
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