• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kabc
 

kabc

  • KABC
  • LockNull
Public Member Functions | List of all members
KABC::LockNull Class Reference

#include <locknull.h>

Inheritance diagram for KABC::LockNull:
KABC::Lock

Public Member Functions

 LockNull (bool allowAccess)
 
bool lock ()
 
bool unlock ()
 
TQString error () const
 
- Public Member Functions inherited from KABC::Lock
 Lock (const TQString &identifier)
 
 ~Lock ()
 
TQString lockFileName () const
 

Additional Inherited Members

- Signals inherited from KABC::Lock
void locked ()
 
void unlocked ()
 
- Static Public Member Functions inherited from KABC::Lock
static bool readLockFile (const TQString &filename, int &pid, TQString &app)
 
static bool writeLockFile (const TQString &filename)
 
static TQString locksDir ()
 

Detailed Description

This class provides a lock without actually locking.

It can be constructed in two ways: One that let all locks succeed and one that let all locks fail.

Definition at line 34 of file locknull.h.

Member Function Documentation

bool LockNull::lock ( )
virtual

Lock resource.

Reimplemented from KABC::Lock.

Definition at line 39 of file locknull.cpp.

bool LockNull::unlock ( )
virtual

Unlock resource.

Reimplemented from KABC::Lock.

Definition at line 51 of file locknull.cpp.


The documentation for this class was generated from the following files:
  • locknull.h
  • locknull.cpp

kabc

Skip menu "kabc"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kabc

Skip menu "kabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kabc by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |