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

List:       kde-devel
Subject:    Re: Getting data through HTTP in an ioslave?
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-07-22 13:51:02
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 22 July 2003 13:38, Michael Goffioul wrote:
> Michael Goffioul wrote:
> > Hi,
> >
> > In an ioslave (print ioslave), I want to get some data through the
> > network using the HTTP protocol (for on-line printer driver
> > downloading). I wonder what's the best way to do it. As this takes
> > place in a slave, the downloading should be synchronous, so the
> > first idea that came to my mind is to use KIO::NetAccess, but this
> > shows a progress dialog, which I don't want.
>
> Update: calling KIO::NetAccess::download from an ioslave does not
> seem to work. My ioslave crashes somewhere in that call. Any
> hint would be appreciated. Thanks.

You will need to have a KApplication object in order to use KIO.

Cheers,
Waldo
- -- 
bastian@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/HUFGN4pvrENfboIRAmJuAJ4pfJv40fLtsYmkZmy8BOruTsBq3gCfdHax
kVJOkXP/fXFzfHHHR5lqZpA=
=UMzh
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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