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

« back to all changes in this revision

Viewing changes to imageplugins/enhance/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-2010 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
using namespace Digikam;
 
32
 
 
33
namespace DigikamEnhanceImagePlugin
 
34
{
 
35
 
 
36
class NoiseReductionToolPriv;
 
37
 
 
38
class NoiseReductionTool : public EditorToolThreaded
 
39
{
 
40
    Q_OBJECT
 
41
 
 
42
public:
 
43
 
 
44
    NoiseReductionTool(QObject* parent);
 
45
    ~NoiseReductionTool();
 
46
 
 
47
private:
 
48
 
 
49
    void readSettings();
 
50
    void writeSettings();
 
51
    void prepareEffect();
 
52
    void prepareFinal();
 
53
    void putPreviewData();
 
54
    void putFinalData();
 
55
    void renderingFinished();
 
56
 
 
57
private Q_SLOTS:
 
58
 
 
59
    void slotResetSettings();
 
60
    void slotLoadSettings();
 
61
    void slotSaveAsSettings();
 
62
 
 
63
private:
 
64
 
 
65
    NoiseReductionToolPriv* const d;
 
66
};
 
67
 
 
68
}  // namespace DigikamEnhanceImagePlugin
 
69
 
 
70
#endif /* NOISEREDUCTIONTOOL_H */