[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu
Subject:    Re: [kde-edu]: Kig help needed! Don't know what do demo...
From:       Carsten Niehaus <cniehaus () gmx ! de>
Date:       2006-01-26 10:47:54
Message-ID: 200601261147.57180.cniehaus () gmx ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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@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...

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic