Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qabstractnativeeventfilter.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:header-decls-only
4
5
#
ifndef
QABSTRACTNATIVEEVENTFILTER_H
6
#
define
QABSTRACTNATIVEEVENTFILTER_H
7
8
#
include
<
QtCore
/
qnamespace
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
#
if
QT_VERSION
<
QT_VERSION_CHECK
(
7
,
0
,
0
)
13
class
QAbstractNativeEventFilterPrivate;
14
#
endif
15
16
class
Q_CORE_EXPORT
QAbstractNativeEventFilter
17
{
18
public
:
19
QAbstractNativeEventFilter();
20
virtual
~QAbstractNativeEventFilter();
21
22
virtual
bool
nativeEventFilter(
const
QByteArray &eventType,
void
*message, qintptr *result) = 0;
23
24
private
:
25
Q_DISABLE_COPY(QAbstractNativeEventFilter)
26
#
if
QT_VERSION
<
QT_VERSION_CHECK
(
7
,
0
,
0
)
27
Q_DECL_UNUSED_MEMBER
28
QAbstractNativeEventFilterPrivate *d =
nullptr
;
29
#
endif
30
};
31
32
QT_END_NAMESPACE
33
34
#
endif
/* QABSTRACTNATIVEEVENTFILTER_H */
QAbstractNativeEventFilter
\inmodule QtCore
Definition
qabstractnativeeventfilter.h:17
QFileSystemWatcherPathKey
Definition
qfilesystemwatcher_win_p.h:98
QFileSystemWatcherPathKey::QFileSystemWatcherPathKey
QFileSystemWatcherPathKey(const QFileSystemWatcherPathKey &other)
Definition
qfilesystemwatcher_win_p.h:102
QFileSystemWatcherPathKey::operator==
bool operator==(const QFileSystemWatcherPathKey &other) const
Definition
qfilesystemwatcher_win_p.h:103
QFileSystemWatcherPathKey::QFileSystemWatcherPathKey
QFileSystemWatcherPathKey(const QString &other)
Definition
qfilesystemwatcher_win_p.h:101
QFileSystemWatcherPathKey::QFileSystemWatcherPathKey
QFileSystemWatcherPathKey()
Definition
qfilesystemwatcher_win_p.h:100
QWindowsFileSystemWatcherEngineThread
Definition
qfilesystemwatcher_win_p.h:114
QWindowsFileSystemWatcherEngineThread::stop
void stop()
Definition
qfilesystemwatcher_win.cpp:697
QWindowsFileSystemWatcherEngineThread::wakeup
void wakeup()
Definition
qfilesystemwatcher_win.cpp:703
QWindowsFileSystemWatcherEngineThread::~QWindowsFileSystemWatcherEngineThread
~QWindowsFileSystemWatcherEngineThread()
Definition
qfilesystemwatcher_win.cpp:577
QWindowsFileSystemWatcherEngineThread::handleForDir
HandleForDirHash handleForDir
Definition
qfilesystemwatcher_win_p.h:131
QWindowsFileSystemWatcherEngineThread::directoryChanged
void directoryChanged(const QString &path, bool removed)
QWindowsFileSystemWatcherEngineThread::handles
QList< Qt::HANDLE > handles
Definition
qfilesystemwatcher_win_p.h:128
QWindowsFileSystemWatcherEngineThread::msg
int msg
Definition
qfilesystemwatcher_win_p.h:129
QWindowsFileSystemWatcherEngineThread::pathInfoForHandle
QHash< Qt::HANDLE, PathInfoHash > pathInfoForHandle
Definition
qfilesystemwatcher_win_p.h:133
QWindowsFileSystemWatcherEngineThread::QWindowsFileSystemWatcherEngineThread
QWindowsFileSystemWatcherEngineThread()
Definition
qfilesystemwatcher_win.cpp:567
QWindowsFileSystemWatcherEngineThread::run
void run() override
Definition
qfilesystemwatcher_win.cpp:600
QWindowsFileSystemWatcherEngineThread::PathInfoHash
QHash< QFileSystemWatcherPathKey, QWindowsFileSystemWatcherEngine::PathInfo > PathInfoHash
Definition
qfilesystemwatcher_win_p.h:119
QWindowsFileSystemWatcherEngineThread::mutex
QMutex mutex
Definition
qfilesystemwatcher_win_p.h:127
QWindowsFileSystemWatcherEngine::Handle
Definition
qfilesystemwatcher_win_p.h:49
QWindowsFileSystemWatcherEngine::Handle::handle
Qt::HANDLE handle
Definition
qfilesystemwatcher_win_p.h:51
QWindowsFileSystemWatcherEngine::Handle::Handle
Handle()
Definition
qfilesystemwatcher_win.cpp:293
QWindowsFileSystemWatcherEngine::Handle::flags
uint flags
Definition
qfilesystemwatcher_win_p.h:52
QWindowsFileSystemWatcherEngine::PathInfo
Definition
qfilesystemwatcher_win_p.h:57
QWindowsFileSystemWatcherEngine::PathInfo::isDir
bool isDir
Definition
qfilesystemwatcher_win_p.h:61
QWindowsFileSystemWatcherEngine::PathInfo::groupId
uint groupId
Definition
qfilesystemwatcher_win_p.h:65
QWindowsFileSystemWatcherEngine::PathInfo::lastModified
QDateTime lastModified
Definition
qfilesystemwatcher_win_p.h:67
QWindowsFileSystemWatcherEngine::PathInfo::operator!=
bool operator!=(const QFileInfo &fileInfo) const
Definition
qfilesystemwatcher_win_p.h:78
QWindowsFileSystemWatcherEngine::PathInfo::permissions
QFile::Permissions permissions
Definition
qfilesystemwatcher_win_p.h:66
QWindowsFileSystemWatcherEngine::PathInfo::ownerId
uint ownerId
Definition
qfilesystemwatcher_win_p.h:64
QWindowsFileSystemWatcherEngine::PathInfo::operator=
PathInfo & operator=(const QFileInfo &fileInfo)
Definition
qfilesystemwatcher_win_p.h:69
QWindowsFileSystemWatcherEngine::PathInfo::absolutePath
QString absolutePath
Definition
qfilesystemwatcher_win_p.h:59
QWindowsFileSystemWatcherEngine::PathInfo::path
QString path
Definition
qfilesystemwatcher_win_p.h:60
QWindowsFileSystemWatcherEngine
Definition
qfilesystemwatcher_win_p.h:39
QWindowsFileSystemWatcherEngine::addPaths
QStringList addPaths(const QStringList &paths, QStringList *files, QStringList *directories) override
Definition
qfilesystemwatcher_win.cpp:328
QWindowsFileSystemWatcherEngine::~QWindowsFileSystemWatcherEngine
~QWindowsFileSystemWatcherEngine()
Definition
qfilesystemwatcher_win.cpp:319
QWindowsFileSystemWatcherEngine::driveLockForRemovalFailed
void driveLockForRemovalFailed(const QString &)
QWindowsFileSystemWatcherEngine::removePaths
QStringList removePaths(const QStringList &paths, QStringList *files, QStringList *directories) override
Definition
qfilesystemwatcher_win.cpp:486
QWindowsFileSystemWatcherEngine::driveRemoved
void driveRemoved(const QString &)
QWindowsRemovableDriveListener
Definition
qfilesystemwatcher_win.cpp:59
QWindowsRemovableDriveListener::addPath
void addPath(const QString &path)
Definition
qfilesystemwatcher_win.cpp:242
QWindowsRemovableDriveListener::driveLockForRemovalFailed
void driveLockForRemovalFailed(const QString &)
QWindowsRemovableDriveListener::driveLockForRemoval
void driveLockForRemoval(const QString &)
QWindowsRemovableDriveListener::driveRemoved
void driveRemoved(const QString &)
QWindowsRemovableDriveListener::~QWindowsRemovableDriveListener
~QWindowsRemovableDriveListener()
Definition
qfilesystemwatcher_win.cpp:114
QWindowsRemovableDriveListener::driveRemoved
void driveRemoved()
QWindowsRemovableDriveListener::nativeEventFilter
bool nativeEventFilter(const QByteArray &, void *messageIn, qintptr *) override
This method is called for every native event.
Definition
qfilesystemwatcher_win.cpp:224
QWindowsRemovableDriveListener::QWindowsRemovableDriveListener
QWindowsRemovableDriveListener(QObject *parent=nullptr)
Definition
qfilesystemwatcher_win.cpp:95
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
DEBUG
#define DEBUG
Definition
qfilesystemwatcher_fsevents.mm:24
createChangeNotification
static Qt::HANDLE createChangeNotification(const QString &path, uint flags)
Definition
qfilesystemwatcher_win.cpp:40
findByHDevNotify
static Iterator findByHDevNotify(Iterator i1, Iterator i2, HDEVNOTIFY hdevnotify)
Definition
qfilesystemwatcher_win.cpp:108
stopDeviceNotification
static void stopDeviceNotification(QWindowsRemovableDriveListener::RemovableDriveEntry &e)
Definition
qfilesystemwatcher_win.cpp:101
pathFromEntry
static QString pathFromEntry(const QWindowsRemovableDriveListener::RemovableDriveEntry &re)
Definition
qfilesystemwatcher_win.cpp:119
qHash
size_t qHash(const QFileSystemWatcherPathKey &key, size_t seed=0)
Definition
qfilesystemwatcher_win_p.h:108
Q_DECLARE_TYPEINFO
Q_DECLARE_TYPEINFO(QFileSystemWatcherPathKey, Q_RELOCATABLE_TYPE)
QWindowsRemovableDriveListener::RemovableDriveEntry
Definition
qfilesystemwatcher_win.cpp:66
QWindowsRemovableDriveListener::RemovableDriveEntry::drive
wchar_t drive
Definition
qfilesystemwatcher_win.cpp:68
QWindowsRemovableDriveListener::RemovableDriveEntry::devNotify
HDEVNOTIFY devNotify
Definition
qfilesystemwatcher_win.cpp:67
qtbase
src
corelib
kernel
qabstractnativeeventfilter.h
Generated on
for Qt by
1.18.0