• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

akonadi

collectionfetchscope.h
00001 /*
00002     Copyright (c) 2008 Kevin Krammer <kevin.krammer@gmx.at>
00003     Copyright (c) 2009 Volker Krause <vkrause@kde.org>
00004 
00005     This library is free software; you can redistribute it and/or modify it
00006     under the terms of the GNU Library General Public License as published by
00007     the Free Software Foundation; either version 2 of the License, or (at your
00008     option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful, but WITHOUT
00011     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00013     License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to the
00017     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00018     02110-1301, USA.
00019 */
00020 
00021 #ifndef AKONADI_COLLECTIONFETCHSCOPE_H
00022 #define AKONADI_COLLECTIONFETCHSCOPE_H
00023 
00024 #include "akonadi_export.h"
00025 
00026 #include <QtCore/QSharedDataPointer>
00027 
00028 class QStringList;
00029 
00030 namespace Akonadi {
00031 
00032 class CollectionFetchScopePrivate;
00033 
00068 class AKONADI_EXPORT CollectionFetchScope
00069 {
00070   public:
00074     enum AncestorRetrieval {
00075       None, 
00076       Parent, 
00077       All 
00078     };
00079 
00086     CollectionFetchScope();
00087 
00091     CollectionFetchScope( const CollectionFetchScope &other );
00092 
00096     ~CollectionFetchScope();
00097 
00101     CollectionFetchScope &operator=( const CollectionFetchScope &other );
00102 
00108     KDE_DEPRECATED bool includeUnubscribed() const;
00109 
00116     bool includeUnsubscribed() const;
00117 
00123     void setIncludeUnsubscribed( bool include );
00124 
00130     bool includeStatistics() const;
00131 
00137     void setIncludeStatistics( bool include );
00138 
00144     QString resource() const;
00145 
00152     void setResource( const QString &resource );
00153 
00160     void setContentMimeTypes( const QStringList &mimeTypes );
00161 
00167     QStringList contentMimeTypes() const;
00168 
00178     void setAncestorRetrieval( AncestorRetrieval ancestorDepth );
00179 
00185     AncestorRetrieval ancestorRetrieval() const;
00186 
00190     bool isEmpty() const;
00191 
00192   private:
00193     //@cond PRIVATE
00194     QSharedDataPointer<CollectionFetchScopePrivate> d;
00195     //@endcond
00196 };
00197 
00198 }
00199 
00200 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Tue May 8 2012 00:00:40 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

kdepimlibs-4.8.3 API Reference

Skip menu "kdepimlibs-4.8.3 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal