summaryrefslogtreecommitdiffstats
path: root/libkcal/duration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/duration.cpp')
-rw-r--r--libkcal/duration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkcal/duration.cpp b/libkcal/duration.cpp
index 01ee7562a..0dfd8781c 100644
--- a/libkcal/duration.cpp
+++ b/libkcal/duration.cpp
@@ -31,7 +31,7 @@ Duration::Duration()
mSeconds = 0;
}
-Duration::Duration( const QDateTime &start, const QDateTime &end )
+Duration::Duration( const TQDateTime &start, const TQDateTime &end )
{
mSeconds = start.secsTo( end );
}
@@ -49,7 +49,7 @@ bool KCal::operator==( const Duration& d1, const Duration& d2 )
-QDateTime Duration::end( const QDateTime &start ) const
+TQDateTime Duration::end( const TQDateTime &start ) const
{
return start.addSecs( mSeconds );
}