src/gui/util/qsystemtrayicon_x11.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
equal deleted inserted replaced
6:dee5afe5301f 8:3f74d0d4af4c
   306 {
   306 {
   307     if (ev->button() == Qt::LeftButton)
   307     if (ev->button() == Qt::LeftButton)
   308         emit q->activated(QSystemTrayIcon::DoubleClick);
   308         emit q->activated(QSystemTrayIcon::DoubleClick);
   309 }
   309 }
   310 
   310 
       
   311 #ifndef QT_NO_WHEELEVENT
   311 void QSystemTrayIconSys::wheelEvent(QWheelEvent *e)
   312 void QSystemTrayIconSys::wheelEvent(QWheelEvent *e)
   312 {
   313 {
   313     QApplication::sendEvent(q, e);
   314     QApplication::sendEvent(q, e);
   314 }
   315 }
       
   316 #endif
   315 
   317 
   316 bool QSystemTrayIconSys::event(QEvent *e)
   318 bool QSystemTrayIconSys::event(QEvent *e)
   317 {
   319 {
   318     if (e->type() == QEvent::ToolTip) {
   320     if (e->type() == QEvent::ToolTip) {
   319         return QApplication::sendEvent(q, e);
   321         return QApplication::sendEvent(q, e);