-rw-r--r-- | libkcal/scheduler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkcal/scheduler.h b/libkcal/scheduler.h index a9f43b9..357e98e 100644 --- a/libkcal/scheduler.h +++ b/libkcal/scheduler.h | |||
@@ -10,33 +10,33 @@ | |||
10 | This library is distributed in the hope that it will be useful, | 10 | This library is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Library General Public License for more details. | 13 | Library General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Library General Public License | 15 | You should have received a copy of the GNU Library General Public License |
16 | along with this library; see the file COPYING.LIB. If not, write to | 16 | along with this library; see the file COPYING.LIB. If not, write to |
17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | #ifndef SCHEDULER_H | 20 | #ifndef SCHEDULER_H |
21 | #define SCHEDULER_H | 21 | #define SCHEDULER_H |
22 | 22 | ||
23 | // iTIP transactions base class | 23 | // iTIP transactions base class |
24 | 24 | ||
25 | #include <qstring.h> | 25 | #include <qstring.h> |
26 | #include <qptrlist.h> | 26 | #include <q3ptrlist.h> |
27 | 27 | ||
28 | namespace KCal { | 28 | namespace KCal { |
29 | 29 | ||
30 | class IncidenceBase; | 30 | class IncidenceBase; |
31 | class Event; | 31 | class Event; |
32 | class Calendar; | 32 | class Calendar; |
33 | class ICalFormat; | 33 | class ICalFormat; |
34 | 34 | ||
35 | /** | 35 | /** |
36 | This class provides an encapsulation of a scheduling message. It associates an | 36 | This class provides an encapsulation of a scheduling message. It associates an |
37 | incidence with a method and status information. This class is used by the | 37 | incidence with a method and status information. This class is used by the |
38 | Scheduler class. | 38 | Scheduler class. |
39 | 39 | ||
40 | @short A Scheduling message | 40 | @short A Scheduling message |
41 | */ | 41 | */ |
42 | class ScheduleMessage { | 42 | class ScheduleMessage { |
@@ -82,33 +82,33 @@ class Scheduler { | |||
82 | Declinecounter,NoMethod }; | 82 | Declinecounter,NoMethod }; |
83 | 83 | ||
84 | /** Create scheduler for calendar specified as argument. */ | 84 | /** Create scheduler for calendar specified as argument. */ |
85 | Scheduler(Calendar *calendar); | 85 | Scheduler(Calendar *calendar); |
86 | virtual ~Scheduler(); | 86 | virtual ~Scheduler(); |
87 | 87 | ||
88 | /** iTIP publish action */ | 88 | /** iTIP publish action */ |
89 | virtual bool publish (IncidenceBase *incidence,const QString &recipients) = 0; | 89 | virtual bool publish (IncidenceBase *incidence,const QString &recipients) = 0; |
90 | /** Perform iTIP transaction on incidence. The method is specified as the | 90 | /** Perform iTIP transaction on incidence. The method is specified as the |
91 | method argumanet and can be any valid iTIP method. */ | 91 | method argumanet and can be any valid iTIP method. */ |
92 | virtual bool performTransaction(IncidenceBase *incidence,Method method) = 0; | 92 | virtual bool performTransaction(IncidenceBase *incidence,Method method) = 0; |
93 | /** Perform iTIP transaction on incidence to specified recipient(s). The | 93 | /** Perform iTIP transaction on incidence to specified recipient(s). The |
94 | method is specified as the method argumanet and can be any valid iTIP | 94 | method is specified as the method argumanet and can be any valid iTIP |
95 | method. */ | 95 | method. */ |
96 | virtual bool performTransaction(IncidenceBase *incidence,Method method,const QString &recipients) = 0; | 96 | virtual bool performTransaction(IncidenceBase *incidence,Method method,const QString &recipients) = 0; |
97 | /** Retrieve incoming iTIP transactions */ | 97 | /** Retrieve incoming iTIP transactions */ |
98 | virtual QPtrList<ScheduleMessage> retrieveTransactions() = 0; | 98 | virtual Q3PtrList<ScheduleMessage> retrieveTransactions() = 0; |
99 | 99 | ||
100 | /** | 100 | /** |
101 | Accept transaction. The incidence argument specifies the iCal compoennt | 101 | Accept transaction. The incidence argument specifies the iCal compoennt |
102 | on which the transaction acts. The status is the result of processing a | 102 | on which the transaction acts. The status is the result of processing a |
103 | iTIP message with the current calendar and specifies the action to be | 103 | iTIP message with the current calendar and specifies the action to be |
104 | taken for this incidence. | 104 | taken for this incidence. |
105 | */ | 105 | */ |
106 | bool acceptTransaction(IncidenceBase *,Method method,ScheduleMessage::Status status); | 106 | bool acceptTransaction(IncidenceBase *,Method method,ScheduleMessage::Status status); |
107 | 107 | ||
108 | /** Return a machine-readable name for a iTIP method. */ | 108 | /** Return a machine-readable name for a iTIP method. */ |
109 | static QString methodName(Method); | 109 | static QString methodName(Method); |
110 | /** Return a translated and human-readable name for a iTIP method. */ | 110 | /** Return a translated and human-readable name for a iTIP method. */ |
111 | static QString translatedMethodName(Method); | 111 | static QString translatedMethodName(Method); |
112 | 112 | ||
113 | virtual bool deleteTransaction(IncidenceBase *incidence); | 113 | virtual bool deleteTransaction(IncidenceBase *incidence); |
114 | 114 | ||