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

« back to all changes in this revision

Viewing changes to libs/flake/commands/KoShapeKeepAspectRatioCommand.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:
23
23
#include <QUndoCommand>
24
24
#include <QList>
25
25
 
26
 
#include "flake_export.h"
27
 
 
28
26
class KoShape;
29
27
 
30
28
/**
31
29
 * Command that changes the keepAspectRatio property of KoShape
32
30
 */
33
 
class FLAKE_EXPORT KoShapeKeepAspectRatioCommand : public QUndoCommand
 
31
class KoShapeKeepAspectRatioCommand : public QUndoCommand
34
32
{
35
33
public:
36
34
    /**
40
38
     * @param newKeepAspectRatio the new settings
41
39
     * @param parent the parent command
42
40
     */
43
 
    KoShapeKeepAspectRatioCommand(const QList<KoShape*>& shapes, const QList<bool>& oldKeepAspectRatio, const QList<bool>& newKeepAspectRatio, QUndoCommand* parent = 0);
 
41
    KoShapeKeepAspectRatioCommand(const QList<KoShape*> &shapes, const QList<bool> &oldKeepAspectRatio, const QList<bool> &newKeepAspectRatio, QUndoCommand* parent = 0);
44
42
    ~KoShapeKeepAspectRatioCommand();
45
43
 
46
44
    /// Execute the command