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

« back to all changes in this revision

Viewing changes to lib/resize/resizeimagedialog.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 2010 Aurélien Gâteau <agateau@kde.org>
30
30
 
31
31
// Local
32
32
 
33
 
namespace Gwenview {
34
 
 
 
33
namespace Gwenview
 
34
{
35
35
 
36
36
class ResizeImageDialogPrivate;
37
 
class GWENVIEWLIB_EXPORT ResizeImageDialog : public KDialog {
38
 
        Q_OBJECT
 
37
class GWENVIEWLIB_EXPORT ResizeImageDialog : public KDialog
 
38
{
 
39
    Q_OBJECT
39
40
public:
40
 
        ResizeImageDialog(QWidget *parent);
41
 
        ~ResizeImageDialog();
 
41
    ResizeImageDialog(QWidget *parent);
 
42
    ~ResizeImageDialog();
42
43
 
43
 
        void setOriginalSize(const QSize&);
44
 
        QSize size() const;
 
44
    void setOriginalSize(const QSize&);
 
45
    QSize size() const;
45
46
 
46
47
private Q_SLOTS:
47
 
        void slotWidthChanged(int);
48
 
        void slotHeightChanged(int);
49
 
        void slotKeepAspectChanged(bool);
 
48
    void slotWidthChanged(int);
 
49
    void slotHeightChanged(int);
 
50
    void slotKeepAspectChanged(bool);
50
51
 
51
52
private:
52
 
        ResizeImageDialogPrivate* const d;
 
53
    ResizeImageDialogPrivate* const d;
53
54
};
54
55
 
55
 
 
56
56
} // namespace
57
57
 
58
58
#endif /* RESIZEIMAGEDIALOG_H */