[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/pim/dav/common
From: Tobias Koenig <tokoe () kde ! org>
Date: 2010-03-02 15:48:12
Message-ID: 1267544892.600035.28913.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1097994 by tokoe:
Replace job->setError( 1 ) calls with job->setError( UserDefinedError )
M +2 -2 davcollectionmodifyjob.cpp
M +1 -1 davcollectionsfetchjob.cpp
M +1 -1 davitemcreatejob.cpp
M +1 -1 davitemdeletejob.cpp
M +1 -1 davitemfetchjob.cpp
M +1 -1 davitemmodifyjob.cpp
M +2 -2 davitemsfetchjob.cpp
M +1 -1 davitemslistjob.cpp
M +1 -1 davprincipalhomesetsfetchjob.cpp
--- trunk/playground/pim/dav/common/davcollectionmodifyjob.cpp #1097993:1097994
@@ -59,7 +59,7 @@
void DavCollectionModifyJob::start()
{
if ( mSetProperties.isEmpty() && mRemoveProperties.isEmpty() ) {
- setError( 1 ); // no special meaning, for now at least
+ setError( UserDefinedError ); // no special meaning, for now at least
setErrorText( i18n( "No properties to change or remove" ) );
emitResult();
return;
@@ -116,7 +116,7 @@
}
else if ( httpStatus.contains( "HTTP/1.1 5" ) ) {
// Server-side error, unrecoverable
- setError( 1 );
+ setError( UserDefinedError );
setErrorText( httpStatus );
emitResult();
return;
--- trunk/playground/pim/dav/common/davcollectionsfetchjob.cpp #1097993:1097994
@@ -120,7 +120,7 @@
if ( httpStatus.contains( "HTTP/1.1 5" ) ) {
// Server-side error, unrecoverable
- setError( 1 );
+ setError( UserDefinedError );
setErrorText( httpStatus );
if ( mSubJobCount == 0 )
emitResult();
--- trunk/playground/pim/dav/common/davitemcreatejob.cpp #1097993:1097994
@@ -79,7 +79,7 @@
if ( httpStatus.contains( "HTTP/1.1 5" ) ) {
// Server-side error, unrecoverable
- setError( 1 );
+ setError( UserDefinedError );
setErrorText( httpStatus );
emitResult();
return;
--- trunk/playground/pim/dav/common/davitemdeletejob.cpp #1097993:1097994
@@ -48,7 +48,7 @@
if ( httpStatus.contains( "HTTP/1.1 5" ) ) {
// Server-side error, unrecoverable
- setError( 1 );
+ setError( UserDefinedError );
setErrorText( httpStatus );
}
--- trunk/playground/pim/dav/common/davitemfetchjob.cpp #1097993:1097994
@@ -76,7 +76,7 @@
if ( httpStatus.contains( "HTTP/1.1 5" ) ) {
// Server-side error, unrecoverable
- setError( 1 );
+ setError( UserDefinedError );
setErrorText( httpStatus );
emitResult();
return;
--- trunk/playground/pim/dav/common/davitemmodifyjob.cpp #1097993:1097994
@@ -76,7 +76,7 @@
if ( httpStatus.contains( "HTTP/1.1 5" ) ) {
// Server-side error, unrecoverable
- setError( 1 );
+ setError( UserDefinedError );
setErrorText( httpStatus );
emitResult();
return;
--- trunk/playground/pim/dav/common/davitemsfetchjob.cpp #1097993:1097994
@@ -33,7 +33,7 @@
const DavMultigetProtocol *protocol =
dynamic_cast<const DavMultigetProtocol*>( DavManager::self()->davProtocol( \
mCollectionUrl.protocol() ) ); if ( !protocol ) {
- setError( 1 );
+ setError( UserDefinedError );
setErrorText( QString( "Protocol for the collection does not support MULTIGET" ) \
); emitResult();
return;
@@ -70,7 +70,7 @@
if ( httpStatus.contains( "HTTP/1.1 5" ) ) {
// Server-side error, unrecoverable
- setError( 1 );
+ setError( UserDefinedError );
setErrorText( httpStatus );
emitResult();
return;
--- trunk/playground/pim/dav/common/davitemslistjob.cpp #1097993:1097994
@@ -79,7 +79,7 @@
if ( httpStatus.contains( "HTTP/1.1 5" ) ) {
// Server-side error, unrecoverable
- setError( 1 );
+ setError( UserDefinedError );
setErrorText( httpStatus );
if ( mSubJobCount == 0 )
emitResult();
--- trunk/playground/pim/dav/common/davprincipalhomesetsfetchjob.cpp #1097993:1097994
@@ -67,7 +67,7 @@
if ( httpStatus.contains( "HTTP/1.1 5" ) ) {
// Server-side error, unrecoverable
- setError( 1 );
+ setError( UserDefinedError );
setErrorText( httpStatus );
emitResult();
return;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic