[kde-edu]: Kig help needed! Don't know what do demo...
Carsten Niehaus
cniehaus at gmx.de
Thu Jan 26 11:47:54 CET 2006
Am Donnerstag, 26. Januar 2006 11:41 schrieb Maurizio Paolini:
> On Thu, Jan 26, 2006 at 10:19:28AM +0100, Carsten Niehaus wrote:
> > http://dmf.unicatt.it/~paolini/conferenze/vicenza2005/
> >
> > Not one .kig-file works with kig from 3.5-branch. The format "plain" is
> > not supported KIG is telling me.... Can you help here?
>
> How strange! I just tried the following (with success)
>
> - I reinstalled the kde 3.5 "kdeedu" ( # yum install kdeedu )
> $ kig --version
> Qt: 3.3.4
> KDE: 3.5.0-0.4.fc4 Red Hat
> Kig: v0.10.5
kig --version
Qt: 3.3.4
KDE: 3.5.0
Kig: v0.10.5
I get this in the shell:
kig: [virtual bool KigPart::openFile()] mimetype: text/plain
That mean in this code it returns false:
KigFilter* filter = KigFilters::instance()->find( mimeType->name() );
if ( !filter )
{
// we don't support this mime type...
KMessageBox::sorry
(
widget(),
i18n( "You tried to open a document of type \"%1\"; unfortunately, "
"Kig does not support this format. If you think the format in "
"question would be worth implementing support for, you can "
"always ask us nicely on mailto:toscano.pino at tiscali.it "
"or do the work yourself and send me a patch."
).arg(mimeType->name()),
i18n( "Format Not Supported" )
);
return false;
};
By the way, it should by wrapped in <qt></qt> to support the mailto...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-edu/attachments/20060126/75f32502/attachment.pgp
More information about the kde-edu
mailing list