summaryrefslogtreecommitdiffstats
path: root/kfile-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins')
-rw-r--r--kfile-plugins/ics/kfile_ics.cpp4
-rw-r--r--kfile-plugins/vcf/kfile_vcf.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kfile-plugins/ics/kfile_ics.cpp b/kfile-plugins/ics/kfile_ics.cpp
index 0d85344e7..b8346f4f4 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::fromLatin1( "UTC" ) );
+ CalendarLocal cal ( TQString::tqfromLatin1( "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::currentDate() )
+ else if ( todo->hasDueDate() && todo->dtDue().date() < TQDate::tqcurrentDate() )
++overdue;
}
diff --git a/kfile-plugins/vcf/kfile_vcf.cpp b/kfile-plugins/vcf/kfile_vcf.cpp
index 5dcfc2c17..6c083895b 100644
--- a/kfile-plugins/vcf/kfile_vcf.cpp
+++ b/kfile-plugins/vcf/kfile_vcf.cpp
@@ -91,7 +91,7 @@ bool KVcfPlugin::readInfo( KFileMetaInfo& info, uint /*what*/ )
TQStringList phoneNumbers;
for (unsigned int no=0; no<pnList.count(); ++no) {
TQString pn = pnList[no].number().simplifyWhiteSpace();
- if (!pn.isEmpty() && !phoneNumbers.contains(pn))
+ if (!pn.isEmpty() && !phoneNumbers.tqcontains(pn))
phoneNumbers.append(pn);
}
if ( !phoneNumbers.isEmpty() )