Changeset 92 for trunk/src/gui/kernel/qwidget.cpp
- Timestamp:
- Jul 28, 2009, 11:08:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qwidget.cpp
r2 r92 1346 1346 if (isWindow() && isVisible() && internalWinId()) 1347 1347 hide(); 1348 #if defined(Q_WS_WIN) || defined(Q_WS_ X11)1348 #if defined(Q_WS_WIN) || defined(Q_WS_PM) || defined(Q_WS_X11) 1349 1349 else if (!internalWinId() && isVisible()) 1350 1350 qApp->d_func()->sendSyntheticEnterLeave(this); … … 6818 6818 // hidden. 6819 6819 if (wasVisible) { 6820 #if defined(Q_WS_WIN) || defined(Q_WS_ X11)6820 #if defined(Q_WS_WIN) || defined(Q_WS_PM) || defined(Q_WS_X11) 6821 6821 qApp->d_func()->sendSyntheticEnterLeave(q); 6822 6822 #endif … … 6947 6947 d->show_helper(); 6948 6948 6949 #if defined(Q_WS_WIN) || defined(Q_WS_ X11)6949 #if defined(Q_WS_WIN) || defined(Q_WS_PM) || defined(Q_WS_X11) 6950 6950 qApp->d_func()->sendSyntheticEnterLeave(this); 6951 6951 #endif … … 7062 7062 } 7063 7063 } 7064 #if defined(Q_WS_WIN) || defined(Q_WS_ X11)7064 #if defined(Q_WS_WIN) || defined(Q_WS_PM) || defined(Q_WS_X11) 7065 7065 qApp->d_func()->sendSyntheticEnterLeave(widget); 7066 7066 #endif … … 8645 8645 */ 8646 8646 bool QWidget::winEvent(MSG *message, long *result) 8647 { 8648 Q_UNUSED(message); 8649 Q_UNUSED(result); 8650 return false; 8651 } 8652 8653 #endif 8654 #if defined(Q_WS_PM) 8655 8656 /*! 8657 This special event handler can be reimplemented in a subclass to 8658 receive native OS/2 Presentation Manager events which are passed in 8659 the \a message parameter. 8660 8661 In your reimplementation of this function, if you want to stop the 8662 event being handled by Qt, return true and set \a result to the value 8663 that the window procedure should return. If you return false, this 8664 native event is passed back to Qt, which translates the event into 8665 a Qt event and sends it to the widget. 8666 8667 \warning This function is not portable. 8668 8669 \sa QApplication::pmEventFilter() 8670 */ 8671 bool QWidget::pmEvent(QMSG *message, MRESULT *result) 8647 8672 { 8648 8673 Q_UNUSED(message);
Note:
See TracChangeset
for help on using the changeset viewer.