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
QWindowsNativeFileDialogEventHandler Class Reference

Listens to IFileDialog events and forwards them to QWindowsNativeFileDialogBase. More...

Inheritance diagram for QWindowsNativeFileDialogEventHandler:
Collaboration diagram for QWindowsNativeFileDialogEventHandler:

Public Member Functions

IFACEMETHODIMP OnFileOk (IFileDialog *) override
IFACEMETHODIMP OnFolderChange (IFileDialog *) override
IFACEMETHODIMP OnFolderChanging (IFileDialog *, IShellItem *) override
IFACEMETHODIMP OnSelectionChange (IFileDialog *) override
IFACEMETHODIMP OnShareViolation (IFileDialog *, IShellItem *, FDE_SHAREVIOLATION_RESPONSE *) override
IFACEMETHODIMP OnTypeChange (IFileDialog *) override
IFACEMETHODIMP OnOverwrite (IFileDialog *, IShellItem *, FDE_OVERWRITE_RESPONSE *) override
 QWindowsNativeFileDialogEventHandler (QWindowsNativeFileDialogBase *nativeFileDialog)
IFACEMETHODIMP OnFileOk (IFileDialog *) override
IFACEMETHODIMP OnFolderChange (IFileDialog *) override
IFACEMETHODIMP OnFolderChanging (IFileDialog *, IShellItem *) override
IFACEMETHODIMP OnSelectionChange (IFileDialog *) override
IFACEMETHODIMP OnShareViolation (IFileDialog *, IShellItem *, FDE_SHAREVIOLATION_RESPONSE *) override
IFACEMETHODIMP OnTypeChange (IFileDialog *) override
IFACEMETHODIMP OnOverwrite (IFileDialog *, IShellItem *, FDE_OVERWRITE_RESPONSE *) override
 QWindowsNativeFileDialogEventHandler (QWindowsNativeFileDialogBase *nativeFileDialog)

Static Public Member Functions

static IFileDialogEvents * create (QWindowsNativeFileDialogBase *nativeFileDialog)
static IFileDialogEvents * create (QWindowsNativeFileDialogBase *nativeFileDialog)

Detailed Description

Listens to IFileDialog events and forwards them to QWindowsNativeFileDialogBase.

Events like 'folder change' that have an equivalent signal in QFileDialog are forwarded.

See also
QWindowsNativeFileDialogBase, QWindowsFileDialogHelper

Definition at line 426 of file qwindowsdialoghelpers.cpp.

Constructor & Destructor Documentation

◆ QWindowsNativeFileDialogEventHandler() [1/2]

QWindowsNativeFileDialogEventHandler::QWindowsNativeFileDialogEventHandler ( QWindowsNativeFileDialogBase * nativeFileDialog)
inline

Definition at line 448 of file qwindowsdialoghelpers.cpp.

Referenced by create().

Here is the caller graph for this function:

◆ QWindowsNativeFileDialogEventHandler() [2/2]

QWindowsNativeFileDialogEventHandler::QWindowsNativeFileDialogEventHandler ( QWindowsNativeFileDialogBase * nativeFileDialog)
inline

Definition at line 448 of file qwindowsdialoghelpers.cpp.

Member Function Documentation

◆ create() [1/2]

IFileDialogEvents * QWindowsNativeFileDialogEventHandler::create ( QWindowsNativeFileDialogBase * nativeFileDialog)
static

Definition at line 455 of file qwindowsdialoghelpers.cpp.

References QWindowsNativeFileDialogEventHandler().

Here is the call graph for this function:

◆ create() [2/2]

IFileDialogEvents * QWindowsNativeFileDialogEventHandler::create ( QWindowsNativeFileDialogBase * nativeFileDialog)
static

◆ OnFileOk() [1/2]

HRESULT QWindowsNativeFileDialogEventHandler::OnFileOk ( IFileDialog * )
override

Definition at line 1228 of file qwindowsdialoghelpers.cpp.

◆ OnFileOk() [2/2]

IFACEMETHODIMP QWindowsNativeFileDialogEventHandler::OnFileOk ( IFileDialog * )
override

◆ OnFolderChange() [1/2]

IFACEMETHODIMP QWindowsNativeFileDialogEventHandler::OnFolderChange ( IFileDialog * )
inlineoverride

Definition at line 434 of file qwindowsdialoghelpers.cpp.

◆ OnFolderChange() [2/2]

IFACEMETHODIMP QWindowsNativeFileDialogEventHandler::OnFolderChange ( IFileDialog * )
inlineoverride

Definition at line 434 of file qwindowsdialoghelpers.cpp.

◆ OnFolderChanging() [1/2]

HRESULT QWindowsNativeFileDialogEventHandler::OnFolderChanging ( IFileDialog * ,
IShellItem * item )
override

Definition at line 1210 of file qwindowsdialoghelpers.cpp.

◆ OnFolderChanging() [2/2]

IFACEMETHODIMP QWindowsNativeFileDialogEventHandler::OnFolderChanging ( IFileDialog * ,
IShellItem *  )
override

◆ OnOverwrite() [1/2]

IFACEMETHODIMP QWindowsNativeFileDialogEventHandler::OnOverwrite ( IFileDialog * ,
IShellItem * ,
FDE_OVERWRITE_RESPONSE *  )
inlineoverride

Definition at line 443 of file qwindowsdialoghelpers.cpp.

◆ OnOverwrite() [2/2]

IFACEMETHODIMP QWindowsNativeFileDialogEventHandler::OnOverwrite ( IFileDialog * ,
IShellItem * ,
FDE_OVERWRITE_RESPONSE *  )
inlineoverride

Definition at line 443 of file qwindowsdialoghelpers.cpp.

◆ OnSelectionChange() [1/2]

HRESULT QWindowsNativeFileDialogEventHandler::OnSelectionChange ( IFileDialog * )
override

Definition at line 1216 of file qwindowsdialoghelpers.cpp.

References QWindowsNativeFileDialogBase::onSelectionChange().

Here is the call graph for this function:

◆ OnSelectionChange() [2/2]

IFACEMETHODIMP QWindowsNativeFileDialogEventHandler::OnSelectionChange ( IFileDialog * )
override

◆ OnShareViolation() [1/2]

IFACEMETHODIMP QWindowsNativeFileDialogEventHandler::OnShareViolation ( IFileDialog * ,
IShellItem * ,
FDE_SHAREVIOLATION_RESPONSE *  )
inlineoverride

Definition at line 437 of file qwindowsdialoghelpers.cpp.

◆ OnShareViolation() [2/2]

IFACEMETHODIMP QWindowsNativeFileDialogEventHandler::OnShareViolation ( IFileDialog * ,
IShellItem * ,
FDE_SHAREVIOLATION_RESPONSE *  )
inlineoverride

Definition at line 437 of file qwindowsdialoghelpers.cpp.

◆ OnTypeChange() [1/2]

HRESULT QWindowsNativeFileDialogEventHandler::OnTypeChange ( IFileDialog * )
override

Definition at line 1222 of file qwindowsdialoghelpers.cpp.

References QWindowsNativeFileDialogBase::onTypeChange().

Here is the call graph for this function:

◆ OnTypeChange() [2/2]

IFACEMETHODIMP QWindowsNativeFileDialogEventHandler::OnTypeChange ( IFileDialog * )
override

The documentation for this class was generated from the following file: