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

« back to all changes in this revision

Viewing changes to core/libs/dimg/loaders/jp2kloader.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        : 2006-06-14
7
7
 * Description : A JPEG2000 IO file for DImg framework
8
8
 *
9
 
 * Copyright (C) 2006-2009 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
9
 * Copyright (C) 2006-2012 by Gilles Caulier <caulier dot gilles at gmail dot com>
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
49
49
 
50
50
public:
51
51
 
52
 
    JP2KLoader(DImg* image);
 
52
    explicit JP2KLoader(DImg* const image);
53
53
 
54
 
    bool load(const QString& filePath, DImgLoaderObserver* observer);
55
 
    bool save(const QString& filePath, DImgLoaderObserver* observer);
 
54
    bool load(const QString& filePath, DImgLoaderObserver* const observer);
 
55
    bool save(const QString& filePath, DImgLoaderObserver* const observer);
56
56
 
57
57
    virtual bool hasAlpha()   const;
58
58
    virtual bool sixteenBit() const;
59
 
    virtual bool isReadOnly() const
60
 
    {
61
 
        return false;
62
 
    };
 
59
    virtual bool isReadOnly() const;
63
60
 
64
61
private:
65
62