diff options
Diffstat (limited to 'korganizer/timelineitem.cpp')
-rw-r--r-- | korganizer/timelineitem.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/timelineitem.cpp b/korganizer/timelineitem.cpp index 6ebff843f..649bcfa86 100644 --- a/korganizer/timelineitem.cpp +++ b/korganizer/timelineitem.cpp @@ -31,8 +31,8 @@ using namespace KOrg; using namespace KCal; -TimelineItem::TimelineItem( const TQString &label, KCal::Calendar *calendar, KDGanttView * parent) : - KDGanttViewTaskItem( parent ), mCalendar( calendar ) +TimelineItem::TimelineItem( const TQString &label, KCal::Calendar *calendar, KDGanttView * tqparent) : + KDGanttViewTaskItem( tqparent ), mCalendar( calendar ) { setListViewText( 0, label ); setDisplaySubitemsAsGroup( true ); @@ -92,8 +92,8 @@ void TimelineItem::moveItems(KCal::Incidence * incidence, int delta, int duratio TimelineSubItem::TimelineSubItem( KCal::Calendar *calendar, - KCal::Incidence *incidence, TimelineItem *parent) : - KDGanttViewTaskItem( parent ), + KCal::Incidence *incidence, TimelineItem *tqparent) : + KDGanttViewTaskItem( tqparent ), mIncidence( incidence ), mLeft( 0 ), mRight( 0 ), @@ -124,11 +124,11 @@ void TimelineSubItem::showItem(bool show, int coordY) int startX = myGanttView->timeHeaderWidget()->getCoordX(myStartTime); int endX = myGanttView->timeHeaderWidget()->getCoordX(myEndTime); - const int mw = QMAX( 1, QMIN( 4, endX - startX ) ); + const int mw = TQMAX( 1, TQMIN( 4, endX - startX ) ); if ( !mLeft || mw != mMarkerWidth ) { if ( !mLeft ) { mLeft = new KDCanvasPolygon( myGanttView->timeTableWidget(), this, Type_is_KDGanttViewItem ); - mLeft->setBrush( Qt::black ); + mLeft->setBrush( TQt::black ); } TQPointArray a = TQPointArray( 4 ); a.setPoint( 0, 0, -mw -myItemSize/2 - 2 ); @@ -140,7 +140,7 @@ void TimelineSubItem::showItem(bool show, int coordY) if ( !mRight || mw != mMarkerWidth ) { if ( !mRight ) { mRight = new KDCanvasPolygon( myGanttView->timeTableWidget(), this, Type_is_KDGanttViewItem ); - mRight->setBrush( Qt::black ); + mRight->setBrush( TQt::black ); } TQPointArray a = TQPointArray( 4 ); a.setPoint( 0, -mw, -myItemSize/2 - 2 ); |