summaryrefslogtreecommitdiffstats
path: root/kresources/slox/kcalresourceslox.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kresources/slox/kcalresourceslox.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/slox/kcalresourceslox.cpp')
-rw-r--r--kresources/slox/kcalresourceslox.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kresources/slox/kcalresourceslox.cpp b/kresources/slox/kcalresourceslox.cpp
index edd13e6f9..668631d37 100644
--- a/kresources/slox/kcalresourceslox.cpp
+++ b/kresources/slox/kcalresourceslox.cpp
@@ -237,7 +237,7 @@ void KCalResourceSlox::requestEvents()
TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
TQT_SLOT( cancelLoadEvents() ) );
- mPrefs->setLastEventSync( TQDateTime::currentDateTime() );
+ mPrefs->setLastEventSync( TQDateTime::tqcurrentDateTime() );
}
void KCalResourceSlox::requestTodos()
@@ -282,7 +282,7 @@ void KCalResourceSlox::requestTodos()
TQT_SIGNAL( progressItemCanceled( KPIM::ProgressItem * ) ),
TQT_SLOT( cancelLoadTodos() ) );
- mPrefs->setLastTodoSync( TQDateTime::currentDateTime() );
+ mPrefs->setLastTodoSync( TQDateTime::tqcurrentDateTime() );
}
void KCalResourceSlox::uploadIncidences()
@@ -629,11 +629,11 @@ void KCalResourceSlox::parseMembersAttribute( const TQDomElement &e,
TQString status = memberElement.attribute( "confirm" );
if ( !status.isEmpty() ) {
if ( status == "accept" ) {
- a->setStatus( Attendee::Accepted );
+ a->seStatus( Attendee::Accepted );
} else if ( status == "decline" ) {
- a->setStatus( Attendee::Declined );
+ a->seStatus( Attendee::Declined );
} else {
- a->setStatus( Attendee::NeedsAction );
+ a->seStatus( Attendee::NeedsAction );
}
}
} else {
@@ -1113,7 +1113,7 @@ void KCalResourceSlox::slotUploadResult( KIO::Job *job )
if ( !status.isNull() ) {
TQDomElement statusElement = status.toElement();
TQString response = statusElement.text();
- if ( !response.contains( "200" ) ) {
+ if ( !response.tqcontains( "200" ) ) {
TQString error = "'" + mUploadedIncidence->summary() + "'\n";
error += response;
TQDomNode dn = propstat.namedItem( "responsedescription" );