QT_BEGIN_NAMESPACE
+#ifndef QT_NO_ACCESSIBILITY
+
/* accessiblebridge plugin discovery stuff */
#ifndef QT_NO_LIBRARY
Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, bridgeloader,
qDeleteAll(*bridges());
}
+#endif // QT_NO_ACCESSIBILITY
+
QT_END_NAMESPACE
if (!QGuiApplicationPrivate::platform_theme)
QGuiApplicationPrivate::platform_theme = new QPlatformTheme;
+#ifndef QT_NO_PROPERTIES
// Set arguments as dynamic properties on the native interface as
// boolean 'foo' or strings: 'foo=bar'
if (!arguments.isEmpty()) {
nativeInterface->setProperty(name.constData(), value);
}
}
+#endif
+
fontSmoothingGamma = QGuiApplicationPrivate::platformIntegration()->styleHint(QPlatformIntegration::FontSmoothingGamma).toReal();
}
QCoreApplication::sendSpontaneousEvent(window, &exposeEvent);
}
+#ifndef QT_NO_DRAGANDDROP
+
QPlatformDragQtResponse QGuiApplicationPrivate::processDrag(QWindow *w, const QMimeData *dropData, const QPoint &p, Qt::DropActions supportedActions)
{
static QPointer<QWindow> currentDragWindow;
return response;
}
+#endif // QT_NO_DRAGANDDROP
+
#ifndef QT_NO_CLIPBOARD
/*!
Returns the object for interacting with the clipboard.
static void processFileOpenEvent(QWindowSystemInterfacePrivate::FileOpenEvent *e);
+#ifndef QT_NO_DRAGANDDROP
static QPlatformDragQtResponse processDrag(QWindow *w, const QMimeData *dropData, const QPoint &p, Qt::DropActions supportedActions);
static QPlatformDropQtResponse processDrop(QWindow *w, const QMimeData *dropData, const QPoint &p, Qt::DropActions supportedActions);
+#endif
static bool processNativeEvent(QWindow *window, const QByteArray &eventType, void *message, long *result);
QT_BEGIN_NAMESPACE
+#ifndef QT_NO_DRAGANDDROP
class QMimeData;
class QMouseEvent;
Q_DISABLE_COPY(QPlatformDrag)
};
+#endif // QT_NO_DRAGANDDROP
+
QT_END_NAMESPACE
QT_END_HEADER
QT_BEGIN_NAMESPACE
+#ifndef QT_NO_DRAGANDDROP
+
QPlatformDropQtResponse::QPlatformDropQtResponse(bool accepted, Qt::DropAction acceptedAction)
: m_accepted(accepted)
, m_accepted_action(acceptedAction)
return *qt_drag_default_pixmap();
}
+#endif // QT_NO_DRAGANDDROP
+
QT_END_NAMESPACE
return QWindowSystemInterfacePrivate::windowSystemEventsQueued();
}
+#ifndef QT_NO_DRAGANDDROP
QPlatformDragQtResponse QWindowSystemInterface::handleDrag(QWindow *w, const QMimeData *dropData, const QPoint &p, Qt::DropActions supportedActions)
{
return QGuiApplicationPrivate::processDrag(w, dropData, p,supportedActions);
{
return QGuiApplicationPrivate::processDrop(w, dropData, p,supportedActions);
}
+#endif // QT_NO_DRAGANDDROP
/*!
\fn static QWindowSystemInterface::handleNativeEvent(QWindow *window, const QByteArray &eventType, void *message, long *result)
static void handleExposeEvent(QWindow *tlw, const QRegion ®ion);
static void handleSynchronousExposeEvent(QWindow *tlw, const QRegion ®ion);
+#ifndef QT_NO_DRAGANDDROP
// Drag and drop. These events are sent immediately.
static QPlatformDragQtResponse handleDrag(QWindow *w, const QMimeData *dropData, const QPoint &p, Qt::DropActions supportedActions);
static QPlatformDropQtResponse handleDrop(QWindow *w, const QMimeData *dropData, const QPoint &p, Qt::DropActions supportedActions);
+#endif
static bool handleNativeEvent(QWindow *window, const QByteArray &eventType, void *message, long *result);
QT_BEGIN_NAMESPACE
+#ifndef QT_NO_DRAGANDDROP
+
/*!
\class QBasicDrag
\brief QBasicDrag is a base class for implementing platform drag and drop.
}
}
+#endif // QT_NO_DRAGANDDROP
+
QT_END_NAMESPACE
QT_BEGIN_HEADER
+#ifndef QT_NO_DRAGANDDROP
+
class QMouseEvent;
class QWindow;
class QEventLoop;
QWindow *m_current_window;
};
+#endif // QT_NO_DRAGANDDROP
+
QT_END_HEADER
QT_END_NAMESPACE