Changeset 78057 in vbox
- Timestamp:
- Apr 9, 2019 11:27:35 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerGuestTable.cpp
r78056 r78057 119 119 return; 120 120 /* Open the directory to start reading its content: */ 121 QVector<KDirectoryOpenFlag> flag( KDirectoryOpenFlag_None);121 QVector<KDirectoryOpenFlag> flag(1, KDirectoryOpenFlag_None); 122 122 CGuestDirectory directory = m_comGuestSession.DirectoryOpen(path, /*aFilter*/ "", flag); 123 123 if (!m_comGuestSession.isOk()) … … 292 292 return false; 293 293 QString newPath = UIPathOperations::constructNewItemPath(item->path(), newBaseName); 294 QVector<KFsObjRenameFlag> aFlags( KFsObjRenameFlag_Replace);294 QVector<KFsObjRenameFlag> aFlags(1, KFsObjRenameFlag_Replace); 295 295 296 296 m_comGuestSession.FsObjRename(item->path(), newPath, aFlags); … … 308 308 { 309 309 QString newDirectoryPath = UIPathOperations::mergePaths(path, directoryName); 310 QVector<KDirectoryCreateFlag> flags( KDirectoryCreateFlag_None);310 QVector<KDirectoryCreateFlag> flags(1, KDirectoryCreateFlag_None); 311 311 312 312 m_comGuestSession.DirectoryCreate(newDirectoryPath, 0/*aMode*/, flags); … … 674 674 void UIFileManagerGuestTable::pasteCutCopiedObjects() 675 675 { 676 /** Wait until we have a API function that would take multiple source objects 677 * and return a single IProgress instance: */ 678 // QVector<KFileCopyFlag> fileCopyFlags; 679 // QVector<KDirectoryCopyFlag> directoryCopyFlags; 680 681 // foreach (const QString &strPath, m_copyCutBuffer) 682 // { 683 684 // } 685 } 686 676 } 687 677 688 678 void UIFileManagerGuestTable::prepareActionConnections()
Note:
See TracChangeset
for help on using the changeset viewer.

