diff options
Diffstat (limited to 'korganizer/kotimelineview.cpp')
-rw-r--r-- | korganizer/kotimelineview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/kotimelineview.cpp b/korganizer/kotimelineview.cpp index 072ea31f2..84c9d746c 100644 --- a/korganizer/kotimelineview.cpp +++ b/korganizer/kotimelineview.cpp @@ -41,9 +41,9 @@ using namespace KOrg; using namespace KCal; -KOTimelineView::KOTimelineView(Calendar *calendar, TQWidget *tqparent, +KOTimelineView::KOTimelineView(Calendar *calendar, TQWidget *parent, const char *name) - : KOEventView(calendar, tqparent, name), + : KOEventView(calendar, parent, name), mEventPopup( 0 ) { TQVBoxLayout* vbox = new TQVBoxLayout(this); @@ -340,8 +340,8 @@ void KOTimelineView::itemMoved(KDGanttViewItem * item) if ( duration < 0 ) duration = 0; } i->setDuration( duration ); - TimelineItem *tqparent = static_cast<TimelineItem*>( tlit->tqparent() ); - tqparent->moveItems( i, tlit->originalStart().secsTo( newStart ), duration + allDayOffset ); + TimelineItem *parent = static_cast<TimelineItem*>( tlit->parent() ); + parent->moveItems( i, tlit->originalStart().secsTo( newStart ), duration + allDayOffset ); mChanger->endChange( i, 0, TQString() ); } |