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

« back to all changes in this revision

Viewing changes to plugins/dockers/shapeselector/TemplateShape.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2006, 2008 Thomas Zander <zander@kde.org>
 
2
 * Copyright (C) 2006-2010 Thomas Zander <zander@kde.org>
3
3
 *
4
4
 * This library is free software; you can redistribute it and/or
5
5
 * modify it under the terms of the GNU Library General Public
23
23
 
24
24
#include <KoShapeFactoryBase.h>
25
25
 
 
26
/**
 
27
 * The shape selector uses IconShapes to represent a shape factory.
 
28
 * The shape selector is meant to allow the user to insert any type of flake shape
 
29
 * and the way that works in Flake is that there is a KoShapeFactoryBase per shape-type.
 
30
 * Each factory is capable of inserting at least one type of shape into a KOffice
 
31
 * document. To visualize the shape without having to actually ask the factory to
 
32
 * create one (which may be expensive) either the TemplateShape or the GroupShape is used
 
33
 * to show the icon (KoShapeFactoryBase::icon()) and things like a tooltip.
 
34
 * The TemplateShape is used for a KoShapeTemplate, when the factory has none (so only
 
35
 * KoShapeFactoryBase::createDefaultShape() can be called) the GroupShape is used instead.
 
36
 */
26
37
class TemplateShape : public IconShape
27
38
{
28
39
public: