~ubuntu-branches/ubuntu/quantal/kdepimlibs/quantal-proposed

« back to all changes in this revision

Viewing changes to akonadi/resourcebase.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-07-08 00:32:40 UTC
  • mfrom: (1.1.63 upstream)
  • Revision ID: package-import@ubuntu.com-20110708003240-0gzufcu25rui82r1
Tags: 4:4.6.90-0ubuntu1
* New upstream release candidate
  - Bump build-dep on libakonadi-dev
  - update install files with new library versions
  - update libkcal4.install
  - refresh libakonadi-kde4.symbols, libkcalcore4.symbols,
    libkholidays4.symbols and libkimap4.symbols
  - exclude kde-runtime not kdebase-runtime in rules.
  - Update Vcs links for new location

Show diffs side-by-side

added added

removed removed

Lines of Context:
198
198
     */
199
199
    QString name() const;
200
200
 
 
201
    /**
 
202
     * Enable or disable automatic progress reporting. By default, it is enabled.
 
203
     * When enabled, the resource will automatically emit the signals percent() and status()
 
204
     * while syncing items or collections.
 
205
     *
 
206
     * The automatic progress reporting is done on a per item / per collection basis, so if a
 
207
     * finer granularity is desired, automatic reporting should be disabled and the subclass should
 
208
     * emit the percent() and status() signals itself.
 
209
     *
 
210
     * @param enabled Whether or not automatic emission of the signals is enabled.
 
211
     * @since 4.7
 
212
     */
 
213
    void setAutomaticProgressReporting( bool enabled );
 
214
 
201
215
  Q_SIGNALS:
202
216
    /**
203
217
     * This signal is emitted whenever the name of the resource has changed.
440
454
 
441
455
    /**
442
456
     * Returns the collection that is currently synchronized.
 
457
     * @note Calling this method is only allowed during a collection synchronization task, that
 
458
     * is directly or indirectly from retrieveItems().
443
459
     */
444
460
    Collection currentCollection() const;
445
461
 
446
462
    /**
447
463
     * Returns the item that is currently retrieved.
 
464
     * @note Calling this method is only allowed during fetching a single item, that
 
465
     * is directly or indirectly from retrieveItem().
448
466
     */
449
467
    Item currentItem() const;
450
468