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

Wrapper for IShellItem. More...

Collaboration diagram for QWindowsShellItem:

Public Types

using IShellItems = std::vector<IShellItem *>
using IShellItems = std::vector<IShellItem *>

Public Member Functions

 QWindowsShellItem (IShellItem *item)
SFGAOF attributes () const
QString normalDisplay () const
QString urlString () const
QString fileSysPath () const
QString desktopAbsoluteParsing () const
QString path () const
QUrl url () const
bool isFileSystem () const
bool isDir () const
bool canStream () const
bool copyData (QIODevice *out, QString *errorMessage)
void format (QDebug &d) const
 QWindowsShellItem (IShellItem *item)
SFGAOF attributes () const
QString normalDisplay () const
QString urlString () const
QString fileSysPath () const
QString desktopAbsoluteParsing () const
QString path () const
QUrl url () const
bool isFileSystem () const
bool isDir () const
bool canStream () const
bool copyData (QIODevice *out, QString *errorMessage)
void format (QDebug &d) const

Static Public Member Functions

static IShellItems itemsFromItemArray (IShellItemArray *items)
static IShellItems itemsFromItemArray (IShellItemArray *items)

Detailed Description

Wrapper for IShellItem.

See also
QWindowsNativeFileDialogBase

Definition at line 473 of file qwindowsdialoghelpers.cpp.

Member Typedef Documentation

◆ IShellItems [1/2]

using QWindowsShellItem::IShellItems = std::vector<IShellItem *>

Definition at line 476 of file qwindowsdialoghelpers.cpp.

◆ IShellItems [2/2]

using QWindowsShellItem::IShellItems = std::vector<IShellItem *>

Definition at line 476 of file qwindowsdialoghelpers.cpp.

Constructor & Destructor Documentation

◆ QWindowsShellItem() [1/2]

QWindowsShellItem::QWindowsShellItem ( IShellItem * item)
explicit

Definition at line 514 of file qwindowsdialoghelpers.cpp.

References QWindowsShellItem().

Referenced by QWindowsShellItem().

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

◆ QWindowsShellItem() [2/2]

QWindowsShellItem::QWindowsShellItem ( IShellItem * item)
explicit

Member Function Documentation

◆ attributes() [1/2]

SFGAOF QWindowsShellItem::attributes ( ) const
inline

Definition at line 480 of file qwindowsdialoghelpers.cpp.

◆ attributes() [2/2]

SFGAOF QWindowsShellItem::attributes ( ) const
inline

Definition at line 480 of file qwindowsdialoghelpers.cpp.

◆ canStream() [1/2]

bool QWindowsShellItem::canStream ( ) const
inline

Definition at line 495 of file qwindowsdialoghelpers.cpp.

Referenced by copyData(), createTemporaryItemCopy(), format(), and itemToDialogUrl().

Here is the caller graph for this function:

◆ canStream() [2/2]

bool QWindowsShellItem::canStream ( ) const
inline

Definition at line 495 of file qwindowsdialoghelpers.cpp.

◆ copyData() [1/2]

bool QWindowsShellItem::copyData ( QIODevice * out,
QString * errorMessage )

Definition at line 599 of file qwindowsdialoghelpers.cpp.

References canStream().

Here is the call graph for this function:

◆ copyData() [2/2]

bool QWindowsShellItem::copyData ( QIODevice * out,
QString * errorMessage )

◆ desktopAbsoluteParsing() [1/2]

QString QWindowsShellItem::desktopAbsoluteParsing ( ) const
inline

Definition at line 487 of file qwindowsdialoghelpers.cpp.

◆ desktopAbsoluteParsing() [2/2]

QString QWindowsShellItem::desktopAbsoluteParsing ( ) const
inline

Definition at line 487 of file qwindowsdialoghelpers.cpp.

◆ fileSysPath() [1/2]

QString QWindowsShellItem::fileSysPath ( ) const
inline

Definition at line 485 of file qwindowsdialoghelpers.cpp.

◆ fileSysPath() [2/2]

QString QWindowsShellItem::fileSysPath ( ) const
inline

Definition at line 485 of file qwindowsdialoghelpers.cpp.

◆ format() [1/2]

void QWindowsShellItem::format ( QDebug & d) const

Definition at line 669 of file qwindowsdialoghelpers.cpp.

References canStream(), isDir(), and isFileSystem().

Referenced by operator<<(), and operator<<().

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

◆ format() [2/2]

void QWindowsShellItem::format ( QDebug & d) const

◆ isDir() [1/2]

bool QWindowsShellItem::isDir ( ) const
inline

Definition at line 493 of file qwindowsdialoghelpers.cpp.

Referenced by format(), and itemToDialogUrl().

Here is the caller graph for this function:

◆ isDir() [2/2]

bool QWindowsShellItem::isDir ( ) const
inline

Definition at line 493 of file qwindowsdialoghelpers.cpp.

◆ isFileSystem() [1/2]

bool QWindowsShellItem::isFileSystem ( ) const
inline

Definition at line 492 of file qwindowsdialoghelpers.cpp.

Referenced by format().

Here is the caller graph for this function:

◆ isFileSystem() [2/2]

bool QWindowsShellItem::isFileSystem ( ) const
inline

Definition at line 492 of file qwindowsdialoghelpers.cpp.

◆ itemsFromItemArray() [1/2]

QWindowsShellItem::IShellItems QWindowsShellItem::itemsFromItemArray ( IShellItemArray * items)
static

Definition at line 584 of file qwindowsdialoghelpers.cpp.

◆ itemsFromItemArray() [2/2]

IShellItems QWindowsShellItem::itemsFromItemArray ( IShellItemArray * items)
static

◆ normalDisplay() [1/2]

QString QWindowsShellItem::normalDisplay ( ) const
inline

Definition at line 481 of file qwindowsdialoghelpers.cpp.

◆ normalDisplay() [2/2]

QString QWindowsShellItem::normalDisplay ( ) const
inline

Definition at line 481 of file qwindowsdialoghelpers.cpp.

◆ path() [1/2]

QString QWindowsShellItem::path ( ) const

Definition at line 532 of file qwindowsdialoghelpers.cpp.

◆ path() [2/2]

QString QWindowsShellItem::path ( ) const

◆ url() [1/2]

QUrl QWindowsShellItem::url ( ) const

Definition at line 558 of file qwindowsdialoghelpers.cpp.

◆ url() [2/2]

QUrl QWindowsShellItem::url ( ) const

◆ urlString() [1/2]

QString QWindowsShellItem::urlString ( ) const
inline

Definition at line 483 of file qwindowsdialoghelpers.cpp.

◆ urlString() [2/2]

QString QWindowsShellItem::urlString ( ) const
inline

Definition at line 483 of file qwindowsdialoghelpers.cpp.


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