author | sandman <sandman> | 2002-06-26 00:43:45 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-26 00:43:45 (UTC) |
commit | d31131a054c7ab5d42034d040dae5b72a3338085 (patch) (side-by-side diff) | |
tree | 8e4796072b772450ee0f41a23dd570482363a65a /core/applets/clipboardapplet/clipboard.h | |
parent | b970aebbdfc7e6f811c9b75ee62ad9370f74ace0 (diff) | |
download | opie-d31131a054c7ab5d42034d040dae5b72a3338085.zip opie-d31131a054c7ab5d42034d040dae5b72a3338085.tar.gz opie-d31131a054c7ab5d42034d040dae5b72a3338085.tar.bz2 |
Added FIFO history entries for the last 5 cut/copy operations.
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 @@ -24,2 +24,3 @@ #include <qpixmap.h> +#include <qstringlist.h> @@ -29,15 +30,20 @@ class ClipboardApplet : public QWidget 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; }; |