~ubuntu-branches/ubuntu/karmic/digikam/karmic-backports

« back to all changes in this revision

Viewing changes to imageplugins/inpainting/imageplugin_inpainting.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Ubuntu Archive Auto-Backport
  • Date: 2009-12-07 19:03:53 UTC
  • mfrom: (54.1.4 lucid)
  • Revision ID: james.westby@ubuntu.com-20091207190353-oara3lenjxymto3i
Tags: 2:1.0.0~rc-1ubuntu1~karmic1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 *
23
23
 * ============================================================ */
24
24
 
25
 
#include "imageplugin_inpainting.h"
26
25
#include "imageplugin_inpainting.moc"
27
26
 
28
27
// KDE includes
34
33
#include <kactioncollection.h>
35
34
#include <kcursor.h>
36
35
#include <kapplication.h>
 
36
#include <kdebug.h>
37
37
 
38
38
// Local includes
39
39
 
40
40
#include "imageiface.h"
41
41
#include "inpaintingtool.h"
42
 
#include "debug.h"
43
42
 
44
43
using namespace DigikamInPaintingImagesPlugin;
45
44
using namespace Digikam;
51
50
                      : Digikam::ImagePlugin(parent, "ImagePlugin_InPainting")
52
51
{
53
52
    m_inPaintingAction = new KAction(KIcon("inpainting"), i18n("In-painting..."), this);
54
 
    m_inPaintingAction->setShortcut(QKeySequence(Qt::CTRL+Qt::Key_E));
 
53
    m_inPaintingAction->setShortcut(KShortcut(Qt::CTRL+Qt::Key_E));
55
54
    m_inPaintingAction->setWhatsThis( i18n( "This filter can be used to in-paint a part in a photo. "
56
55
                                            "To use this option, select a region to in-paint.") );
57
56
 
62
61
 
63
62
    setXMLFile( "digikamimageplugin_inpainting_ui.rc" );
64
63
 
65
 
    kDebug(imagePluginsAreaCode) << "ImagePlugin_InPainting plugin loaded";
 
64
    kDebug() << "ImagePlugin_InPainting plugin loaded";
66
65
}
67
66
 
68
67
ImagePlugin_InPainting::~ImagePlugin_InPainting()