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

« back to all changes in this revision

Viewing changes to imageplugins/coreplugin/noisereductiontool.h

  • Committer: Bazaar Package Importer
  • Author(s): Christian Mangold
  • Date: 2010-04-09 21:30:01 UTC
  • mfrom: (1.2.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20100409213001-4bfyibrd359rn7o3
Tags: 2:1.2.0-0ubuntu1
* New upstream release (LP: #560576)
* Remove all patches, fixed upstream
  - Remove quilt build-depend

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ============================================================
2
 
 *
3
 
 * This file is a part of digiKam project
4
 
 * http://www.digikam.org
5
 
 *
6
 
 * Date        : 2004-08-24
7
 
 * Description : a plugin to reduce CCD noise.
8
 
 *
9
 
 * Copyright (C) 2004-2009 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
 
 *
11
 
 * This program is free software; you can redistribute it
12
 
 * and/or modify it under the terms of the GNU General
13
 
 * Public License as published by the Free Software Foundation;
14
 
 * either version 2, or (at your option)
15
 
 * any later version.
16
 
 *
17
 
 * This program is distributed in the hope that it will be useful,
18
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 
 * GNU General Public License for more details.
21
 
 *
22
 
 * ============================================================ */
23
 
 
24
 
#ifndef NOISEREDUCTIONTOOL_H
25
 
#define NOISEREDUCTIONTOOL_H
26
 
 
27
 
// Local includes
28
 
 
29
 
#include "editortool.h"
30
 
 
31
 
namespace DigikamImagesPluginCore
32
 
{
33
 
 
34
 
class NoiseReductionToolPriv;
35
 
 
36
 
class NoiseReductionTool : public Digikam::EditorToolThreaded
37
 
{
38
 
    Q_OBJECT
39
 
 
40
 
public:
41
 
 
42
 
    NoiseReductionTool(QObject* parent);
43
 
    ~NoiseReductionTool();
44
 
 
45
 
private:
46
 
 
47
 
    void readSettings();
48
 
    void writeSettings();
49
 
    void prepareEffect();
50
 
    void prepareFinal();
51
 
    void putPreviewData();
52
 
    void putFinalData();
53
 
    void renderingFinished();
54
 
 
55
 
private Q_SLOTS:
56
 
 
57
 
    void slotResetSettings();
58
 
    void slotLoadSettings();
59
 
    void slotSaveAsSettings();
60
 
 
61
 
private:
62
 
 
63
 
    NoiseReductionToolPriv* const d;
64
 
};
65
 
 
66
 
}  // namespace DigikamImagesPluginCore
67
 
 
68
 
#endif /* NOISEREDUCTIONTOOL_H */