~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

Viewing changes to libs/dimg/dimg.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2010-08-26 19:25:16 UTC
  • mfrom: (1.2.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20100826192516-mkbdww0h5v2x4yoy
Tags: 2:1.4.0-0ubuntu1
* New upstream bugfix release (LP: #626751)
* Install the file NEWS as upstream changelog because "ChangeLog" is
  too verbose.
* Don't copy the desktop .pot file to imageplugins, not needed anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#ifndef DIMG_H
27
27
#define DIMG_H
28
28
 
 
29
// KExiv2 includes
 
30
 
 
31
#include <libkexiv2/kexiv2data.h>
 
32
 
29
33
// Qt includes
30
34
 
31
35
#include <QtCore/QByteArray>
38
42
// Local includes
39
43
 
40
44
#include "digikam_export.h"
41
 
#include "dmetadatadata.h"
42
45
#include "dshareddata.h"
43
46
#include "drawdecoding.h"
44
47
#include "dcolor.h"
50
53
namespace Digikam
51
54
{
52
55
 
 
56
typedef KExiv2Iface::KExiv2Data KExiv2Data;
 
57
 
53
58
class ExposureSettingsContainer;
54
59
class DImgPrivate;
55
60
class IccTransform;
366
371
    /** QImage wrapper methods
367
372
     */
368
373
    QImage     copyQImage();
369
 
    QImage     copyQImage(QRect rect);
 
374
    QImage     copyQImage(const QRect& rect);
370
375
    QImage     copyQImage(int x, int y, int w, int h);
371
376
 
372
377
    /** Crop image to the specified region
373
378
     */
374
 
    void       crop(QRect rect);
 
379
    void       crop(const QRect& rect);
375
380
    void       crop(int x, int y, int w, int h);
376
381
 
377
382
    /** Set width and height of this image, smoothScale it to the given size