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

« back to all changes in this revision

Viewing changes to plugins/vectorshape/VectorToolFactory.cpp

  • 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:
18
18
   Boston, MA 02110-1301, USA.
19
19
*/
20
20
 
21
 
#include <klocale.h>
 
21
#include "VectorToolFactory.h"
22
22
 
23
23
#include "VectorShape.h"
24
24
#include "VectorTool.h"
25
25
 
26
 
#include "VectorToolFactory.h"
 
26
#include <KoIcon.h>
 
27
#include <klocale.h>
27
28
 
28
29
 
29
30
VectorToolFactory::VectorToolFactory()
30
31
    : KoToolFactoryBase("VectorToolFactoryId")
31
32
{
32
 
    setToolTip( i18n( "EMF/WMF Vector Shape tool" ) );
33
 
    // FIXME: x-shape-vectorimage
34
 
    setIcon("application-x-wmf");
 
33
    setToolTip(i18n("Vector Image (EMF/WMF/SVM) tool"));
 
34
    setIconName(koIconNameCStrNeededWithSubs("a generic vector image icon", "x-shape-vectorimage", "application-x-wmf"));
35
35
    setToolType( dynamicToolType() );
36
36
    setPriority( 1 );
37
37
    setActivationShapeId( VectorShape_SHAPEID );