summaryrefslogtreecommitdiff
path: root/libopie/big-screen/example/osplitter_mail.cpp
Side-by-side diff
Diffstat (limited to 'libopie/big-screen/example/osplitter_mail.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libopie/big-screen/example/osplitter_mail.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/libopie/big-screen/example/osplitter_mail.cpp b/libopie/big-screen/example/osplitter_mail.cpp
index 91442c8..4eaf3a9 100644
--- a/libopie/big-screen/example/osplitter_mail.cpp
+++ b/libopie/big-screen/example/osplitter_mail.cpp
@@ -24,2 +24,3 @@ ListViews::ListViews( QWidget* p, const char* name, WFlags fl )
: QWidget( p, name, fl ) {
+ qApp->installEventFilter( this );
m_lstFolders.setAutoDelete( true );
@@ -70 +71,12 @@ ListViews::~ListViews() {
}
+
+
+bool ListViews::eventFilter( QObject* obj, QEvent* ev ) {
+ if (!obj->isWidgetType() )
+ return false;
+ if ( ev->type() == QEvent::MouseButtonRelease ) {
+ qWarning(" name %s, class %s", obj->name(), obj->className() );
+ }
+
+ return false;
+}