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