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

« back to all changes in this revision

Viewing changes to krita/image/commands/kis_image_resize_command.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:
35
35
 
36
36
class KisImageResizeCommand : public KisImageCommand
37
37
{
38
 
 
39
38
public:
40
 
    KisImageResizeCommand(KisImageWSP image, qint32 width, qint32 height, qint32 oldWidth, qint32 oldHeight);
 
39
    KisImageResizeCommand(KisImageWSP image, const QSize& newRect);
41
40
 
42
 
    virtual void redo();
43
 
    virtual void undo();
 
41
    void redo();
 
42
    void undo();
44
43
 
45
44
private:
46
 
    QSize m_before;
47
 
    QSize m_after;
 
45
    QSize m_sizeBefore;
 
46
    QSize m_sizeAfter;
48
47
};
49
48
 
50
49
#endif