diff options
author | Arno <am@disconnect.de> | 2012-09-08 11:38:09 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2012-09-08 11:38:09 +0200 |
commit | c90f920ebc2dd3386d4f84df3ad25480fbaf616b (patch) | |
tree | 8c86019127587816564ce11249343cd7c980f921 /pictureviewer2.h | |
parent | 2edb6f9b4d70b85b9209d75d1baa7a16e3b8d279 (diff) | |
download | SheMov-c90f920ebc2dd3386d4f84df3ad25480fbaf616b.tar.gz SheMov-c90f920ebc2dd3386d4f84df3ad25480fbaf616b.tar.bz2 SheMov-c90f920ebc2dd3386d4f84df3ad25480fbaf616b.zip |
Implement copy file from PictureViewer2
Add an action to PictureViewer2 for copying the current pic to another
directory.
When I tried to add the QAction to the context menu, I realized that I
chose the variable names picView and picViewer in shemov.cpp very
poorly. Took some time to sift though it. Eventually I shifted some code
around to make it more readable. While at it I replaced the individual
separators with createSeparator(). Other than adding the Copy To action
no functional changes.
Diffstat (limited to 'pictureviewer2.h')
-rw-r--r-- | pictureviewer2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pictureviewer2.h b/pictureviewer2.h index 95f4824..d9fec03 100644 --- a/pictureviewer2.h +++ b/pictureviewer2.h @@ -49,6 +49,7 @@ class PictureViewer2 : public QGraphicsView { void writeSettings(); void shuffle(); void initActions(); + void copyCurrent(); protected: virtual void wheelEvent(QWheelEvent *event); |