- Timestamp:
- Jul 27, 2009, 10:25:33 PM (16 years ago)
- Location:
- trunk/src
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/kernel/qeventdispatcher_pm.cpp
r85 r89 56 56 #include "qabstracteventdispatcher_p.h" 57 57 #include "qcoreapplication_p.h" 58 58 59 59 60 #include <private/qthread_p.h> 60 61 #include <private/qmutexpool_p.h> 61 62 #include <Qt/qwindowdefs_pm.h> // for QPMObjectWindow declaration63 62 64 63 #include <sys/socket.h> … … 72 71 /***************************************************************************** 73 72 Auxiliary object window class for dedicated message processing. 74 Declared in q windowdefs_pm.h73 Declared in q.h 75 74 *****************************************************************************/ 76 75 77 76 /*! 78 \class QPMObjectWindow qwindowdefs.h77 \class QPMObjectWindow 79 78 80 79 The QPMObjectWindow class is an auxiliary class for dedicated message -
trunk/src/corelib/kernel/qeventdispatcher_pm_p.h
r84 r89 57 57 58 58 #include "QtCore/qabstracteventdispatcher.h" 59 #include "QtCore/qt_os2.h"60 59 61 60 QT_BEGIN_NAMESPACE -
trunk/src/gui/kernel/qwindowdefs.h
r2 r89 111 111 #endif // Q_WS_WIN 112 112 113 114 115 116 113 117 #if defined(Q_WS_X11) 114 118 -
trunk/src/gui/kernel/qwindowdefs_pm.h
r67 r89 55 55 QT_END_NAMESPACE 56 56 57 58 59 60 57 61 typedef HWND WId; 58 62 59 63 QT_BEGIN_NAMESPACE 60 61 class Q_CORE_EXPORT QPMObjectWindow62 {63 public:64 QPMObjectWindow(bool deferred = false);65 virtual ~QPMObjectWindow();66 67 bool create();68 bool destroy();69 HWND hwnd() const { return w; }70 71 MRESULT send(ULONG msg, MPARAM mp1, MPARAM mp2) const {72 return WinSendMsg(w, msg, mp1, mp2);73 }74 75 bool post(ULONG msg, MPARAM mp1, MPARAM mp2) const {76 return WinPostMsg(w, msg, mp1, mp2);77 }78 79 virtual MRESULT message(ULONG msg, MPARAM mp1, MPARAM mp2) = 0;80 81 private:82 static MRESULT EXPENTRY windowProc(HWND, ULONG, MPARAM, MPARAM);83 84 HWND w;85 };86 64 87 65 QT_END_NAMESPACE
Note:
See TracChangeset
for help on using the changeset viewer.