~ubuntu-branches/ubuntu/precise/gwenview/precise-proposed

« back to all changes in this revision

Viewing changes to app/imageopscontextmanageritem.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:54 UTC
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20111215141754-z043hyx69dulbggf
Tags: upstream-4.7.90
Import upstream version 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// vim: set tabstop=4 shiftwidth=4 noexpandtab:
 
1
// vim: set tabstop=4 shiftwidth=4 expandtab:
2
2
/*
3
3
Gwenview: an image viewer
4
4
Copyright 2007 Aurélien Gâteau <agateau@kde.org>
28
28
// Local
29
29
#include "abstractcontextmanageritem.h"
30
30
 
31
 
 
32
 
 
33
 
 
34
 
namespace Gwenview {
35
 
 
 
31
namespace Gwenview
 
32
{
36
33
 
37
34
class AbstractImageOperation;
38
35
class MainWindow;
39
36
 
40
 
 
41
 
class ImageOpsContextManagerItem : public AbstractContextManagerItem {
42
 
        Q_OBJECT
 
37
class ImageOpsContextManagerItem : public AbstractContextManagerItem
 
38
{
 
39
    Q_OBJECT
43
40
public:
44
 
        ImageOpsContextManagerItem(ContextManager*, MainWindow*);
45
 
        ~ImageOpsContextManagerItem();
 
41
    ImageOpsContextManagerItem(ContextManager*, MainWindow*);
 
42
    ~ImageOpsContextManagerItem();
46
43
 
47
44
private Q_SLOTS:
48
 
        void updateActions();
49
 
        void updateSideBarContent();
50
 
        void rotateLeft();
51
 
        void rotateRight();
52
 
        void mirror();
53
 
        void flip();
54
 
        void resizeImage();
55
 
        void crop();
56
 
        void startRedEyeReduction();
57
 
        void applyImageOperation(AbstractImageOperation*);
58
 
        void restoreDefaultImageViewTool();
 
45
    void updateActions();
 
46
    void updateSideBarContent();
 
47
    void rotateLeft();
 
48
    void rotateRight();
 
49
    void mirror();
 
50
    void flip();
 
51
    void resizeImage();
 
52
    void crop();
 
53
    void startRedEyeReduction();
 
54
    void applyImageOperation(AbstractImageOperation*);
 
55
    void restoreDefaultImageViewTool();
59
56
 
60
57
private:
61
 
        struct Private;
62
 
        Private* const d;
 
58
    struct Private;
 
59
    Private* const d;
63
60
};
64
61
 
65
 
 
66
62
} // namespace
67
63
 
68
64
#endif /* IMAGEOPSCONTEXTMANAGERITEM_H */