[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: kdepim
From: David Faure <faure () kde ! org>
Date: 2005-01-11 20:11:32
Message-ID: 200501112111.32595.faure () kde ! org
[Download RAW message or body]
On Tuesday 11 January 2005 21:08, David Faure wrote:
> On Tuesday 11 January 2005 18:21, Reinhold Kainhofer wrote:
> > CVS commit by kainhofe:
> >
> > Add support for custom pages in the incidence editors that display an attachment \
> > inline. If an attachment of the form \
> > ATTACH;FMTTYPE=text/html;X-CONTENT-DISPOSITION=inline;X-LABEL=Titel:http://reinhold.kainhofer.com/
> > is encountered in an incidence, a new tab is added to the incidence editor \
> > dialog, and the URL is shown there in a read-only part. This will be used to let \
> > a groupware server provide additional configuration pages for a given incidence.
> > Problems that are still there:
> > -) non-html content (e.g. pdf) will only be displayed when you open the dialog a \
> > second time (not that bad, we'll disable displaying all attachments with \
> > content-type other than text/html anyway)
> > -) Pressing OK in the editor dialog in KOrganizer will cause the attachment to \
> > lose the X-.. fields
> > -) The part is read-only, so clicking on a link won't have any effect whatsoever \
> > :-((( David, do you have an idea how I can make it start konqueror instead?
>
> Connect to the part's browserextension's openURLRequestDelayed signal.
>
> Use KParts::BrowserExtension* be = KParts::BrowserExtension::childObject( part );
> to get hold of the browser extension.
Ah, and: simply give the url to a
(void)new KRun( url );
This will launch the right app for that url automatically.
--
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic