equal
deleted
inserted
replaced
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); |