Diffstat (limited to 'core/applets/screenshotapplet/screenshot.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/screenshotapplet/screenshot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/applets/screenshotapplet/screenshot.h b/core/applets/screenshotapplet/screenshot.h index 74cc5e6..b753583 100644 --- a/core/applets/screenshotapplet/screenshot.h +++ b/core/applets/screenshotapplet/screenshot.h | |||
@@ -35,36 +35,37 @@ class ScreenshotControl : public QFrame | |||
35 | public: | 35 | public: |
36 | ScreenshotControl( QWidget *parent=0, const char *name=0 ); | 36 | ScreenshotControl( QWidget *parent=0, const char *name=0 ); |
37 | 37 | ||
38 | private: | 38 | private: |
39 | QPushButton *grabItButton, *scapButton; | 39 | QPushButton *grabItButton, *scapButton; |
40 | QPixmap snapshot; | 40 | QPixmap snapshot; |
41 | QTimer* grabTimer; | 41 | QTimer* grabTimer; |
42 | QCheckBox *saveNamedCheck; | 42 | QCheckBox *saveNamedCheck; |
43 | QString FileNamePath; | 43 | QString FileNamePath; |
44 | bool setFileName; | 44 | bool setFileName; |
45 | QSpinBox *delaySpin; | 45 | QSpinBox *delaySpin; |
46 | int buttonPushed; | 46 | int buttonPushed; |
47 | 47 | ||
48 | private slots: | 48 | private slots: |
49 | void slotGrab(); | 49 | void slotGrab(); |
50 | void slotScap(); | 50 | void slotScap(); |
51 | void savePixmap(); | 51 | void savePixmap(); |
52 | void performGrab(); | 52 | void performGrab(); |
53 | }; | 53 | }; |
54 | 54 | ||
55 | class ScreenshotApplet : public QWidget { | 55 | class ScreenshotApplet : public QWidget { |
56 | public: | 56 | public: |
57 | ScreenshotApplet( QWidget *parent = 0, const char *name=0 ); | 57 | ScreenshotApplet( QWidget *parent = 0, const char *name=0 ); |
58 | ~ScreenshotApplet(); | 58 | ~ScreenshotApplet(); |
59 | static int position(); | ||
59 | 60 | ||
60 | protected: | 61 | protected: |
61 | void mousePressEvent( QMouseEvent * ); | 62 | void mousePressEvent( QMouseEvent * ); |
62 | void paintEvent( QPaintEvent* ); | 63 | void paintEvent( QPaintEvent* ); |
63 | 64 | ||
64 | private: | 65 | private: |
65 | QPixmap m_icon; | 66 | QPixmap m_icon; |
66 | }; | 67 | }; |
67 | 68 | ||
68 | 69 | ||
69 | #endif // __SCREENSHOT_APPLET_H__ | 70 | #endif // __SCREENSHOT_APPLET_H__ |
70 | 71 | ||