~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to krita/plugins/tools/defaulttools/kis_tool_move.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef KIS_TOOL_MOVE_H_
22
22
#define KIS_TOOL_MOVE_H_
23
23
 
24
 
#include <KoToolFactory.h>
 
24
#include <KoToolFactoryBase.h>
25
25
#include <kis_types.h>
26
26
#include <kis_tool.h>
27
27
#include <flake/kis_node_shape.h>
84
84
};
85
85
 
86
86
 
87
 
class KisToolMoveFactory : public KoToolFactory
 
87
class KisToolMoveFactory : public KoToolFactoryBase
88
88
{
89
89
 
90
90
public:
91
91
    KisToolMoveFactory(QObject *parent, const QStringList&)
92
 
            : KoToolFactory(parent, "KritaTransform/KisToolMove", i18n("Move")) {
 
92
            : KoToolFactoryBase(parent, "KritaTransform/KisToolMove") {
93
93
        setToolTip(i18n("Move a layer"));
94
94
        setToolType(TOOL_TYPE_TRANSFORM);
95
 
        //setActivationShapeId( KIS_NODE_SHAPE_ID );
 
95
        setActivationShapeId(KRITA_TOOL_ACTIVATION_ID);
96
96
        setPriority(11);
97
97
        setIcon("krita_tool_move");
98
98
        //setShortcut( QKeySequence( Qt::SHIFT + Qt::Key_V ) );
100
100
 
101
101
    virtual ~KisToolMoveFactory() {}
102
102
 
103
 
    virtual KoTool * createTool(KoCanvasBase *canvas) {
 
103
    virtual KoToolBase * createTool(KoCanvasBase *canvas) {
104
104
        return new KisToolMove(canvas);
105
105
    }
106
106