aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/covermanager/coverwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/covermanager/coverwidget.h')
-rw-r--r--src/plugins/General/covermanager/coverwidget.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/plugins/General/covermanager/coverwidget.h b/src/plugins/General/covermanager/coverwidget.h
index b06e66f7e..e8a71a91c 100644
--- a/src/plugins/General/covermanager/coverwidget.h
+++ b/src/plugins/General/covermanager/coverwidget.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2009 by Ilya Kotov *
+ * Copyright (C) 2009-2010 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -23,6 +23,9 @@
#include <QWidget>
#include <QPixmap>
+class QMenu;
+class QMouseEvent;
+
/**
@author Ilya Kotov <forkotov02@hotmail.ru>
*/
@@ -39,12 +42,16 @@ public:
protected:
void paintEvent (QPaintEvent *event);
+ void mousePressEvent (QMouseEvent * event);
-private:
- QPixmap m_pixmap;
-
-
+private slots:
+ void saveAs();
+ void processResizeAction(QAction *action);
+private:
+ QPixmap m_pixmap;
+ QMenu *m_menu;
+ int m_size;
};
#endif