~smartboyhw/ubuntu/raring/calligra/2.6.0-0ubuntu1

« back to all changes in this revision

Viewing changes to krita/plugins/extensions/rotateimage/rotateimage.cc

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-10-23 21:09:16 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20121023210916-m82w6zxnxhaxz7va
Tags: 1:2.5.90-0ubuntu1
* New upstream alpha release (LP: #1070436)
  - Add libkactivities-dev and libopenimageio-dev to build-depends
  - Add kubuntu_build_calligraactive.diff to build calligraactive by default
  - Add package for calligraauthor and move files that are shared between
    calligrawords and calligraauthor to calligrawords-common
* Document the patches
* Remove numbers from patches so they follow the same naming scheme as
  the rest of our patches.
* calligra-data breaks replaces krita-data (<< 1:2.5.3) (LP: #1071686)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include <QPoint>
30
30
 
31
31
#include <klocale.h>
32
 
#include <kiconloader.h>
33
32
#include <kcomponentdata.h>
34
33
#include <kmessagebox.h>
35
34
#include <kstandarddirs.h>
36
35
#include <kis_debug.h>
37
36
#include <kpluginfactory.h>
38
37
#include <kactioncollection.h>
39
 
#include <kicon.h>
 
38
#include <KoIcon.h>
40
39
#include <kis_config.h>
41
40
#include <kis_image.h>
42
41
#include <kis_layer.h>
66
65
        actionCollection()->addAction("rotateimage", action);
67
66
        connect(action, SIGNAL(triggered()), this, SLOT(slotRotateImage()));
68
67
 
69
 
        action  = new KAction(KIcon("object-rotate-right"), i18nc("rotate image 90 degrees to the right", "Rotate Image 90° to the Right"), this);
 
68
        action  = new KAction(koIcon("object-rotate-right"), i18nc("rotate image 90 degrees to the right", "Rotate Image 90° to the Right"), this);
70
69
        actionCollection()->addAction("rotateImageCW90", action);
71
70
        connect(action, SIGNAL(triggered()), this, SLOT(slotRotateImage90()));
72
71
 
74
73
        actionCollection()->addAction("rotateImage180", action);
75
74
        connect(action, SIGNAL(triggered()), this, SLOT(slotRotateImage180()));
76
75
 
77
 
        action  = new KAction(KIcon("object-rotate-left"), i18nc("rotate image 90 degrees to the left", "Rotate Image 90° to the Left"), this);
 
76
        action  = new KAction(koIcon("object-rotate-left"), i18nc("rotate image 90 degrees to the left", "Rotate Image 90° to the Left"), this);
78
77
        actionCollection()->addAction("rotateImageCCW90", action);
79
78
        connect(action, SIGNAL(triggered()), this, SLOT(slotRotateImage270()));
80
79
 
86
85
        actionCollection()->addAction("rotateLayer180", m_rotate90LayerAction);
87
86
        connect(m_rotate90LayerAction, SIGNAL(triggered()), m_view->nodeManager(), SLOT(rotate180()));
88
87
 
89
 
        m_rotate180LayerAction  = new KAction(KIcon("object-rotate-right"), i18nc("rotate the layer 90 degrees to the right", "Rotate Layer 90° to the Right"), this);
 
88
        m_rotate180LayerAction  = new KAction(koIcon("object-rotate-right"), i18nc("rotate the layer 90 degrees to the right", "Rotate Layer 90° to the Right"), this);
90
89
        actionCollection()->addAction("rotateLayerCW90", m_rotate180LayerAction);
91
90
        connect(m_rotate180LayerAction, SIGNAL(triggered()), m_view->nodeManager(), SLOT(rotateRight90()));
92
91
 
93
 
        m_rotate270LayerAction  = new KAction(KIcon("object-rotate-left"), i18nc("rotate the layer 90 degrees to the left", "Rotate Layer 90° to the Left"), this);
 
92
        m_rotate270LayerAction  = new KAction(koIcon("object-rotate-left"), i18nc("rotate the layer 90 degrees to the left", "Rotate Layer 90° to the Left"), this);
94
93
        actionCollection()->addAction("rotateLayerCCW90", m_rotate270LayerAction);
95
94
        connect(m_rotate270LayerAction, SIGNAL(triggered()), m_view->nodeManager(), SLOT(rotateLeft90()));
96
95