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

« back to all changes in this revision

Viewing changes to app/fileopscontextmanageritem.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>
34
34
class KActionCollection;
35
35
class KXMLGUIClient;
36
36
 
37
 
namespace Gwenview {
38
 
 
 
37
namespace Gwenview
 
38
{
39
39
 
40
40
struct FileOpsContextManagerItemPrivate;
41
 
class FileOpsContextManagerItem : public AbstractContextManagerItem {
42
 
        Q_OBJECT
 
41
class FileOpsContextManagerItem : public AbstractContextManagerItem
 
42
{
 
43
    Q_OBJECT
43
44
public:
44
 
        FileOpsContextManagerItem(Gwenview::ContextManager* manager, QListView* thumbnailView, KActionCollection* actionCollection, KXMLGUIClient* client);
45
 
        ~FileOpsContextManagerItem();
 
45
    FileOpsContextManagerItem(Gwenview::ContextManager* manager, QListView* thumbnailView, KActionCollection* actionCollection, KXMLGUIClient* client);
 
46
    ~FileOpsContextManagerItem();
46
47
 
47
48
private Q_SLOTS:
48
 
        void updateActions();
49
 
        void updatePasteAction();
50
 
        void updateSideBarContent();
 
49
    void updateActions();
 
50
    void updatePasteAction();
 
51
    void updateSideBarContent();
51
52
 
52
 
        void cut();
53
 
        void copy();
54
 
        void paste();
55
 
        void rename();
56
 
        void copyTo();
57
 
        void moveTo();
58
 
        void linkTo();
59
 
        void trash();
60
 
        void del();
61
 
        void restore();
62
 
        void showProperties();
63
 
        void createFolder();
64
 
        void populateOpenMenu();
65
 
        void openWith(QAction* action);
 
53
    void cut();
 
54
    void copy();
 
55
    void paste();
 
56
    void rename();
 
57
    void copyTo();
 
58
    void moveTo();
 
59
    void linkTo();
 
60
    void trash();
 
61
    void del();
 
62
    void restore();
 
63
    void showProperties();
 
64
    void createFolder();
 
65
    void populateOpenMenu();
 
66
    void openWith(QAction* action);
66
67
 
67
68
private:
68
 
        FileOpsContextManagerItemPrivate* const d;
 
69
    FileOpsContextManagerItemPrivate* const d;
69
70
};
70
71
 
71
 
 
72
72
} // namespace
73
73
 
74
74
#endif /* FILEOPSCONTEXTMANAGERITEM_H */