summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-02 05:19:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-02 05:19:12 +0000
commit5f99bff82d3413803bcc652999f4f631058179d6 (patch)
tree5725f0b58bd7221ea0021631bf63361dcf6dca06 /kio
parent0cebafdea768e0e7716a3e7e8c8b0198f03bc53e (diff)
downloadtdelibs-5f99bff82d3413803bcc652999f4f631058179d6.tar.gz
tdelibs-5f99bff82d3413803bcc652999f4f631058179d6.zip
* Added new networkstatus widget from SuSE
* Fixed up the HTTP kioslave git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1170793 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio')
-rw-r--r--kio/kio/global.cpp3
-rw-r--r--kio/kio/global.h4
2 files changed, 6 insertions, 1 deletions
diff --git a/kio/kio/global.cpp b/kio/kio/global.cpp
index f67c09ed9..f99219524 100644
--- a/kio/kio/global.cpp
+++ b/kio/kio/global.cpp
@@ -408,6 +408,9 @@ KIO_EXPORT TQString KIO::buildErrorString(int errorCode, const TQString &errorTe
case KIO::ERR_POST_DENIED:
result = i18n( "Access to restricted port in POST denied.");
break;
+ case KIO::ERR_OFFLINE_MODE:
+ result = i18n( "Could not access %1.\nOffline mode active.").arg( errorText );
+ break;
default:
result = i18n( "Unknown error code %1\n%2\nPlease send a full bug report at http://bugs.kde.org." ).arg( errorCode ).arg( errorText );
break;
diff --git a/kio/kio/global.h b/kio/kio/global.h
index cea9dc5f4..402d7b431 100644
--- a/kio/kio/global.h
+++ b/kio/kio/global.h
@@ -244,8 +244,10 @@ namespace KIO
ERR_UPGRADE_REQUIRED = 64, // A transport upgrade is required to access this
// object. For instance, TLS is demanded by
// the server in order to continue.
- ERR_POST_DENIED = 65 // Issued when trying to POST data to a certain Ports
+ ERR_POST_DENIED = 65, // Issued when trying to POST data to a certain Ports
// see job.cpp
+ ERR_OFFLINE_MODE = 66 // Used when an app is in offline mode and a
+ // requested document is unavailable.
};
/**