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

« back to all changes in this revision

Viewing changes to plugins/dockers/shapeselector/SelectStrategy.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) 2008 Thomas Zander <zander@kde.org>
 
2
 * Copyright (C) 2008-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
27
27
class KoShape;
28
28
class KoPointerEvent;
29
29
 
 
30
/**
 
31
 * A strategy for handling a left click on a selectable shape.
 
32
 * The shape selector allows mouse and keyboard interaction by having the Canvas
 
33
 * use different InteractionStrategy classes to handle an 'interaction'
 
34
 * (mouse down till mouse release)
 
35
 * This is the strategy that detects the user selecting an item that can be inserted
 
36
 * onto a KOffice canvas.
 
37
 * itemSelected will be emitted after the canvas' KoSelection has been updated to
 
38
 * select the appropriate shape.
 
39
 */
30
40
class SelectStrategy : public QObject, public InteractionStrategy
31
41
{
32
42
    Q_OBJECT