VBoxSharedFoldersSettings :mode=html:tabSize=4:indentSize=4:noTabs=true: :folding=explicit:collapseFolds=1: Copyright (C) 2006-2007 innotek GmbH This file is part of VirtualBox Open Source Edition (OSE), as available from http://www.virtualbox.org. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation, in version 2 as it comes in the "COPYING" file of the VirtualBox OSE distribution. VirtualBox OSE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. VBoxSharedFoldersSettings 0 0 286 247 7 7 0 0 VBoxSharedFoldersSettings don't translate unnamed 0 10 gbSharedFolders Shared &Folders unnamed Name true true Path true true Access true true listView true AllColumns <qt>Lists all shared folders accessible to this machine. Use <tt>net use x: \\vboxsvr\share</tt> to access a shared folder named <i>share</i> from a DOS-like OS, or <tt>mount -t vboxsf share mount_point</tt> to access it from a Linux OS. This feature requires Guest Additions.</qt> layout101 unnamed 0 tbAdd TabFocus Ins Add a new shared folder (Ins) true Adds a new shared folder definition. tbEdit TabFocus Ctrl+Space Edit the selected shared folder (Ctrl+Space) true Edits the selected shared folder definition. tbRemove TabFocus Del Remove the selected shared folder (Del) true Removes the selected shared folder definition. spacer76 Vertical Expanding 21 101 listView doubleClicked(QListViewItem*) VBoxSharedFoldersSettings processDoubleClick(QListViewItem*) VBoxGlobal.h VBoxUtils.h VBoxProblemReporter.h qfiledialog.h qlabel.h qlineedit.h qregexp.h qtimer.h qpainter.h enum SFDialogType { WrongType, GlobalType = 0x01, MachineType = 0x02, ConsoleType = 0x04 }; bool mIsListViewChanged; int mDialogType; CMachine mMachine; CConsole mConsole; QString mTrFull; QString mTrReadOnly; tbAddPressed() tbEditPressed() tbRemovePressed() processCurrentChanged( QListViewItem* ) processDoubleClick( QListViewItem* ) adjustList() updateList() init() showEvent( QShowEvent* ) eventFilter( QObject*, QEvent* ) setDialogType( int ) dialogType() {return mDialogType;} removeSharedFolder( const QString &, const QString &, VBoxSharedFoldersSettings::SFDialogType ) createSharedFolder( const QString &, const QString &, bool, VBoxSharedFoldersSettings::SFDialogType ) getFromGlobal() getFromMachine( const CMachine & ) getFromConsole( const CConsole & ) getFrom( const CSharedFolderEnumerator &, QListViewItem* ) putBackToGlobal() putBackToMachine() putBackToConsole() putBackTo( CSharedFolderEnumerator &, QListViewItem* ) searchRoot( bool ) isEditable( const QString & )