diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kresources/lib/calendaradaptor.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/lib/calendaradaptor.cpp')
-rw-r--r-- | kresources/lib/calendaradaptor.cpp | 16 |
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 ); |