akonadi
transactionjobs.h
00001 /* 00002 Copyright (c) 2006 Volker Krause <vkrause@kde.org> 00003 00004 This library is free software; you can redistribute it and/or modify it 00005 under the terms of the GNU Library General Public License as published by 00006 the Free Software Foundation; either version 2 of the License, or (at your 00007 option) any later version. 00008 00009 This library is distributed in the hope that it will be useful, but WITHOUT 00010 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00011 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00012 License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to the 00016 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00017 02110-1301, USA. 00018 */ 00019 00020 #ifndef AKONADI_TRANSACTIONJOBS_H 00021 #define AKONADI_TRANSACTIONJOBS_H 00022 00023 #include "akonadi_export.h" 00024 00025 #include <akonadi/job.h> 00026 00027 namespace Akonadi { 00028 00029 class TransactionBeginJobPrivate; 00030 class TransactionRollbackJobPrivate; 00031 class TransactionCommitJobPrivate; 00032 00046 class AKONADI_EXPORT TransactionBeginJob : public Job 00047 { 00048 Q_OBJECT 00049 00050 public: 00056 explicit TransactionBeginJob( QObject *parent ); 00057 00061 ~TransactionBeginJob(); 00062 00063 protected: 00064 virtual void doStart(); 00065 00066 private: 00067 Q_DECLARE_PRIVATE( TransactionBeginJob ) 00068 }; 00069 00070 00082 class AKONADI_EXPORT TransactionRollbackJob : public Job 00083 { 00084 Q_OBJECT 00085 00086 public: 00093 explicit TransactionRollbackJob( QObject *parent ); 00094 00098 ~TransactionRollbackJob(); 00099 00100 protected: 00101 virtual void doStart(); 00102 00103 private: 00104 Q_DECLARE_PRIVATE( TransactionRollbackJob ) 00105 }; 00106 00107 00115 class AKONADI_EXPORT TransactionCommitJob : public Job 00116 { 00117 Q_OBJECT 00118 00119 public: 00126 explicit TransactionCommitJob( QObject *parent ); 00127 00131 ~TransactionCommitJob(); 00132 00133 protected: 00134 virtual void doStart(); 00135 00136 private: 00137 Q_DECLARE_PRIVATE( TransactionCommitJob ) 00138 }; 00139 00140 } 00141 00142 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:24 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:24 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.