Changeset 580 for trunk/src/gui/kernel/qmime.h
- Timestamp:
- Feb 19, 2010, 12:29:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qmime.h
r561 r580 115 115 */ 116 116 117 QT_END_NAMESPACE 118 #include "qt_os2.h" 119 #if !defined(QT_NO_DRAGANDDROP) 120 # include "private/qpmobjectwindow_pm_p.h" 121 #endif 122 QT_BEGIN_NAMESPACE 117 QT_BEGIN_INCLUDE_NAMESPACE 118 119 #include "qwindowdefs_pm.h" 120 typedef LHANDLE HSTR; 121 typedef struct _DRAGINFO DRAGINFO; 122 typedef struct _DRAGITEM DRAGITEM; 123 124 QT_END_INCLUDE_NAMESPACE 123 125 124 126 class QPMDragData; … … 162 164 }; 163 165 164 class DefaultDragWorker : public DragWorker , public QPMObjectWindow166 class DefaultDragWorker : public DragWorker 165 167 { 166 168 private: … … 173 175 bool isExclusive() const; 174 176 ULONG itemCount() const; 175 HWND hwnd() const { return QPMObjectWindow::hwnd(); }177 HWND hwnd() const; 176 178 QByteArray composeFormatString(); 177 179 bool prepare(const char *drm, const char *drf, DRAGITEM *item, 178 180 ULONG itemIndex); 179 181 void defaultFileType(QString &type, QString &ext); 180 181 // QPMObjectWindow interface182 MRESULT message(ULONG msg, MPARAM mp1, MPARAM mp2);183 182 184 183 class Provider … … 224 223 }; 225 224 226 class DefaultDropWorker : public DropWorker , public QPMObjectWindow225 class DefaultDropWorker : public DropWorker 227 226 { 228 227 private: … … 238 237 QVariant retrieveData(const QString &mimeType, 239 238 QVariant::Type preferredType) const; 240 241 // QPMObjectWindow interface242 MRESULT message(ULONG msg, MPARAM mp1, MPARAM mp2);243 239 244 240 class Provider
Note:
See TracChangeset
for help on using the changeset viewer.