Ignore:
Timestamp:
Jan 12, 2010, 12:00:10 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: DnD: Implemented support for painting in widgets during drag and draw.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qdnd_p.h

    r438 r447  
    6363#ifdef Q_WS_MAC
    6464# include "private/qt_mac_p.h"
     65#endif
     66
     67#if defined(Q_WS_PM)
     68#include "qt_os2.h"
    6569#endif
    6670
     
    205209    LPDATAOBJECT currentDataObject;
    206210#elif defined(Q_WS_PM)
    207     friend class QPMDragData;
     211    friend class QDragManager;
    208212    QPMDragData *d;
    209213#endif
     
    267271#endif
    268272
     273#ifdef Q_WS_PM
     274    void init_sys();
     275    void uninit_sys();
     276    void sendDropEvent(QWidget *receiver, QEvent *event);
     277    MRESULT dispatchDragAndDrop(QWidget *widget, const QMSG &qmsg);
     278    bool isInDrag() const { return inDrag; }
     279#endif
     280
    269281private:
    270282    QPixmap *pm_cursor;
     
    272284#ifdef Q_WS_QWS
    273285    Qt::DropAction currentActionForOverrideCursor;
     286#endif
     287#ifdef Q_WS_PM
     288    bool inDrag;
    274289#endif
    275290
Note: See TracChangeset for help on using the changeset viewer.