[Kde-bindings] KIO jobs for netacces

Arno Rehn arno at arnorehn.de
Fri Apr 2 22:03:46 UTC 2010


On Friday 02 April 2010 23:45:35 Robert Riemann wrote:
> Am Freitag, 2. April 2010 02:06:03 schrieb Arno Rehn:
> > On Thursday 01 April 2010 17:17:13 Robert Riemann wrote:
> > > Hi all,
> > > 
> > > is there already a KIO integration in korundum4?
> > > What do I have to to do to download some simple images from QUrl to a
> > > QByteArray (String)?
> > 
> > Yep. There's the KIO namespace. Same as in C++. You probably want
> > KIO::copy(KUrl, KUrl).
> > 
> > You might want to take a look at http://api.kde.org/4.x-api/kdelibs-
> > apidocs/kio/html/namespaceKIO.html and
> > http://api.kde.org/4.x-api/kdelibs-
> > apidocs/kio/html/classKIO_1_1Job.html
> 
> There is no KIO for me in my ruby1.9 korundum4 environment.
> Do I need to set special configure switches when building/installing
> korundum4?
No, it should just work. It depends on smokekio though, so I guess that 
library has not been built correctly. What does

smokeapi -r kio KIO

print?

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list