diff --git a/src/editoritemmanager.h b/src/editoritemmanager.h --- a/src/editoritemmanager.h +++ b/src/editoritemmanager.h @@ -83,32 +83,6 @@ */ void save(); - /** - * Sets the item fetch scope. - * - * Controls how much of an item's data is fetched from the server, e.g. - * whether to fetch the full item payload or only meta data. - * - * @param fetchScope The new scope for item fetch operations. - * - * @see fetchScope() - */ - void setFetchScope(const Akonadi::ItemFetchScope &fetchScope); - - /** - * Returns the item fetch scope. - * - * Since this returns a reference it can be used to conveniently modify the - * current scope in-place, i.e. by calling a method on the returned reference - * without storing it in a local variable. See the ItemFetchScope documentation - * for an example. - * - * @return a reference to the current item fetch scope - * - * @see setFetchScope() for replacing the current item fetch scope - */ - Akonadi::ItemFetchScope &fetchScope(); - /** * Returns the collection where the last item was created. * Or an invalid collection if none was created. diff --git a/src/editoritemmanager.cpp b/src/editoritemmanager.cpp --- a/src/editoritemmanager.cpp +++ b/src/editoritemmanager.cpp @@ -386,18 +386,6 @@ } } -void EditorItemManager::setFetchScope(const Akonadi::ItemFetchScope &fetchScope) -{ - Q_D(ItemEditor); - d->mFetchScope = fetchScope; -} - -Akonadi::ItemFetchScope &EditorItemManager::fetchScope() -{ - Q_D(ItemEditor); - return d->mFetchScope; -} - void EditorItemManager::setIsCounterProposal(bool isCounterProposal) { Q_D(ItemEditor);