6#include <QtGui/private/qdnd_p.h>
7#include <QtGui/QKeyEvent>
8#include <QtGui/QGuiApplication>
9#include <QtCore/QEventLoop>
14# include <QtCore/QDebug>
18 : m_accepted(accepted)
19 , m_accepted_action(acceptedAction)
30 return m_accepted_action;
35 , m_answer_rect(answerRect)
78 qDebug() <<
"QDragManager::defaultAction(Qt::DropActions possibleActions)\nkeyboard modifiers : " <<
modifiers;
104 qDebug() <<
"possible actions : " << possibleActions;
108 if (!(possibleActions & default_action)) {
120 qDebug() <<
"default action : " << default_action;
123 return default_action;
147 if (
d->cursor_drop_action != action) {
148 d->cursor_drop_action = action;
173 return *qt_drag_default_pixmap();
QPointer< QDrag > object() const
static QDragManager * self()
void actionChanged(Qt::DropAction action)
This signal is emitted when the action associated with the drag changes.
Qt::DropAction defaultAction() const
Returns the default proposed drop action for this drag operation.
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
\inmodule QtCore\reentrant
EGLImageKHR int int EGLuint64KHR * modifiers
Combined button and popup list for selecting options.
#define Q_GLOBAL_STATIC_WITH_ARGS(TYPE, NAME, ARGS)
#define Q_UNIMPLEMENTED()