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

« back to all changes in this revision

Viewing changes to app/savebar.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>
31
31
class KActionCollection;
32
32
class KUrl;
33
33
 
34
 
namespace Gwenview {
35
 
 
 
34
namespace Gwenview
 
35
{
36
36
 
37
37
class SaveBarPrivate;
38
 
class SaveBar : public SlideContainer {
39
 
        Q_OBJECT
 
38
class SaveBar : public SlideContainer
 
39
{
 
40
    Q_OBJECT
40
41
public:
41
 
        SaveBar(QWidget* parent, KActionCollection* collection);
42
 
        ~SaveBar();
43
 
 
44
 
        /**
45
 
         * Init widgets which depend on an initialized actionCollection
46
 
         */
47
 
        void initActionDependentWidgets();
48
 
 
49
 
        void setCurrentUrl(const KUrl&);
50
 
 
51
 
        void setFullScreenMode(bool);
 
42
    SaveBar(QWidget* parent, KActionCollection* collection);
 
43
    ~SaveBar();
 
44
 
 
45
    /**
 
46
     * Init widgets which depend on an initialized actionCollection
 
47
     */
 
48
    void initActionDependentWidgets();
 
49
 
 
50
    void setCurrentUrl(const KUrl&);
 
51
 
 
52
    void setFullScreenMode(bool);
52
53
 
53
54
Q_SIGNALS:
54
 
        void requestSaveAll();
55
 
        void goToUrl(const KUrl&);
 
55
    void requestSaveAll();
 
56
    void goToUrl(const KUrl&);
56
57
 
57
58
private:
58
 
        SaveBarPrivate* const d;
 
59
    SaveBarPrivate* const d;
59
60
 
60
61
private Q_SLOTS:
61
 
        void updateContent();
62
 
        void triggerAction(const QString& action);
 
62
    void updateContent();
 
63
    void triggerAction(const QString& action);
63
64
};
64
65
 
65
 
 
66
66
} // namespace
67
67
 
68
68
#endif /* SAVEBAR_H */