Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qfilesystemwatcher_win.cpp File Reference

(afe66971fcce0bf6d5fc842871b30811cb9487a9)

#include "qfilesystemwatcher.h"
#include "qfilesystemwatcher_win_p.h"
#include <qdebug.h>
#include <qfileinfo.h>
#include <qstringlist.h>
#include <qset.h>
#include <qscopeguard.h>
#include <qdatetime.h>
#include <qdir.h>
#include <qtextstream.h>
#include <private/qlocking_p.h>
#include <qt_windows.h>
#include <qabstractnativeeventfilter.h>
#include <qcoreapplication.h>
#include <private/qeventdispatcher_win_p.h>
#include <private/qthread_p.h>
#include <dbt.h>
#include <algorithm>
#include <vector>
#include "qfilesystemwatcher_win.moc"
#include "moc_qfilesystemwatcher_win_p.cpp"
Include dependency graph for qfilesystemwatcher_win.cpp:

Go to the source code of this file.

Classes

class  QWindowsRemovableDriveListener
struct  QWindowsRemovableDriveListener::RemovableDriveEntry

Macros

#define DEBUG   if (false) qDebug

Functions

static Qt::HANDLE createChangeNotification (const QString &path, uint flags)
static void stopDeviceNotification (QWindowsRemovableDriveListener::RemovableDriveEntry &e)
template<class Iterator>
static Iterator findByHDevNotify (Iterator i1, Iterator i2, HDEVNOTIFY hdevnotify)
static QString pathFromEntry (const QWindowsRemovableDriveListener::RemovableDriveEntry &re)
static Q_DECL_COLD_FUNCTION QString msgFindNextFailed (const QWindowsFileSystemWatcherEngineThread::PathInfoHash &pathInfos)

Macro Definition Documentation

◆ DEBUG

#define DEBUG   if (false) qDebug

Definition at line 37 of file qfilesystemwatcher_win.cpp.

Function Documentation

◆ createChangeNotification()

Qt::HANDLE createChangeNotification ( const QString & path,
uint flags )
static

Definition at line 40 of file qfilesystemwatcher_win.cpp.

◆ findByHDevNotify()

template<class Iterator>
Iterator findByHDevNotify ( Iterator i1,
Iterator i2,
HDEVNOTIFY hdevnotify )
inlinestatic

Definition at line 108 of file qfilesystemwatcher_win.cpp.

◆ msgFindNextFailed()

Definition at line 590 of file qfilesystemwatcher_win.cpp.

◆ pathFromEntry()

Definition at line 119 of file qfilesystemwatcher_win.cpp.

◆ stopDeviceNotification()

void stopDeviceNotification ( QWindowsRemovableDriveListener::RemovableDriveEntry & e)
static

Definition at line 101 of file qfilesystemwatcher_win.cpp.