author | sandman <sandman> | 2002-07-28 00:44:43 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-07-28 00:44:43 (UTC) |
commit | 72081cbfef03a69ed6f9ca7826854b6cf10dc2fe (patch) (unidiff) | |
tree | 43e67bdc7cbb972f431b3912e2f068df3d2c97bf /core/applets/clipboardapplet/clipboard.h | |
parent | 4baf36396739502c5471950e29f18954cca4517b (diff) | |
download | opie-72081cbfef03a69ed6f9ca7826854b6cf10dc2fe.zip opie-72081cbfef03a69ed6f9ca7826854b6cf10dc2fe.tar.gz opie-72081cbfef03a69ed6f9ca7826854b6cf10dc2fe.tar.bz2 |
Workaround for a weird Qt/E bug, resulting in qpe hanging if clipboard
applet is loaded and qpe is terminated via shutdown applet.
Diffstat (limited to 'core/applets/clipboardapplet/clipboard.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/clipboardapplet/clipboard.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/applets/clipboardapplet/clipboard.h b/core/applets/clipboardapplet/clipboard.h index 84743d9..ec87d39 100644 --- a/core/applets/clipboardapplet/clipboard.h +++ b/core/applets/clipboardapplet/clipboard.h | |||
@@ -24,6 +24,8 @@ | |||
24 | #include <qpixmap.h> | 24 | #include <qpixmap.h> |
25 | #include <qstringlist.h> | 25 | #include <qstringlist.h> |
26 | 26 | ||
27 | class QTimer; | ||
28 | |||
27 | class ClipboardApplet : public QWidget | 29 | class ClipboardApplet : public QWidget |
28 | { | 30 | { |
29 | Q_OBJECT | 31 | Q_OBJECT |
@@ -38,12 +40,14 @@ protected: | |||
38 | private slots: | 40 | private slots: |
39 | void action ( int ); | 41 | void action ( int ); |
40 | void newData ( ); | 42 | void newData ( ); |
43 | void shutdown ( ); | ||
41 | 44 | ||
42 | private: | 45 | private: |
43 | QPopupMenu * m_menu; | 46 | QPopupMenu * m_menu; |
44 | QStringList m_history; | 47 | QStringList m_history; |
45 | bool m_dirty; | 48 | bool m_dirty; |
46 | QString m_lasttext; | 49 | QString m_lasttext; |
50 | QTimer * m_timer; | ||
47 | 51 | ||
48 | QPixmap m_clipboardPixmap; | 52 | QPixmap m_clipboardPixmap; |
49 | }; | 53 | }; |