Logo Search packages:      
Sourcecode: lastfm version File versions  Download package

void TrayIcon::mouseDoubleClickEvent ( QMouseEvent *  e  )  [protected, virtual]

This event handler can be reimplemented in a subclass to receive mouse double click events for the system tray entry.

Note that the system tray entry gets a mousePressEvent() and a mouseReleaseEvent() before the mouseDoubleClickEvent().

See also:
mousePressEvent(), mouseReleaseEvent(), mouseMoveEvent(), QMouseEvent

Definition at line 270 of file trayicon.cpp.

References doubleClicked().

Referenced by event().

{
        if ( e->button() == Qt::LeftButton )
                emit doubleClicked( e->globalPos() );
        e->accept();
}


Generated by  Doxygen 1.6.0   Back to index