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

« back to all changes in this revision

Viewing changes to plugins/defaultTools/defaulttool/SelectionTransformCommand.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:
21
21
#define SELECTION_TRANSFORM_COMMAND_H
22
22
 
23
23
#include <QtGui/QUndoCommand>
24
 
#include <QtGui/QMatrix>
 
24
#include <QtGui/QTransform>
25
25
 
26
26
class KoSelection;
27
27
class KoShape;
29
29
class SelectionTransformCommand : public QUndoCommand
30
30
{
31
31
public:
32
 
    SelectionTransformCommand( KoSelection * selection, const QMatrix &oldTransformation, const QMatrix &newTransformation, QUndoCommand * parent = 0 );
 
32
    SelectionTransformCommand( KoSelection * selection, const QTransform &oldTransformation, const QTransform &newTransformation, QUndoCommand * parent = 0 );
33
33
 
34
34
    /// reimplemented from QUndoCommand
35
35
    virtual void redo();
38
38
private:
39
39
    KoSelection * m_selection;
40
40
    QList<KoShape*> m_selectedShapes;
41
 
    QMatrix m_oldTransformation;
42
 
    QMatrix m_newTransformation;
 
41
    QTransform m_oldTransformation;
 
42
    QTransform m_newTransformation;
43
43
};
44
44
 
45
45
#endif // SELECTION_TRANSFORM_COMMAND_H