Changeset 76734 in vbox for trunk/src/VBox
- Timestamp:
- Jan 9, 2019 1:08:55 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/guestctrl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManager.cpp
r76627 r76734 384 384 this, &UIFileManager::sltPanelActionToggled); 385 385 386 #ifdef TEST_COPY387 388 m_pToolBar->addSeparator();389 QAction *pSession = new QAction("session", this);390 QAction *pCopy = new QAction("Copy", this);391 m_pToolBar->addAction(pSession);392 m_pToolBar->addAction(pCopy);393 394 connect(pSession, &QAction::triggered,395 this, &UIFileManager::sltTestSession);396 connect(pCopy, &QAction::triggered,397 this, &UIFileManager::sltTestCopy);398 399 #endif400 401 386 #ifdef VBOX_WS_MAC 402 387 /* Check whether we are embedded into a stack: */ … … 801 786 } 802 787 803 void UIFileManager::sltTestSession()804 {805 createSession("vbox", "password");806 }807 808 void UIFileManager::sltTestCopy()809 {810 QStringList sources;811 sources << "/home/serkan/misos/xenialpup-7.5-uefi.iso";812 if ( m_pGuestFileTable)813 m_pGuestFileTable->copyHostToGuest(sources, "/home/vbox/test");814 }815 816 788 #include "UIFileManager.moc" -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManager.h
r76627 r76734 124 124 /** Performs whatever necessary when some signal about option change has been receieved. */ 125 125 void sltHandleOptionsUpdated(); 126 127 void sltTestCopy();128 void sltTestSession();129 126 130 127 private:
Note:
See TracChangeset
for help on using the changeset viewer.