summaryrefslogtreecommitdiffabout
path: root/libkcal/scheduler.h
Side-by-side diff
Diffstat (limited to 'libkcal/scheduler.h') (more/less context) (show whitespace changes)
-rw-r--r--libkcal/scheduler.h4
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 @@
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#ifndef SCHEDULER_H
#define SCHEDULER_H
// iTIP transactions base class
#include <qstring.h>
-#include <qptrlist.h>
+#include <q3ptrlist.h>
namespace KCal {
class IncidenceBase;
class Event;
class Calendar;
class ICalFormat;
/**
This class provides an encapsulation of a scheduling message. It associates an
incidence with a method and status information. This class is used by the
Scheduler class.
@short A Scheduling message
*/
class ScheduleMessage {
@@ -82,33 +82,33 @@ class Scheduler {
Declinecounter,NoMethod };
/** Create scheduler for calendar specified as argument. */
Scheduler(Calendar *calendar);
virtual ~Scheduler();
/** iTIP publish action */
virtual bool publish (IncidenceBase *incidence,const QString &recipients) = 0;
/** Perform iTIP transaction on incidence. The method is specified as the
method argumanet and can be any valid iTIP method. */
virtual bool performTransaction(IncidenceBase *incidence,Method method) = 0;
/** Perform iTIP transaction on incidence to specified recipient(s). The
method is specified as the method argumanet and can be any valid iTIP
method. */
virtual bool performTransaction(IncidenceBase *incidence,Method method,const QString &recipients) = 0;
/** Retrieve incoming iTIP transactions */
- virtual QPtrList<ScheduleMessage> retrieveTransactions() = 0;
+ virtual Q3PtrList<ScheduleMessage> retrieveTransactions() = 0;
/**
Accept transaction. The incidence argument specifies the iCal compoennt
on which the transaction acts. The status is the result of processing a
iTIP message with the current calendar and specifies the action to be
taken for this incidence.
*/
bool acceptTransaction(IncidenceBase *,Method method,ScheduleMessage::Status status);
/** Return a machine-readable name for a iTIP method. */
static QString methodName(Method);
/** Return a translated and human-readable name for a iTIP method. */
static QString translatedMethodName(Method);
virtual bool deleteTransaction(IncidenceBase *incidence);