
Pointer to the current job. See the documentation for KIO::Job to see what operations you can do with it.
This is the most common signal and one that you should always connect to. It returns the final status or result of your operation. You will commonly check if there was an error here.. but you might also want to use this to finish off anything you might be doing while the job was progressing.
Client::Client()
{
connect(job, SIGNAL(result(KIO::Job *)),
this, SLOT(slotResult(KIO::Job *)));
}
void Client::slotResult(KIO::Job *job)
{
if (job->error())
job->showErrorDialog();
}
|