#### PyKDE - Python Bindings for KDE

# class KABC.Lock

Table of contents
Modules
kabc Classes
All Classes

Module | kabc
Class | KABC.Lock
Inherits | QObject

### methods

- Lock (identifier)

  returns a Lock instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  identifier | QString |

- error ()

  returns (QString)
  In versions KDE 3.2.0 and above only

- lock ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- lockFileName ()

  returns (QString)
  In versions KDE 3.2.0 and above only

- locked ()

  returns nothing
  In versions KDE 3.2.0 and above only

- locksDir ()

  returns (QString)
  In versions KDE 3.2.0 and above only
  static

- readLockFile (filename, app)

  returns (bool) pid (int)
  In versions KDE 3.2.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  filename | QString |
  app | QString |

- unlock ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- unlocked ()

  returns nothing
  In versions KDE 3.2.0 and above only

- writeLockFile (filename)

  returns (bool)
  In versions KDE 3.2.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  filename | QString |