class KIO.Job


Table of contents
Modules
kio Classes
All Classes
Module kio
Namespace kio
Class KIO.Job
Inherits KCompositeJob

The base class for all jobs. For all jobs created in an application, the code looks like

KIO.Job * job = KIO.someoperation( some parameters );
connect( job, SIGNAL( result( KJob * ) ),
this, SLOT( slotResult( KJob * ) ) );
(other connects, specific to the job)

And slotResult is usually at least:

if ( job->error() )
job->ui()->showErrorDialog();

See also KIO.Scheduler



methods