Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickdeliveryagent.cpp File Reference

(0d1422b738fd164cfb075752ec69807b15c1bf49)

#include <QtCore/qdebug.h>
#include <QtGui/private/qevent_p.h>
#include <QtGui/private/qeventpoint_p.h>
#include <QtGui/private/qguiapplication_p.h>
#include <QtGui/qpa/qplatformtheme.h>
#include <QtQml/private/qabstractanimationjob_p.h>
#include <QtQuick/private/qquickdeliveryagent_p_p.h>
#include <QtQuick/private/qquickhoverhandler_p.h>
#include <QtQuick/private/qquickpointerhandler_p_p.h>
#include <QtQuick/private/qquickitem_p.h>
#include <QtQuick/private/qquickprofiler_p.h>
#include <QtQuick/private/qquickrendercontrol_p.h>
#include <QtQuick/private/qquickwindow_p.h>
#include <QtCore/qpointer.h>
#include <memory>
#include "moc_qquickdeliveryagent_p.cpp"
+ Include dependency graph for qquickdeliveryagent.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE Q_GUI_EXPORT bool qt_sendShortcutOverrideEvent (QObject *o, ulong timestamp, int k, Qt::KeyboardModifiers mods, const QString &text=QString(), bool autorep=false, ushort count=1)
 
static bool allowSyntheticRightClick ()
 
static bool windowHasFocus (QQuickWindow *win)
 
static QQuickItemfindFurthestFocusScopeAncestor (QQuickItem *item)
 
QDebug operator<< (QDebug debug, const QQuickDeliveryAgent *da)
 

Function Documentation

◆ allowSyntheticRightClick()

static bool allowSyntheticRightClick ( )
static

Definition at line 46 of file qquickdeliveryagent.cpp.

References ok, and qEnvironmentVariableIntValue().

Referenced by QQuickDeliveryAgentPrivate::handleMouseEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ findFurthestFocusScopeAncestor()

static QQuickItem * findFurthestFocusScopeAncestor ( QQuickItem * item)
static

Definition at line 318 of file qquickdeliveryagent.cpp.

References findFurthestFocusScopeAncestor(), QQuickItem::flags(), item, QQuickItem::ItemIsFocusScope, and QGraphicsItem::parentItem().

Referenced by findFurthestFocusScopeAncestor(), and QQuickDeliveryAgentPrivate::setFocusInScope().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator<<()

QDebug operator<< ( QDebug debug,
const QQuickDeliveryAgent * da )

Definition at line 2815 of file qquickdeliveryagent.cpp.

References debug, and Q_LIKELY.

◆ qt_sendShortcutOverrideEvent()

QT_BEGIN_NAMESPACE Q_GUI_EXPORT bool qt_sendShortcutOverrideEvent ( QObject * o,
ulong timestamp,
int k,
Qt::KeyboardModifiers mods,
const QString & text = QString(),
bool autorep = false,
ushort count = 1 )
extern

Definition at line 1176 of file qwindowsysteminterface.cpp.

References QGuiApplicationPrivate::instance(), QGuiApplicationPrivate::modifier_buttons, QKeySequence::NoMatch, o, Q_UNUSED, QCoreApplication::sendEvent(), QEvent::ShortcutOverride, and text.

Referenced by QQuickDeliveryAgentPrivate::deliverKeyEvent(), QApplication::notify(), and QTest::sendKeyEvent().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ windowHasFocus()

static bool windowHasFocus ( QQuickWindow * win)
inlinestatic

Definition at line 312 of file qquickdeliveryagent.cpp.

References QGuiApplication::focusWindow(), QQuickRenderControlPrivate::isRenderWindowFor(), and win.

Referenced by QQuickDeliveryAgentPrivate::setFocusInScope().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: