[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: Re: More then one Mimetype
From: Michael Koch <m_koch () bigfoot ! de>
Date: 1999-11-08 6:25:40
[Download RAW message or body]
Am Mon, 08 Nov 1999 schrieb David Faure:
> On Sun, Nov 07, 1999 at 08:26:07PM +0100, Michael Koch wrote:
> > Hi all, hi David, hi Torben, hi Reggie, hi Simon
> > (don't know who can help me)
> >
> >
> > Currently I'm hacking KImage to be Kanossa-friendly, ;-)
> > I can load several types of images, BMP, JPEG, ...
> >
> > But everytime, I load a file unequal to my default mimetype I get an error box
> > "Could not import file of type image/jpeg". How do I have to do that ? How can
> > I code it the right way ? No hacks anymore.
> That's because when you try to open something that is not of your default
> mimetype, it tries to run a filter...
>
> KImage is the only app that doesn't need an external filter for loading
> other mimetypes than his.
>
> Hmm, don't know what the solution is though
Ok. I overloaded KoMainWindow::slotFileOpen but I don't bleliev it is
implemented correctly. David, can you look at it (in kimage_shell.cc) ???
Ciao,
Michael
--
Michael Koch
KDE fan, enthusiast and developer
koch@kde.org
m_koch@bigfoot.de
mkoch@mandrakesoft.com
mkoch@heaven.riednet.wh.tu-darmstadt.de
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic