11#include "private/protocol_p.h" 
   21class AggregatedCollectionFetchScopePrivate;
 
   22class AggregatedCollectionFetchScope
 
   25    explicit AggregatedCollectionFetchScope();
 
   26    ~AggregatedCollectionFetchScope();
 
   28    void apply(
const Protocol::CollectionFetchScope &oldScope, 
const Protocol::CollectionFetchScope &newScope);
 
   30    QSet<QByteArray> attributes() 
const;
 
   32    bool fetchIdOnly() 
const;
 
   33    bool fetchStatistics() 
const;
 
   36    void removeSubscriber();
 
   39    std::unique_ptr<AggregatedCollectionFetchScopePrivate> 
const d_ptr;
 
   40    Q_DECLARE_PRIVATE(AggregatedCollectionFetchScope)
 
   43class AggregatedItemFetchScopePrivate;
 
   44class AggregatedItemFetchScope
 
   47    explicit AggregatedItemFetchScope();
 
   48    ~AggregatedItemFetchScope();
 
   50    void apply(
const Protocol::ItemFetchScope &oldScope, 
const Protocol::ItemFetchScope &newScope);
 
   51    Protocol::ItemFetchScope toFetchScope() 
const;
 
   53    QSet<QByteArray> requestedParts() 
const;
 
   55    Protocol::ItemFetchScope::AncestorDepth ancestorDepth() 
const;
 
   56    void updateAncestorDepth(Protocol::ItemFetchScope::AncestorDepth oldDepth, Protocol::ItemFetchScope::AncestorDepth newDepth);
 
   58    bool cacheOnly() 
const;
 
   59    bool fullPayload() 
const;
 
   60    bool allAttributes() 
const;
 
   61    bool fetchSize() 
const;
 
   62    bool fetchMTime() 
const;
 
   63    bool fetchRemoteRevision() 
const;
 
   64    bool ignoreErrors() 
const;
 
   65    bool fetchFlags() 
const;
 
   66    bool fetchRemoteId() 
const;
 
   67    bool fetchGID() 
const;
 
   68    bool fetchTags() 
const;
 
   69    bool fetchVirtualReferences() 
const;
 
   72    void removeSubscriber();
 
   75    std::unique_ptr<AggregatedItemFetchScopePrivate> 
const d_ptr;
 
   76    Q_DECLARE_PRIVATE(AggregatedItemFetchScope)
 
   79class AggregatedTagFetchScopePrivate;
 
   80class AggregatedTagFetchScope
 
   83    explicit AggregatedTagFetchScope();
 
   84    ~AggregatedTagFetchScope();
 
   86    void apply(
const Protocol::TagFetchScope &oldScope, 
const Protocol::TagFetchScope &newScope);
 
   87    Protocol::TagFetchScope toFetchScope() 
const;
 
   89    QSet<QByteArray> attributes() 
const;
 
   92    void removeSubscriber();
 
   94    bool fetchIdOnly() 
const;
 
   95    bool fetchRemoteId() 
const;
 
   96    bool fetchAllAttributes() 
const;
 
   99    std::unique_ptr<AggregatedTagFetchScopePrivate> 
const d_ptr;
 
  100    Q_DECLARE_PRIVATE(AggregatedTagFetchScope)
 
Helper integration between Akonadi and Qt.