summaryrefslogtreecommitdiffstats
path: root/korganizer/kotimelineview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kotimelineview.cpp')
-rw-r--r--korganizer/kotimelineview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/korganizer/kotimelineview.cpp b/korganizer/kotimelineview.cpp
index ea987ccf5..93296daaf 100644
--- a/korganizer/kotimelineview.cpp
+++ b/korganizer/kotimelineview.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
@@ -41,9 +41,9 @@
using namespace KOrg;
using namespace KCal;
-KOTimelineView::KOTimelineView(Calendar *calendar, TQWidget *parent,
+KOTimelineView::KOTimelineView(Calendar *calendar, TQWidget *tqparent,
const char *name)
- : KOEventView(calendar, parent, name),
+ : KOEventView(calendar, tqparent, 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 *parent = static_cast<TimelineItem*>( tlit->parent() );
- parent->moveItems( i, tlit->originalStart().secsTo( newStart ), duration + allDayOffset );
+ TimelineItem *tqparent = static_cast<TimelineItem*>( tlit->tqparent() );
+ tqparent->moveItems( i, tlit->originalStart().secsTo( newStart ), duration + allDayOffset );
mChanger->endChange( i, 0, TQString() );
}