author | zecke <zecke> | 2003-10-07 12:56:18 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-10-07 12:56:18 (UTC) |
commit | 6f807f937764d0b80d38cd5e29983ad4ec2ae3c8 (patch) (unidiff) | |
tree | a1fc0bf579e5dfa0b07813110e998d4ea97d5c78 /libopie/big-screen/example/osplitter_mail.h | |
parent | 898d453b417e561cea25f6b7578814d31cec6e97 (diff) | |
download | opie-6f807f937764d0b80d38cd5e29983ad4ec2ae3c8.zip opie-6f807f937764d0b80d38cd5e29983ad4ec2ae3c8.tar.gz opie-6f807f937764d0b80d38cd5e29983ad4ec2ae3c8.tar.bz2 |
Just a small example on usage of an Event Filter...
I needed that for debugging but it looks useful as an example
Diffstat (limited to 'libopie/big-screen/example/osplitter_mail.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie/big-screen/example/osplitter_mail.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopie/big-screen/example/osplitter_mail.h b/libopie/big-screen/example/osplitter_mail.h index d76f264..b7e7efe 100644 --- a/libopie/big-screen/example/osplitter_mail.h +++ b/libopie/big-screen/example/osplitter_mail.h | |||
@@ -22,12 +22,13 @@ class ListViews : public QWidget { | |||
22 | Q_OBJECT | 22 | Q_OBJECT |
23 | public: | 23 | public: |
24 | static QString appName() { return QString::fromLatin1("osplitter-mail"); } | 24 | static QString appName() { return QString::fromLatin1("osplitter-mail"); } |
25 | ListViews( QWidget* parent, const char * name, WFlags fl ); | 25 | ListViews( QWidget* parent, const char * name, WFlags fl ); |
26 | ~ListViews(); | 26 | ~ListViews(); |
27 | 27 | ||
28 | bool eventFilter( QObject* , QEvent* ); | ||
28 | private: | 29 | private: |
29 | void initFolders(); | 30 | void initFolders(); |
30 | void initFolder( Folder *folder, unsigned int &count ); | 31 | void initFolder( Folder *folder, unsigned int &count ); |
31 | 32 | ||
32 | QListView *m_messages, *m_overview; | 33 | QListView *m_messages, *m_overview; |
33 | QLabel *m_message, *m_attach; | 34 | QLabel *m_message, *m_attach; |