- Timestamp:
- Aug 20, 2008 11:58:28 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 35045
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxFilePathSelectorWidget.h
r11497 r11511 54 54 55 55 bool isModified() const; 56 bool isPath LineChosen() const;56 bool isPathSelected() const; 57 57 58 58 QString path() const; -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxFilePathSelectorWidget.cpp
r11497 r11511 115 115 } 116 116 117 bool VBoxFilePathSelectorWidget::isPathLineChosen() const 117 /** 118 * Returns @c true if the selected (active) combobox item is a path item. 119 * 120 * May be used in @c activated() signal handlers to distinguish between 121 * non-path items like "Other..." or "Reset" that get temporarily activated 122 * when performing the corresponding actiojn and the item that contains a 123 * real selected file/folder path. 124 */ 125 bool VBoxFilePathSelectorWidget::isPathSelected() const 118 126 { 119 127 return (currentIndex() == PathId); … … 145 153 void VBoxFilePathSelectorWidget::focusInEvent (QFocusEvent *aEvent) 146 154 { 147 if (isPath LineChosen())155 if (isPathSelected()) 148 156 { 149 157 mIsEditableMode = true; … … 155 163 void VBoxFilePathSelectorWidget::focusOutEvent (QFocusEvent *aEvent) 156 164 { 157 if (isPath LineChosen())165 if (isPathSelected()) 158 166 { 159 167 mIsEditableMode = false; -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsSFDetails.cpp
r11497 r11511 143 143 void VBoxVMSettingsSFDetails::onSelectPath() 144 144 { 145 if (!mPsPath->isPath LineChosen())145 if (!mPsPath->isPathSelected()) 146 146 return; 147 147
Note:
See TracChangeset
for help on using the changeset viewer.