summaryrefslogtreecommitdiffstats
path: root/libkcal/dndfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/dndfactory.cpp')
-rw-r--r--libkcal/dndfactory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkcal/dndfactory.cpp b/libkcal/dndfactory.cpp
index 086323b0d..6524ef342 100644
--- a/libkcal/dndfactory.cpp
+++ b/libkcal/dndfactory.cpp
@@ -22,7 +22,7 @@
*/
#include <tqapplication.h>
-#include <tqclipboard.h>
+#include <clipboard.h>
#include <tqmap.h>
#include <kiconloader.h>
@@ -178,7 +178,7 @@ bool DndFactory::cutIncidences( const Incidence::List &incidences )
bool DndFactory::copyIncidences( const Incidence::List &incidences )
{
- TQClipboard *cb = TQApplication::tqclipboard();
+ TQClipboard *cb = TQApplication::clipboard();
CalendarLocal cal( mCalendar->timeZoneId() );
Incidence::List::ConstIterator it;
@@ -206,7 +206,7 @@ bool DndFactory::copyIncidence( Incidence *selectedInc )
Incidence::List DndFactory::pasteIncidences( const TQDate &newDate, const TQTime *newTime )
{
CalendarLocal cal( mCalendar->timeZoneId() );
- TQClipboard *cb = TQApplication::tqclipboard();
+ TQClipboard *cb = TQApplication::clipboard();
Incidence::List list;
if ( !ICalDrag::decode( cb->data(), &cal ) &&
@@ -249,7 +249,7 @@ Incidence::List DndFactory::pasteIncidences( const TQDate &newDate, const TQTime
Incidence *DndFactory::pasteIncidence( const TQDate &newDate, const TQTime *newTime )
{
CalendarLocal cal( mCalendar->timeZoneId() );
- TQClipboard *cb = TQApplication::tqclipboard();
+ TQClipboard *cb = TQApplication::clipboard();
if ( !ICalDrag::decode( cb->data(), &cal ) &&
!VCalDrag::decode( cb->data(), &cal ) ) {