
The URL of the resource that you wish to get
If true, then this will not look for a cached copy of the file. If false (default), then this will first search for a cached copy
If true (default), a progress info dialog will popup during long downloads.
This is probably the most common operation. It tells the ioslave to "get" the resource described in the URL. This may be a web page, a POP3 message, or a local file -- it all depends on your URL.
This operation is not very interactive. You tell the ioslave what you want and it gets it for you. Period.
Specifically, it will send back your data with the data(KIO::Job *, const QByteArray&) signal. As always, the result of the operation will come in a result(KIO::Job*) signal.
KIO::TransferJob *job = KIO::get("http://www.kde.org");
connect(job, SIGNAL(data(KIO::Job*, const QByteArray&))
this, SLOT(slotData(KIO::Job*, const QByteArray&)));
connect(job, SIGNAL(result(KIO::Job*)),
this, SLOT(slotResult(KIO::Job*)));
|