[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/akonadi/libakonadi
From:       Volker Krause <vkrause () kde ! org>
Date:       2008-02-07 14:49:46
Message-ID: 1202395786.766295.24807.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 772020 by vkrause:

Fix docs.


 M  +5 -3      job.h  


--- trunk/KDE/kdepim/akonadi/libakonadi/job.h #772019:772020
@@ -46,9 +46,11 @@
     Akonadi::Job *job = new Akonadi::SomeJob( some parameter );
     connect( job, SIGNAL( result( KJob* ) ),
              this, SLOT( slotResult( KJob* ) ) );
-    job->start();
   \endcode
 
+  The job is queued for execution as soon as the event loop is entered
+  again.
+
   And the slotResult is usually at least:
 
   \code
@@ -109,8 +111,8 @@
     virtual ~Job();
 
     /**
-      Starts the job asynchronous. When the job finished successful,
-      @see done() is emitted.
+      Jobs are started automatically once entering the event loop again, no need
+      to explicitly call this.
      */
     void start();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic