~ubuntu-branches/ubuntu/trusty/digikam/trusty

« back to all changes in this revision

Viewing changes to core/libs/threadimageio/filereadwritelock.h

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2012-11-26 18:24:20 UTC
  • mfrom: (1.9.1) (3.1.23 experimental)
  • Revision ID: package-import@ubuntu.com-20121126182420-qoy6z0nx4ai0wzcl
Tags: 4:3.0.0~beta3-0ubuntu1
* New upstream release
  - Add build-deps :  libhupnp-dev, libqtgstreamer-dev, libmagickcore-dev
* Merge from debian, remaining changes:
  - Make sure libqt4-opengl-dev, libgl1-mesa-dev and libglu1-mesa-dev only
    install on i386,amd64 and powerpc
  - Depend on libtiff-dev instead of libtiff4-dev
  - Drop digikam breaks/replaces kipi-plugins-common since we're past the
    LTS release now
  - digikam to recommend mplayerthumbs | ffmpegthumbs. We currently only
    have latter in the archives, even though former is also supposed to
    be part of kdemultimedia. (LP: #890059)
  - kipi-plugins to recommend www-browser rather than konqueror directly
    since 2.8 no direct usage of konqueror is present in the flickr
    plugin anymore (LP: #1011211)
  - Keep kubuntu_mysqld_executable_name.diff
  - Don't install libkipi translations
  - Keep deps on libcv-dev, libcvaux-dev
  - Keep split packaging of libraries
  - Replace icons from KDE 3 time in debian/xpm.d/*.xpm with the new
    versions (LP: #658047)
* Update debian/not-installed

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * Date        : 2012-01-29
7
7
 * Description : Intra-process file i/o lock
8
8
 *
9
 
 * Copyright (C) 2012 by Marcel Wiesweg <marcel.wiesweg@gmx.de>
 
9
 * Copyright (C) 2012 by Marcel Wiesweg <marcel dot wiesweg at gmx dot de>
10
10
 *
11
11
 * This program is free software; you can redistribute it
12
12
 * and/or modify it under the terms of the GNU General
43
43
{
44
44
public:
45
45
 
46
 
    FileReadWriteLockKey(const QString& filePath);
 
46
    explicit FileReadWriteLockKey(const QString& filePath);
47
47
    ~FileReadWriteLockKey();
48
48
 
49
49
    void lockForRead();
63
63
{
64
64
public:
65
65
 
66
 
    FileReadLocker(const QString& filePath);
 
66
    explicit FileReadLocker(const QString& filePath);
67
67
    ~FileReadLocker();
68
68
 
69
69
private:
75
75
{
76
76
public:
77
77
 
78
 
    FileWriteLocker(const QString& filePath);
 
78
    explicit FileWriteLocker(const QString& filePath);
79
79
    ~FileWriteLocker();
80
80
 
81
81
private:
87
87
{
88
88
public:
89
89
    SafeTemporaryFile();
90
 
    SafeTemporaryFile(const QString& templ);
 
90
    explicit SafeTemporaryFile(const QString& templ);
91
91
    bool open() { return open(QIODevice::ReadWrite); }
92
92
protected:
93
93
    virtual bool open(QIODevice::OpenMode);