diff options
| author | Peter Penz <[email protected]> | 2008-04-18 20:21:21 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-04-18 20:21:21 +0000 |
| commit | 6ba12bacc79d80aeecc1e3fd58c06aa89f0e0ba0 (patch) | |
| tree | df6994c40291006e70ca6aa71fd45dafd605e2c3 /src/fileitemcapabilities.h | |
| parent | 7d0080868bade4b476c824817b5ec9b5993a3b46 (diff) | |
consider the protocol and directory capabilities for file actions like Rename, Delete and Move To Trash
svn path=/trunk/KDE/kdebase/apps/; revision=798674
Diffstat (limited to 'src/fileitemcapabilities.h')
| -rw-r--r-- | src/fileitemcapabilities.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fileitemcapabilities.h b/src/fileitemcapabilities.h index 15d8383e9..5ed6d1902 100644 --- a/src/fileitemcapabilities.h +++ b/src/fileitemcapabilities.h @@ -37,6 +37,7 @@ public: bool supportsDeleting() const; bool supportsWriting() const; bool supportsMoving() const; + bool isLocal() const; private: bool m_supportsReading : 1; @@ -66,4 +67,9 @@ inline bool FileItemCapabilities::supportsMoving() const return m_supportsMoving; } +inline bool FileItemCapabilities::isLocal() const +{ + return m_isLocal; +} + #endif |
