diff options
Diffstat (limited to 'libkcal/dndfactory.cpp')
-rw-r--r-- | libkcal/dndfactory.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libkcal/dndfactory.cpp b/libkcal/dndfactory.cpp index 7f4398194..913036d36 100644 --- a/libkcal/dndfactory.cpp +++ b/libkcal/dndfactory.cpp @@ -178,7 +178,7 @@ bool DndFactory::cutIncidences( const Incidence::List &incidences ) bool DndFactory::copyIncidences( const Incidence::List &incidences ) { - QClipboard *cb = TQApplication::clipboard(); + 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() ); - QClipboard *cb = TQApplication::clipboard(); + TQClipboard *cb = TQApplication::clipboard(); Incidence::List list; if ( !ICalDrag::decode( cb->data(), &cal ) && @@ -216,7 +216,7 @@ Incidence::List DndFactory::pasteIncidences( const TQDate &newDate, const TQTime } // All pasted incidences get new uids, must keep track of old uids, - // so we can update child's parents + // so we can update child's tqparents TQMap<TQString,Incidence*> oldUidToNewInc; Incidence::List::ConstIterator it; @@ -233,9 +233,9 @@ Incidence::List DndFactory::pasteIncidences( const TQDate &newDate, const TQTime for ( it = list.constBegin(); it != list.constEnd(); ++it ) { Incidence *inc = *it; if ( oldUidToNewInc.tqcontains( inc->relatedToUid() ) ) { - Incidence *parentInc = oldUidToNewInc[inc->relatedToUid()]; - inc->setRelatedToUid( parentInc->uid() ); - inc->setRelatedTo( parentInc ); + Incidence *tqparentInc = oldUidToNewInc[inc->relatedToUid()]; + inc->setRelatedToUid( tqparentInc->uid() ); + inc->setRelatedTo( tqparentInc ); } else { // not related to anything in the clipboard inc->setRelatedToUid( TQString() ); @@ -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() ); - QClipboard *cb = TQApplication::clipboard(); + TQClipboard *cb = TQApplication::clipboard(); if ( !ICalDrag::decode( cb->data(), &cal ) && !VCalDrag::decode( cb->data(), &cal ) ) { |