#### PyKDE - Python Bindings for KDE

# class TDEABC.Lock

Table of contents
Modules
tdeabc Classes
All Classes

Module | tdeabc
Class | TDEABC.Lock
Inherits | TQObject

### methods

- Lock (identifier)

  returns a Lock instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  identifier | TQString |

- error ()

  returns (TQString)
  In versions KDE 3.2.0 and above only

- lock ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- lockFileName ()

  returns (TQString)
  In versions KDE 3.2.0 and above only

- locked ()

  returns nothing
  In versions KDE 3.2.0 and above only

- locksDir ()

  returns (TQString)
  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 | TQString |
  app | TQString |

- 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 | TQString |