Changeset View
Changeset View
Standalone View
Standalone View
src/core/kprotocolmanager.cpp
Show First 20 Lines • Show All 1227 Lines • ▼ Show 20 Line(s) | 1227 | { | |||
---|---|---|---|---|---|
1228 | KProtocolInfoPrivate *prot = findProtocol(url); | 1228 | KProtocolInfoPrivate *prot = findProtocol(url); | ||
1229 | if (!prot) { | 1229 | if (!prot) { | ||
1230 | return false; | 1230 | return false; | ||
1231 | } | 1231 | } | ||
1232 | 1232 | | |||
1233 | return prot->m_supportsTruncating; | 1233 | return prot->m_supportsTruncating; | ||
1234 | } | 1234 | } | ||
1235 | 1235 | | |||
1236 | bool KProtocolManager::supportsPrivilegeExecution(const QUrl &url) | ||||
1237 | { | ||||
1238 | KProtocolInfoPrivate *prot = findProtocol(url); | ||||
1239 | if (!prot) { | ||||
1240 | return false; | ||||
1241 | } | ||||
1242 | | ||||
1243 | return prot->m_supportsPrivilegeExecution; | ||||
1244 | } | ||||
1245 | | ||||
1236 | bool KProtocolManager::canCopyFromFile(const QUrl &url) | 1246 | bool KProtocolManager::canCopyFromFile(const QUrl &url) | ||
1237 | { | 1247 | { | ||
1238 | KProtocolInfoPrivate *prot = findProtocol(url); | 1248 | KProtocolInfoPrivate *prot = findProtocol(url); | ||
1239 | if (!prot) { | 1249 | if (!prot) { | ||
1240 | return false; | 1250 | return false; | ||
1241 | } | 1251 | } | ||
1242 | 1252 | | |||
1243 | return prot->m_canCopyFromFile; | 1253 | return prot->m_canCopyFromFile; | ||
▲ Show 20 Lines • Show All 87 Lines • Show Last 20 Lines |