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 475 of file qwindowsdialoghelpers.cpp.

Member Typedef Documentation

◆ IShellItems [1/2]

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

Definition at line 478 of file qwindowsdialoghelpers.cpp.

◆ IShellItems [2/2]

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

Definition at line 478 of file qwindowsdialoghelpers.cpp.

Constructor & Destructor Documentation

◆ QWindowsShellItem() [1/2]

QWindowsShellItem::QWindowsShellItem ( IShellItem * item)
explicit

Definition at line 516 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 482 of file qwindowsdialoghelpers.cpp.

◆ attributes() [2/2]

SFGAOF QWindowsShellItem::attributes ( ) const
inline

Definition at line 482 of file qwindowsdialoghelpers.cpp.

◆ canStream() [1/2]

bool QWindowsShellItem::canStream ( ) const
inline

Definition at line 497 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 497 of file qwindowsdialoghelpers.cpp.

◆ copyData() [1/2]

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

Definition at line 601 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 489 of file qwindowsdialoghelpers.cpp.

◆ desktopAbsoluteParsing() [2/2]

QString QWindowsShellItem::desktopAbsoluteParsing ( ) const
inline

Definition at line 489 of file qwindowsdialoghelpers.cpp.

◆ fileSysPath() [1/2]

QString QWindowsShellItem::fileSysPath ( ) const
inline

Definition at line 487 of file qwindowsdialoghelpers.cpp.

◆ fileSysPath() [2/2]

QString QWindowsShellItem::fileSysPath ( ) const
inline

Definition at line 487 of file qwindowsdialoghelpers.cpp.

◆ format() [1/2]

void QWindowsShellItem::format ( QDebug & d) const

Definition at line 672 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 495 of file qwindowsdialoghelpers.cpp.

Referenced by format(), itemToDialogUrl(), and path().

Here is the caller graph for this function:

◆ isDir() [2/2]

bool QWindowsShellItem::isDir ( ) const
inline

Definition at line 495 of file qwindowsdialoghelpers.cpp.

◆ isFileSystem() [1/2]

bool QWindowsShellItem::isFileSystem ( ) const
inline

Definition at line 494 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 494 of file qwindowsdialoghelpers.cpp.

◆ itemsFromItemArray() [1/2]

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

Definition at line 586 of file qwindowsdialoghelpers.cpp.

◆ itemsFromItemArray() [2/2]

IShellItems QWindowsShellItem::itemsFromItemArray ( IShellItemArray * items)
static

◆ normalDisplay() [1/2]

QString QWindowsShellItem::normalDisplay ( ) const
inline

Definition at line 483 of file qwindowsdialoghelpers.cpp.

◆ normalDisplay() [2/2]

QString QWindowsShellItem::normalDisplay ( ) const
inline

Definition at line 483 of file qwindowsdialoghelpers.cpp.

◆ path() [1/2]

QString QWindowsShellItem::path ( ) const

Definition at line 534 of file qwindowsdialoghelpers.cpp.

References isDir().

Here is the call graph for this function:

◆ path() [2/2]

QString QWindowsShellItem::path ( ) const

◆ url() [1/2]

QUrl QWindowsShellItem::url ( ) const

Definition at line 560 of file qwindowsdialoghelpers.cpp.

◆ url() [2/2]

QUrl QWindowsShellItem::url ( ) const

◆ urlString() [1/2]

QString QWindowsShellItem::urlString ( ) const
inline

Definition at line 485 of file qwindowsdialoghelpers.cpp.

◆ urlString() [2/2]

QString QWindowsShellItem::urlString ( ) const
inline

Definition at line 485 of file qwindowsdialoghelpers.cpp.


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