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 @@ #include <qwidget.h> #include <qpixmap.h> +#include <qstringlist.h> class ClipboardApplet : public QWidget @@ -28,17 +29,22 @@ class ClipboardApplet : public QWidget Q_OBJECT public: - ClipboardApplet( QWidget *parent = 0, const char *name=0 ); - ~ClipboardApplet(); + ClipboardApplet ( QWidget *parent = 0, const char *name=0 ); + ~ClipboardApplet ( ); protected: - void mousePressEvent( QMouseEvent *); - void paintEvent( QPaintEvent* ); + void mousePressEvent ( QMouseEvent *); + void paintEvent ( QPaintEvent* ); private slots: - void action(int); + void action ( int ); + void newData ( ); private: - QPopupMenu* menu; - QPixmap clipboardPixmap; + QPopupMenu * m_menu; + QStringList m_history; + bool m_dirty; + QString m_lasttext; + + QPixmap m_clipboardPixmap; }; |