summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttViewSummaryItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdgantt/KDGanttViewSummaryItem.cpp')
-rw-r--r--kdgantt/KDGanttViewSummaryItem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdgantt/KDGanttViewSummaryItem.cpp b/kdgantt/KDGanttViewSummaryItem.cpp
index d73a27257..cb7e2893c 100644
--- a/kdgantt/KDGanttViewSummaryItem.cpp
+++ b/kdgantt/KDGanttViewSummaryItem.cpp
@@ -141,7 +141,7 @@ void KDGanttViewSummaryItem::setMiddleTime( const TQDateTime& dateTime )
qDebug("KDGanttViewSummaryItem::setMiddleTime():Invalid parameter-no time set");
return;
}
- if (!myMiddleTime) myMiddleTime = new QDateTime;
+ if (!myMiddleTime) myMiddleTime = new TQDateTime;
*myMiddleTime = dateTime;
if ( myEndTime < middleTime() )
setEndTime( middleTime() );
@@ -223,7 +223,7 @@ void KDGanttViewSummaryItem::setStartTime( const TQDateTime& start )
*/
void KDGanttViewSummaryItem::setActualEndTime( const TQDateTime& end )
{
- if (!myActualEndTime) myActualEndTime = new QDateTime;
+ if (!myActualEndTime) myActualEndTime = new TQDateTime;
*myActualEndTime = end;
updateCanvasItems();