src/gui/kernel/qcursor_win.cpp
changeset 30 5dc02b23752f
parent 18 2f34d5167611
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    45 
    45 
    46 #ifndef QT_NO_CURSOR
    46 #ifndef QT_NO_CURSOR
    47 
    47 
    48 #include <qimage.h>
    48 #include <qimage.h>
    49 #include <qt_windows.h>
    49 #include <qt_windows.h>
       
    50 #include <private/qapplication_p.h>
    50 
    51 
    51 QT_BEGIN_NAMESPACE
    52 QT_BEGIN_NAMESPACE
    52 
    53 
    53 /*****************************************************************************
    54 /*****************************************************************************
    54   Internal QCursorData class
    55   Internal QCursorData class
   468         Q_UNUSED(n);
   469         Q_UNUSED(n);
   469         Q_UNUSED(h);
   470         Q_UNUSED(h);
   470 #endif
   471 #endif
   471         return;
   472         return;
   472     }
   473     }
       
   474     case Qt::DragCopyCursor:
       
   475     case Qt::DragMoveCursor:
       
   476     case Qt::DragLinkCursor: {
       
   477         QPixmap pixmap = QApplicationPrivate::instance()->getPixmapCursor(cshape);
       
   478         hcurs = create32BitCursor(pixmap, hx, hy);
       
   479     }
   473     default:
   480     default:
   474         qWarning("QCursor::update: Invalid cursor shape %d", cshape);
   481         qWarning("QCursor::update: Invalid cursor shape %d", cshape);
   475         return;
   482         return;
   476     }
   483     }
   477 #ifdef Q_WS_WINCE
   484 #ifdef Q_WS_WINCE