29 LockNull::LockNull(
bool allowAccess )
30 :
Lock( TQString::null ), mAllowAccess( allowAccess )
41 if ( !mAllowAccess )
return false;
43 kdWarning() <<
"LockNull::lock() force success. Doesn't actually lock."
57 TQString LockNull::error()
const
60 return i18n(
"LockNull: All locks succeed but no actual locking is done.");
62 return i18n(
"LockNull: All locks fail.");
bool unlock()
Unlock resource.
bool lock()
Lock resource.
This class provides locking functionality for a file, directory or an arbitrary string-represented re...
kndbgstream & endl(kndbgstream &s)
kdbgstream kdWarning(int area=0)
static data, shared by ALL addressee objects