! Returns \e true if this object has a in read or write lock; otherwise returns \e false. \sa lockMode() */
| 134 | \sa lockMode() |
| 135 | */ |
| 136 | bool LockedFile::isLocked() const |
| 137 | { |
| 138 | return m_lock_mode != NoLock; |
| 139 | } |
| 140 | |
| 141 | /*! |
| 142 | Returns the type of lock currently held by this object, or \e |