summaryrefslogtreecommitdiffstats
path: root/libkcal/todo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/todo.cpp')
-rw-r--r--libkcal/todo.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/libkcal/todo.cpp b/libkcal/todo.cpp
index b3fe65d9c..7c4a4df33 100644
--- a/libkcal/todo.cpp
+++ b/libkcal/todo.cpp
@@ -127,18 +127,18 @@ TQDateTime Todo::dtDue( bool first ) const
TQString Todo::dtDueTimeStr() const
{
- return KGlobal::locale()->formatTime( dtDue(!doesRecur()).time() );
+ return TDEGlobal::locale()->formatTime( dtDue(!doesRecur()).time() );
}
TQString Todo::dtDueDateStr(bool shortfmt) const
{
- return KGlobal::locale()->formatDate(dtDue( !doesRecur() ).date(),shortfmt);
+ return TDEGlobal::locale()->formatDate(dtDue( !doesRecur() ).date(),shortfmt);
}
// TODO: Add shortfmt param!!!
TQString Todo::dtDueStr() const
{
- return KGlobal::locale()->formatDateTime( dtDue( !doesRecur() ) );
+ return TDEGlobal::locale()->formatDateTime( dtDue( !doesRecur() ) );
}
bool Todo::hasDueDate() const
@@ -201,17 +201,17 @@ void Todo::setDtStart( const TQDateTime &dtStart )
TQString Todo::dtStartTimeStr( bool first ) const
{
- return KGlobal::locale()->formatTime(dtStart(first).time());
+ return TDEGlobal::locale()->formatTime(dtStart(first).time());
}
TQString Todo::dtStartDateStr(bool shortfmt, bool first) const
{
- return KGlobal::locale()->formatDate(dtStart(first).date(),shortfmt);
+ return TDEGlobal::locale()->formatDate(dtStart(first).date(),shortfmt);
}
TQString Todo::dtStartStr(bool first) const
{
- return KGlobal::locale()->formatDateTime(dtStart(first));
+ return TDEGlobal::locale()->formatDateTime(dtStart(first));
}
bool Todo::isCompleted() const
@@ -242,7 +242,7 @@ TQDateTime Todo::completed() const
TQString Todo::completedStr() const
{
- return KGlobal::locale()->formatDateTime(mCompleted);
+ return TDEGlobal::locale()->formatDateTime(mCompleted);
}
void Todo::setCompleted(const TQDateTime &completed)