summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/ics/kfile_ics.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:34:45 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 04:24:29 +0200
commite3649f744289c180537d2d8474dc0e39050e654f (patch)
tree5d3d773985c0bfdfed5e0aed35fe8b2441d60787 /kfile-plugins/ics/kfile_ics.cpp
parent4b4a3f32d8e71d79626206211ee6e23ee1e968b8 (diff)
downloadtdepim-e3649f744289c180537d2d8474dc0e39050e654f.tar.gz
tdepim-e3649f744289c180537d2d8474dc0e39050e654f.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78)
Diffstat (limited to 'kfile-plugins/ics/kfile_ics.cpp')
-rw-r--r--kfile-plugins/ics/kfile_ics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kfile-plugins/ics/kfile_ics.cpp b/kfile-plugins/ics/kfile_ics.cpp
index b8346f4f4..0d85344e7 100644
--- a/kfile-plugins/ics/kfile_ics.cpp
+++ b/kfile-plugins/ics/kfile_ics.cpp
@@ -59,7 +59,7 @@ bool ICSPlugin::readInfo( KFileMetaInfo& info, uint /*what*/ )
{
KFileMetaInfoGroup group = appendGroup( info, "ICSInfo");
- CalendarLocal cal ( TQString::tqfromLatin1( "UTC" ) );
+ CalendarLocal cal ( TQString::fromLatin1( "UTC" ) );
if( !cal.load( info.path() ) ) {
kdDebug() << "Could not load calendar" << endl;
return false;
@@ -80,7 +80,7 @@ bool ICSPlugin::readInfo( KFileMetaInfo& info, uint /*what*/ )
Todo *todo = *it;
if ( todo->isCompleted() )
++completed;
- else if ( todo->hasDueDate() && todo->dtDue().date() < TQDate::tqcurrentDate() )
+ else if ( todo->hasDueDate() && todo->dtDue().date() < TQDate::currentDate() )
++overdue;
}