equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
8 ** |
8 ** |
162 void paintEvent(QPaintEvent *pe); |
162 void paintEvent(QPaintEvent *pe); |
163 void resizeEvent(QResizeEvent *re); |
163 void resizeEvent(QResizeEvent *re); |
164 bool x11Event(XEvent *event); |
164 bool x11Event(XEvent *event); |
165 void mousePressEvent(QMouseEvent *event); |
165 void mousePressEvent(QMouseEvent *event); |
166 void mouseDoubleClickEvent(QMouseEvent *event); |
166 void mouseDoubleClickEvent(QMouseEvent *event); |
|
167 #ifndef QT_NO_WHEELEVENT |
167 void wheelEvent(QWheelEvent *event); |
168 void wheelEvent(QWheelEvent *event); |
|
169 #endif |
168 bool event(QEvent *e); |
170 bool event(QEvent *e); |
169 |
171 |
170 private: |
172 private: |
171 QPixmap background; |
173 QPixmap background; |
172 QSystemTrayIcon *q; |
174 QSystemTrayIcon *q; |