• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegraphics API Reference
  • KDE Home
  • Contact Us
 

libs/libkipi/libkipi

  • KIPI
  • FileReadLocker
Public Member Functions | List of all members
KIPI::FileReadLocker Class Reference

#include <interface.h>

Public Member Functions

 FileReadLocker (Interface *const iface, const KUrl &url)
 
 FileReadLocker (ImageInfoShared *const info)
 
 ~FileReadLocker ()
 
FileReadWriteLock * fileReadWriteLock () const
 
void relock ()
 
void unlock ()
 

Detailed Description

Convenience classes creating a FileReadWriteLock and locking it for you.

It is strongly recommended to use FileReadWriteLock only through these classes, created on the stack, as unlocking will be done automatically for you.

The API is modelled according to the QReadLocker/QWriteLocker classes.

Note that operations are no-ops and fileReadWriteLock() is 0 if not HostSupportsReadWriteLock.

Definition at line 431 of file interface.h.

Constructor & Destructor Documentation

KIPI::FileReadLocker::FileReadLocker ( Interface *const  iface,
const KUrl &  url 
)

Definition at line 327 of file interface.cpp.

KIPI::FileReadLocker::FileReadLocker ( ImageInfoShared *const  info)

Definition at line 333 of file interface.cpp.

KIPI::FileReadLocker::~FileReadLocker ( )

Definition at line 339 of file interface.cpp.

Member Function Documentation

FileReadWriteLock * KIPI::FileReadLocker::fileReadWriteLock ( ) const

Definition at line 344 of file interface.cpp.

void KIPI::FileReadLocker::relock ( )

Definition at line 349 of file interface.cpp.

void KIPI::FileReadLocker::unlock ( )

Definition at line 357 of file interface.cpp.


The documentation for this class was generated from the following files:
  • interface.h
  • interface.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:21 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libs/libkipi/libkipi

Skip menu "libs/libkipi/libkipi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal