- Timestamp:
- Jul 5, 2007 11:22:58 AM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 11 edited
-
include/VBoxGlobal.h (modified) (1 diff)
-
include/VBoxProblemReporter.h (modified) (1 diff)
-
src/VBoxGlobal.cpp (modified) (1 diff)
-
src/VBoxProblemReporter.cpp (modified) (1 diff)
-
src/VBoxSelectorWnd.cpp (modified) (1 diff)
-
ui/VBoxCloseVMDlg.ui (modified) (1 diff)
-
ui/VBoxDiskImageManagerDlg.ui (modified) (1 diff)
-
ui/VBoxGlobalSettingsDlg.ui (modified) (1 diff)
-
ui/VBoxSnapshotDetailsDlg.ui (modified) (2 diffs)
-
ui/VBoxTakeSnapshotDlg.ui (modified) (2 diffs)
-
ui/VBoxVMSettingsDlg.ui (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h
r3445 r3448 435 435 static QString removeAccelMark (const QString &aText); 436 436 437 public slots:438 439 void showHelpDialog();440 441 437 signals: 442 438 -
trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h
r3275 r3448 247 247 void showHelpWebDialog(); 248 248 void showHelpAboutDialog(); 249 void showHelpHelpDialog(); 249 250 void resetSuppressedMessages(); 250 251 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r3445 r3448 2978 2978 } 2979 2979 2980 void VBoxGlobal::showHelpDialog()2981 {2982 #ifndef VBOX_OSE2983 #if defined (Q_WS_WIN32)2984 QString fullHelpFilePath = qApp->applicationDirPath() + "/VirtualBox.chm";2985 2986 HtmlHelp (GetDesktopWindow(), fullHelpFilePath.ucs2(),2987 HH_DISPLAY_TOPIC, NULL);2988 #elif defined (Q_WS_X11)2989 QString fullProgPath = qApp->applicationDirPath();2990 QProcess kchmViewer (fullProgPath + "/kchmviewer");2991 kchmViewer.addArgument (fullProgPath + "/VirtualBox.chm");2992 kchmViewer.launch ("");2993 #elif defined (Q_WS_MAC)2994 QProcess openApp (QString("/usr/bin/open"));2995 openApp.addArgument (qApp->applicationDirPath() + "/UserManual.pdf");2996 openApp.launch ("");2997 #endif2998 #endif /* VBOX_OSE */2999 }3000 3001 2980 // Protected members 3002 2981 //////////////////////////////////////////////////////////////////////////////// -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp
r3275 r3448 1693 1693 } 1694 1694 1695 void VBoxProblemReporter::showHelpHelpDialog() 1696 { 1697 #ifndef VBOX_OSE 1698 #if defined (Q_WS_WIN32) 1699 QString fullHelpFilePath = qApp->applicationDirPath() + "/VirtualBox.chm"; 1700 1701 HtmlHelp (GetDesktopWindow(), fullHelpFilePath.ucs2(), 1702 HH_DISPLAY_TOPIC, NULL); 1703 #elif defined (Q_WS_X11) 1704 QString fullProgPath = qApp->applicationDirPath(); 1705 QProcess kchmViewer (fullProgPath + "/kchmviewer"); 1706 kchmViewer.addArgument (fullProgPath + "/VirtualBox.chm"); 1707 kchmViewer.launch (""); 1708 #elif defined (Q_WS_MAC) 1709 QProcess openApp (QString("/usr/bin/open")); 1710 openApp.addArgument (qApp->applicationDirPath() + "/UserManual.pdf"); 1711 openApp.launch (""); 1712 #endif 1713 #endif /* VBOX_OSE */ 1714 } 1715 1695 1716 void VBoxProblemReporter::resetSuppressedMessages() 1696 1717 { -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp
r3445 r3448 951 951 void VBoxSelectorWnd::showHelpContents() 952 952 { 953 vbox Global().showHelpDialog();953 vboxProblem().showHelpHelpDialog(); 954 954 } 955 955 -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxCloseVMDlg.ui
r3445 r3448 291 291 <sender>buttonHelp</sender> 292 292 <signal>clicked()</signal> 293 <receiver>&vbox Global()</receiver>294 <slot>showHelp Dialog()</slot>293 <receiver>&vboxProblem()</receiver> 294 <slot>showHelpHelpDialog()</slot> 295 295 </connection> 296 296 </connections> 297 297 <includes> 298 <include location="local" impldecl="in implementation">VBox Global.h</include>298 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include> 299 299 </includes> 300 300 <pixmapinproject/> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxDiskImageManagerDlg.ui
r3445 r3448 499 499 <sender>buttonHelp</sender> 500 500 <signal>clicked()</signal> 501 <receiver>&vbox Global()</receiver>502 <slot>showHelp Dialog()</slot>501 <receiver>&vboxProblem()</receiver> 502 <slot>showHelpHelpDialog()</slot> 503 503 </connection> 504 504 </connections> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGlobalSettingsDlg.ui
r3445 r3448 1275 1275 <sender>buttonHelp</sender> 1276 1276 <signal>clicked()</signal> 1277 <receiver>&vbox Global()</receiver>1278 <slot>showHelp Dialog()</slot>1277 <receiver>&vboxProblem()</receiver> 1278 <slot>showHelpHelpDialog()</slot> 1279 1279 </connection> 1280 1280 </connections> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxSnapshotDetailsDlg.ui
r3445 r3448 276 276 <sender>buttonHelp</sender> 277 277 <signal>clicked()</signal> 278 <receiver>&vbox Global()</receiver>279 <slot>showHelp Dialog()</slot>278 <receiver>&vboxProblem()</receiver> 279 <slot>showHelpHelpDialog()</slot> 280 280 </connection> 281 281 </connections> … … 288 288 <include location="local" impldecl="in declaration">COMDefs.h</include> 289 289 <include location="local" impldecl="in implementation">VBoxUtils.h</include> 290 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include> 290 291 <include location="local" impldecl="in implementation">VBoxGlobal.h</include> 291 292 </includes> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxTakeSnapshotDlg.ui
r3445 r3448 291 291 <sender>buttonHelp</sender> 292 292 <signal>clicked()</signal> 293 <receiver>&vbox Global()</receiver>294 <slot>showHelp Dialog()</slot>293 <receiver>&vboxProblem()</receiver> 294 <slot>showHelpHelpDialog()</slot> 295 295 </connection> 296 296 </connections> … … 302 302 <include location="global" impldecl="in declaration">qlabel.h</include> 303 303 <include location="global" impldecl="in declaration">qlineedit.h</include> 304 <include location="local" impldecl="in implementation">VBox Global.h</include>304 <include location="local" impldecl="in implementation">VBoxProblemReporter.h</include> 305 305 <include location="local" impldecl="in implementation">VBoxUtils.h</include> 306 306 <include location="local" impldecl="in implementation">VBoxTakeSnapshotDlg.ui.h</include> -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMSettingsDlg.ui
r3445 r3448 2895 2895 <sender>buttonHelp</sender> 2896 2896 <signal>clicked()</signal> 2897 <receiver>&vbox Global()</receiver>2898 <slot>showHelp Dialog()</slot>2897 <receiver>&vboxProblem()</receiver> 2898 <slot>showHelpHelpDialog()</slot> 2899 2899 </connection> 2900 2900 </connections>
Note:
See TracChangeset
for help on using the changeset viewer.

