|
|
|
@ -274,7 +274,7 @@ void KOAgenda::init()
|
|
|
|
|
mClickedItem = 0;
|
|
|
|
|
|
|
|
|
|
mActionItem = 0;
|
|
|
|
|
mResPair = tqMakePair( static_cast<ResourceCalendar *>( 0 ), TQString() );
|
|
|
|
|
mResPair = qMakePair( static_cast<ResourceCalendar *>( 0 ), TQString() );
|
|
|
|
|
mActionType = NOP;
|
|
|
|
|
mItemMoved = false;
|
|
|
|
|
|
|
|
|
@ -623,7 +623,7 @@ bool KOAgenda::eventFilter_mouse(TQObject *object, TQMouseEvent *me)
|
|
|
|
|
Incidence *incidence = item->incidence();
|
|
|
|
|
if ( incidence->isReadOnly() ) {
|
|
|
|
|
mActionItem = 0;
|
|
|
|
|
mResPair = tqMakePair( static_cast<ResourceCalendar *>( 0 ), TQString() );
|
|
|
|
|
mResPair = qMakePair( static_cast<ResourceCalendar *>( 0 ), TQString() );
|
|
|
|
|
} else {
|
|
|
|
|
mActionItem = item;
|
|
|
|
|
mResPair = CalHelper::incSubResourceCalendar( mCalendar, incidence );
|
|
|
|
@ -657,7 +657,7 @@ bool KOAgenda::eventFilter_mouse(TQObject *object, TQMouseEvent *me)
|
|
|
|
|
if ( !ptInSelection( gpos ) ) {
|
|
|
|
|
selectItem(0);
|
|
|
|
|
mActionItem = 0;
|
|
|
|
|
mResPair = tqMakePair( static_cast<ResourceCalendar *>( 0 ), TQString() );
|
|
|
|
|
mResPair = qMakePair( static_cast<ResourceCalendar *>( 0 ), TQString() );
|
|
|
|
|
setCursor(arrowCursor);
|
|
|
|
|
startSelectAction(viewportPos);
|
|
|
|
|
}
|
|
|
|
@ -918,7 +918,7 @@ void KOAgenda::performItemAction(const TQPoint& viewportPos)
|
|
|
|
|
emit startDragSignal( mActionItem->incidence() );
|
|
|
|
|
setCursor( arrowCursor );
|
|
|
|
|
mActionItem = 0;
|
|
|
|
|
mResPair = tqMakePair( static_cast<ResourceCalendar *>( 0 ), TQString() );
|
|
|
|
|
mResPair = qMakePair( static_cast<ResourceCalendar *>( 0 ), TQString() );
|
|
|
|
|
mActionType = NOP;
|
|
|
|
|
mItemMoved = false;
|
|
|
|
|
return;
|
|
|
|
@ -952,7 +952,7 @@ void KOAgenda::performItemAction(const TQPoint& viewportPos)
|
|
|
|
|
placeSubCells( mActionItem );
|
|
|
|
|
setCursor( arrowCursor );
|
|
|
|
|
mActionItem = 0;
|
|
|
|
|
mResPair = tqMakePair( static_cast<ResourceCalendar *>( 0 ), TQString() );
|
|
|
|
|
mResPair = qMakePair( static_cast<ResourceCalendar *>( 0 ), TQString() );
|
|
|
|
|
mActionType = NOP;
|
|
|
|
|
mItemMoved = false;
|
|
|
|
|
return;
|
|
|
|
@ -1192,7 +1192,7 @@ void KOAgenda::endItemAction()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
mActionItem = 0;
|
|
|
|
|
mResPair = tqMakePair( static_cast<ResourceCalendar *>( 0 ), TQString() );
|
|
|
|
|
mResPair = qMakePair( static_cast<ResourceCalendar *>( 0 ), TQString() );
|
|
|
|
|
mItemMoved = false;
|
|
|
|
|
|
|
|
|
|
if ( multiModify ) {
|
|
|
|
|