From a08aff328d4393031d5ba7d622c2b05705a89d73 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Wed, 04 Jul 2007 11:23:42 +0000 Subject: initial public commit of qt4 port --- (limited to 'libkcal/dndfactory.cpp') diff --git a/libkcal/dndfactory.cpp b/libkcal/dndfactory.cpp index cdcfae4..ca7e212 100644 --- a/libkcal/dndfactory.cpp +++ b/libkcal/dndfactory.cpp @@ -22,6 +22,9 @@ #include #include +//Added by qt3to4: +#include +#include #include #include @@ -68,7 +71,7 @@ Event *DndFactory::createDrop(QDropEvent *de) if ( ICalDrag::decode( de, &cal ) || VCalDrag::decode( de, &cal ) ) { de->accept(); - QPtrList events = cal.events(); + Q3PtrList events = cal.events(); if ( !events.isEmpty() ) { Event *event = new Event( *events.first() ); return event; @@ -87,7 +90,7 @@ Todo *DndFactory::createDropTodo(QDropEvent *de) if ( ICalDrag::decode( de, &cal ) || VCalDrag::decode( de, &cal ) ) { de->accept(); - QPtrList todos = cal.todos(); + Q3PtrList todos = cal.todos(); if ( !todos.isEmpty() ) { Todo *todo = new Todo( *todos.first() ); return todo; @@ -133,7 +136,7 @@ Incidence *DndFactory::pasteIncidence(const QDate &newDate, const QTime *newTime return 0; } - QPtrList incList = cal.incidences(); + Q3PtrList incList = cal.incidences(); Incidence *inc = incList.first(); if ( !incList.isEmpty() && inc ) { -- cgit v0.9.0.2