FileAccess::isLocal() should return whether or not the m_url contains what KDiff3 considers a local i.e. non-KIO path. This is not the necessarily same as what QUrl::isLocalFile thinks. */
| 672 | a local i.e. non-KIO path. This is not the necessarily same as what QUrl::isLocalFile thinks. |
| 673 | */ |
| 674 | bool FileAccess::isLocal() const |
| 675 | { |
| 676 | return m_url.isLocalFile() || !m_url.isValid() || m_url.scheme().isEmpty(); |
| 677 | } |
| 678 | |
| 679 | bool FileAccess::isReadable() const |
| 680 | { |