diff options
Diffstat (limited to 'kdgantt/KDGanttViewSubwidgets.cpp')
-rw-r--r-- | kdgantt/KDGanttViewSubwidgets.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kdgantt/KDGanttViewSubwidgets.cpp b/kdgantt/KDGanttViewSubwidgets.cpp index 1c076b3ca..2b63d1b1e 100644 --- a/kdgantt/KDGanttViewSubwidgets.cpp +++ b/kdgantt/KDGanttViewSubwidgets.cpp @@ -140,13 +140,13 @@ void KDTimeTableWidget::removeItemFromTasklinks( KDGanttViewItem* item) void KDTimeTableWidget::expandItem( TQListViewItem * item) { - item->tqinvalidateHeight () ; + item->invalidateHeight () ; //tqApp->processEvents(); updateMyContent(); } void KDTimeTableWidget::collapseItem( TQListViewItem * item) { - item->tqinvalidateHeight () ; + item->invalidateHeight () ; //tqApp->processEvents(); updateMyContent(); } @@ -160,7 +160,7 @@ void KDTimeTableWidget::highlightItem( TQListViewItem * item ) highlightedItem = ( KDGanttViewItem*)item; itemwashighlighted = highlightedItem->highlight(); highlightedItem->setHighlight(true); - item->tqinvalidateHeight () ; + item->invalidateHeight () ; myGanttView->myListView->contentsY(); updateMyContent(); } @@ -2517,19 +2517,19 @@ void KDTimeHeaderWidget::mouseMoveEvent ( TQMouseEvent * e ) val = 0; } } - if (endMouseDown > -x() +tqparentWidget()->width() ) { + if (endMouseDown > -x() +parentWidget()->width() ) { val = myGanttView->myCanvasView->horizontalScrollBar()->value() + myGanttView->myCanvasView->horizontalScrollBar()->lineStep(); } - repaintMe(-x(),tqparentWidget()->width()); + repaintMe(-x(),parentWidget()->width()); if ( val > -1 ) { if ( val > myGanttView->myCanvasView->horizontalScrollBar()->maxValue() ) { val = myGanttView->myCanvasView->horizontalScrollBar()->maxValue(); } myGanttView->myCanvasView->horizontalScrollBar()->setValue( val ); } - //qDebug("mousemove %d %d %d %d",endMouseDown, -x(),tqparentWidget()->width() , e->pos().y()); + //qDebug("mousemove %d %d %d %d",endMouseDown, -x(),parentWidget()->width() , e->pos().y()); } } @@ -3091,62 +3091,62 @@ void KDListView::startDrag () } KDCanvasText::KDCanvasText( KDTimeTableWidget* canvas, - void* tqparentItem, + void* parentItem, int type ) : TQCanvasText(canvas) { myParentType = type; - myParentItem = tqparentItem; + myParentItem = parentItem; } KDCanvasLine::KDCanvasLine( KDTimeTableWidget* canvas, - void* tqparentItem, + void* parentItem, int type ) : TQCanvasLine(canvas) { myParentType = type; - myParentItem = tqparentItem; + myParentItem = parentItem; } KDCanvasPolygonItem::KDCanvasPolygonItem( KDTimeTableWidget* canvas, - void* tqparentItem, + void* parentItem, int type ) : TQCanvasPolygonalItem( canvas ) { myParentType = type; - myParentItem = tqparentItem; + myParentItem = parentItem; } KDCanvasPolygon::KDCanvasPolygon( KDTimeTableWidget* canvas, - void* tqparentItem, + void* parentItem, int type ) : TQCanvasPolygon( canvas ) { myParentType = type; - myParentItem = tqparentItem; + myParentItem = parentItem; } KDCanvasEllipse::KDCanvasEllipse( KDTimeTableWidget* canvas, - void* tqparentItem, + void* parentItem, int type ) : TQCanvasEllipse( canvas ) { myParentType = type; - myParentItem = tqparentItem; + myParentItem = parentItem; } KDCanvasRectangle::KDCanvasRectangle( KDTimeTableWidget* canvas, - void* tqparentItem, + void* parentItem, int type ) : TQCanvasRectangle( canvas ) { myParentType = type; - myParentItem = tqparentItem; + myParentItem = parentItem; } |