summaryrefslogtreecommitdiffstats
path: root/kresources/lib/calendaradaptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/lib/calendaradaptor.cpp')
-rw-r--r--kresources/lib/calendaradaptor.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kresources/lib/calendaradaptor.cpp b/kresources/lib/calendaradaptor.cpp
index ddba9961c..88685bdfe 100644
--- a/kresources/lib/calendaradaptor.cpp
+++ b/kresources/lib/calendaradaptor.cpp
@@ -58,18 +58,18 @@ CalendarAdaptor::CalendarAdaptor()
{
}
-QString CalendarAdaptor::mimeType() const
+TQString CalendarAdaptor::mimeType() const
{
return "text/calendar";
}
-bool CalendarAdaptor::localItemExists( const QString &localId )
+bool CalendarAdaptor::localItemExists( const TQString &localId )
{
KCal::Incidence *i = mResource->incidence( localId );
return i;
}
-bool CalendarAdaptor::localItemHasChanged( const QString &localId )
+bool CalendarAdaptor::localItemHasChanged( const TQString &localId )
{
KCal::Incidence *i = mResource->incidence( localId );
if ( !i ) return false;
@@ -86,7 +86,7 @@ bool CalendarAdaptor::localItemHasChanged( const QString &localId )
return false;
}
-void CalendarAdaptor::deleteItem( const QString &localId )
+void CalendarAdaptor::deleteItem( const TQString &localId )
{
mResource->disableChangeNotification();
KCal::Incidence *i = mResource->incidence( localId );
@@ -113,13 +113,13 @@ void CalendarAdaptor::addItem( KCal::Incidence *i)
void CalendarAdaptor::calendarItemDownloaded( KCal::Incidence *inc,
- const QString &newLocalId, const KURL &remoteId, const QString &fingerprint,
- const QString &storagelocation )
+ const TQString &newLocalId, const KURL &remoteId, const TQString &fingerprint,
+ const TQString &storagelocation )
{
kdDebug() << "CalendarAdaptor::calendarItemDownloaded, inc=" << inc->summary() << ", local=" << newLocalId << ", remote=" << remoteId.url() << ", fpr=" << fingerprint << ", storagelocation="<< storagelocation << endl;
// remove the currently existing item from the cache
deleteItem( newLocalId );
- QString localId = idMapper()->localId( remoteId.path() );
+ TQString localId = idMapper()->localId( remoteId.path() );
if ( !localId.isEmpty() ) deleteItem( localId );
// add the new item
@@ -135,7 +135,7 @@ kdDebug() << "CalendarAdaptor::calendarItemDownloaded, inc=" << inc->summary() <
}
-void CalendarAdaptor::clearChange( const QString &uid )
+void CalendarAdaptor::clearChange( const TQString &uid )
{
KCal::Incidence *i = mResource->incidence( uid );
mResource->clearChange( i );