![]() |
Qt 6.x
The Qt SDK
|
Wrapper for IShellItem. More...
Public Types | |
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 |
Static Public Member Functions | |
static IShellItems | itemsFromItemArray (IShellItemArray *items) |
Wrapper for IShellItem.
Definition at line 474 of file qwindowsdialoghelpers.cpp.
using QWindowsShellItem::IShellItems = std::vector<IShellItem *> |
Definition at line 477 of file qwindowsdialoghelpers.cpp.
|
explicit |
Definition at line 515 of file qwindowsdialoghelpers.cpp.
References item.
|
inline |
Definition at line 481 of file qwindowsdialoghelpers.cpp.
Referenced by format().
|
inline |
Definition at line 496 of file qwindowsdialoghelpers.cpp.
Referenced by copyData(), createTemporaryItemCopy(), format(), and itemToDialogUrl().
Definition at line 600 of file qwindowsdialoghelpers.cpp.
References canStream(), errorMessage(), forever, and out.
Referenced by createTemporaryItemCopy().
|
inline |
Definition at line 488 of file qwindowsdialoghelpers.cpp.
Referenced by format(), and url().
|
inline |
Definition at line 486 of file qwindowsdialoghelpers.cpp.
Referenced by format().
Definition at line 670 of file qwindowsdialoghelpers.cpp.
References attributes(), canStream(), d, Qt::dec(), desktopAbsoluteParsing(), fileSysPath(), Qt::hex(), isDir(), QString::isEmpty(), isFileSystem(), QUrl::isValid(), normalDisplay(), path(), and urlString().
Referenced by operator<<().
|
inline |
Definition at line 494 of file qwindowsdialoghelpers.cpp.
Referenced by format(), itemToDialogUrl(), and path().
|
inline |
Definition at line 493 of file qwindowsdialoghelpers.cpp.
Referenced by format(), and path().
|
static |
Definition at line 585 of file qwindowsdialoghelpers.cpp.
References i, item, and items.
Referenced by QWindowsNativeOpenFileDialog::dialogResult(), and QWindowsNativeOpenFileDialog::selectedFiles().
|
inline |
Definition at line 482 of file qwindowsdialoghelpers.cpp.
Referenced by createTemporaryItemCopy(), and format().
QString QWindowsShellItem::path | ( | ) | const |
Definition at line 533 of file qwindowsdialoghelpers.cpp.
References QDir::cleanPath(), isDir(), and isFileSystem().
Referenced by QWindowsNativeFileDialogBase::directory(), format(), itemToDialogUrl(), and url().
QUrl QWindowsShellItem::url | ( | ) | const |
Definition at line 559 of file qwindowsdialoghelpers.cpp.
References desktopAbsoluteParsing(), QUrl::fromLocalFile(), QString::isEmpty(), QUrl::isValid(), path(), and QStringLiteral.
Referenced by itemToDialogUrl(), QWindowsNativeFileDialogBase::onFolderChange(), and QWindowsNativeOpenFileDialog::selectedFiles().
|
inline |
Definition at line 484 of file qwindowsdialoghelpers.cpp.
Referenced by format().