Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 10

Qt-interest Archive, October 2001
QUrlOperator example code needed


Message 1 in thread


<<< text/html: EXCLUDED >>>

GIF image


Message 2 in thread

Ok - I will use Qt 3.0 - so how do I use the get() method?    Specifically,
how is the get() method used to save the html page to the disk?   Is it
possible to have the html directly viewable?

Thanks,

David

----- Original Message -----
From: "Peter Rudek" <peter@lisa.de>
To: "David Reeves" <dnreeves@swbell.net>
Sent: Monday, October 29, 2001 4:03 AM
Subject: Re: QUrlOperator example code needed [PM]


> Hi David,
>
> * David Reeves <dnreeves@swbell.net> [011029 09:54]:
> > It would be most helpful to me - if someone could show a complete
> > example program using the QUrlOperator with http.   How do you
> > view the resulting web page?     It would helpful to show how to
> > use the Simple HTML Help Browser example with the QUrlOperator and
> > the http protocol.
>
> which Qt-Version do you use? 'till 3.0 there were only
> implementations for: localFileSystem, and Ftp available to use with
> QUrlOperator...
> I've been fiddiling around with exactly the same problem you have:
>    QUrlOperator op("http://www.foo.bar";);
>    op.get();
> for 3days, just to find out that it can't work with qt < 3.0 :((
> (even though it's mentioned in the docs, ->
>  bangingMyHeadAginstEverySingleWallIfound ;)
>
> so, implement your one protocol (using QSocket, ...) or use 3.0
>
> HTH
> Greetings from Germany,
> Peter
>
> --
> Let's make it a feature because it is difficult to fix it.
> [ ShengHuo ZHU in <2n3degb0nx.fsf@tiger.jia.vnet>]
>