Diffstat (limited to 'core/applets/screenshotapplet/screenshot.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/screenshotapplet/screenshot.h | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/core/applets/screenshotapplet/screenshot.h b/core/applets/screenshotapplet/screenshot.h index c8dfeaa..74cc5e6 100644 --- a/core/applets/screenshotapplet/screenshot.h +++ b/core/applets/screenshotapplet/screenshot.h @@ -36,5 +36,4 @@ public: ScreenshotControl( QWidget *parent=0, const char *name=0 ); - void performGrab(); -public: +private: QPushButton *grabItButton, *scapButton; @@ -45,9 +44,5 @@ public: bool setFileName; - void slotSave(); - void slotCopy(); - void setTime(int newTime); - QSpinBox *delaySpin; -private: int buttonPushed; + private slots: @@ -56,9 +51,6 @@ private slots: void savePixmap(); - void grabTimerDone(); - void nameScreenshot(bool); + void performGrab(); }; -class ScreenshotApplet : public QWidget -{ - Q_OBJECT +class ScreenshotApplet : public QWidget { public: @@ -66,13 +58,9 @@ public: ~ScreenshotApplet(); - ScreenshotControl *vc; -public slots: -private: + +protected: void mousePressEvent( QMouseEvent * ); void paintEvent( QPaintEvent* ); - + private: - QPixmap snapshotPixmap; -private slots: - - + QPixmap m_icon; }; |