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

akonadi

  • sources
  • kde-4.12
  • kdepimlibs
  • akonadi
resourcesynchronizationjob.h
1 /*
2  * Copyright (c) 2009 Volker Krause <vkrause@kde.org>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef AKONADI_RESOURCESYNCHRONIZATIONJOB_H
19 #define AKONADI_RESOURCESYNCHRONIZATIONJOB_H
20 
21 #include "akonadi_export.h"
22 
23 #include <kjob.h>
24 
25 namespace Akonadi {
26 
27 class AgentInstance;
28 class ResourceSynchronizationJobPrivate;
29 
59 class AKONADI_EXPORT ResourceSynchronizationJob : public KJob
60 {
61  Q_OBJECT
62 
63  public:
69  explicit ResourceSynchronizationJob( const AgentInstance &instance, QObject *parent = 0 );
70 
74  ~ResourceSynchronizationJob();
75 
82  bool collectionTreeOnly() const;
83 
90  void setCollectionTreeOnly( bool collectionTreeOnly );
91 
95  AgentInstance resource() const;
96 
97  /* reimpl */
98  void start();
99 
100  private:
101  //@cond PRIVATE
102  ResourceSynchronizationJobPrivate* const d;
103  friend class ResourceSynchronizationJobPrivate;
104 
105  Q_PRIVATE_SLOT( d, void slotSynchronized() )
106  Q_PRIVATE_SLOT( d, void slotTimeout() )
107  //@endcond
108 };
109 
110 }
111 
112 #endif
Akonadi::ResourceSynchronizationJob
Job that synchronizes a resource.
Definition: resourcesynchronizationjob.h:59
Akonadi::AgentInstance
A representation of an agent instance.
Definition: agentinstance.h:62
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 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 API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



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