Diffstat (limited to 'core/applets/clipboardapplet/clipboard.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/clipboardapplet/clipboard.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/core/applets/clipboardapplet/clipboard.h b/core/applets/clipboardapplet/clipboard.h index 9dd59ed..84743d9 100644 --- a/core/applets/clipboardapplet/clipboard.h +++ b/core/applets/clipboardapplet/clipboard.h | |||
@@ -23,4 +23,5 @@ | |||
23 | #include <qwidget.h> | 23 | #include <qwidget.h> |
24 | #include <qpixmap.h> | 24 | #include <qpixmap.h> |
25 | #include <qstringlist.h> | ||
25 | 26 | ||
26 | class ClipboardApplet : public QWidget | 27 | class ClipboardApplet : public QWidget |
@@ -28,17 +29,22 @@ class ClipboardApplet : public QWidget | |||
28 | Q_OBJECT | 29 | Q_OBJECT |
29 | public: | 30 | public: |
30 | ClipboardApplet( QWidget *parent = 0, const char *name=0 ); | 31 | ClipboardApplet ( QWidget *parent = 0, const char *name=0 ); |
31 | ~ClipboardApplet(); | 32 | ~ClipboardApplet ( ); |
32 | 33 | ||
33 | protected: | 34 | protected: |
34 | void mousePressEvent( QMouseEvent *); | 35 | void mousePressEvent ( QMouseEvent *); |
35 | void paintEvent( QPaintEvent* ); | 36 | void paintEvent ( QPaintEvent* ); |
36 | 37 | ||
37 | private slots: | 38 | private slots: |
38 | void action(int); | 39 | void action ( int ); |
40 | void newData ( ); | ||
39 | 41 | ||
40 | private: | 42 | private: |
41 | QPopupMenu* menu; | 43 | QPopupMenu * m_menu; |
42 | QPixmap clipboardPixmap; | 44 | QStringList m_history; |
45 | bool m_dirty; | ||
46 | QString m_lasttext; | ||
47 | |||
48 | QPixmap m_clipboardPixmap; | ||
43 | }; | 49 | }; |
44 | 50 | ||