- Timestamp:
- May 21, 2023 12:17:43 PM (20 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r99860 r99880 2377 2377 QString UICommon::helpFile() 2378 2378 { 2379 #if defined (VBOX_WITH_ QHELP_VIEWER)2379 #if defined (VBOX_WITH_DOCS_QHELP) 2380 2380 const QString strName = "UserManual"; 2381 2381 const QString strSuffix = "qhc"; -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r99860 r99880 2144 2144 { 2145 2145 Q_UNUSED(strLocation); 2146 #if defined (VBOX_WITH_ QHELP_VIEWER)2146 #if defined (VBOX_WITH_DOCS_QHELP) 2147 2147 showHelpBrowser(strLocation); 2148 2148 #else … … 2173 2173 void UIMessageCenter::sltHandleHelpRequest() 2174 2174 { 2175 #if defined(VBOX_WITH_ QHELP_VIEWER)2175 #if defined(VBOX_WITH_DOCS_QHELP) 2176 2176 sltHandleHelpRequestWithKeyword(uiCommon().helpKeyword(sender())); 2177 2177 #endif /* #if (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))&& (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)) */ … … 2180 2180 void UIMessageCenter::sltHandleHelpRequestWithKeyword(const QString &strHelpKeyword) 2181 2181 { 2182 #if defined(VBOX_WITH_ QHELP_VIEWER)2182 #if defined(VBOX_WITH_DOCS_QHELP) 2183 2183 /* First open or show the help browser: */ 2184 2184 showHelpBrowser(uiCommon().helpFile()); … … 2378 2378 { 2379 2379 Q_UNUSED(pParent); 2380 #if defined(VBOX_WITH_ QHELP_VIEWER)2380 #if defined(VBOX_WITH_DOCS_QHELP) 2381 2381 if (!QFileInfo(strHelpFilePath).exists()) 2382 2382 { -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserDialog.cpp
r99860 r99880 72 72 void UIHelpBrowserDialog::showHelpForKeyword(const QString &strKeyword) 73 73 { 74 #ifdef VBOX_WITH_ QHELP_VIEWER74 #ifdef VBOX_WITH_DOCS_QHELP 75 75 if (m_pWidget) 76 76 m_pWidget->showHelpForKeyword(strKeyword); … … 82 82 void UIHelpBrowserDialog::retranslateUi() 83 83 { 84 #ifdef VBOX_WITH_ QHELP_VIEWER84 #ifdef VBOX_WITH_DOCS_QHELP 85 85 setWindowTitle(UIHelpBrowserWidget::tr("Oracle VM VirtualBox User Manual")); 86 86 #endif … … 119 119 void UIHelpBrowserDialog::prepareCentralWidget() 120 120 { 121 #ifdef VBOX_WITH_ QHELP_VIEWER121 #ifdef VBOX_WITH_DOCS_QHELP 122 122 m_pWidget = new UIHelpBrowserWidget(EmbedTo_Dialog, m_strHelpFilePath); 123 123 AssertPtrReturnVoid(m_pWidget); -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.cpp
r99860 r99880 30 30 #include <QComboBox> 31 31 #include <QtGlobal> 32 #ifdef VBOX_WITH_ QHELP_VIEWER32 #ifdef VBOX_WITH_DOCS_QHELP 33 33 # include <QtHelp/QHelpEngine> 34 34 # include <QtHelp/QHelpContentWidget> … … 70 70 #include "CSystemProperties.h" 71 71 72 #ifdef VBOX_WITH_ QHELP_VIEWER72 #ifdef VBOX_WITH_DOCS_QHELP 73 73 74 74 enum HelpBrowserTabs … … 2275 2275 #include "UIHelpBrowserWidget.moc" 2276 2276 2277 #endif /*#ifdef VBOX_WITH_ QHELP_VIEWER*/2277 #endif /*#ifdef VBOX_WITH_DOCS_QHELP*/ -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.h
r99860 r99880 58 58 class UIZoomMenuAction; 59 59 60 #ifdef VBOX_WITH_ QHELP_VIEWER60 #ifdef VBOX_WITH_DOCS_QHELP 61 61 class SHARED_LIBRARY_STUFF UIHelpBrowserWidget : public QIWithRetranslateUI<QWidget> 62 62 { … … 220 220 }; 221 221 222 #endif /* #ifdef VBOX_WITH_ QHELP_VIEWER*/222 #endif /* #ifdef VBOX_WITH_DOCS_QHELP */ 223 223 #endif /* !FEQT_INCLUDED_SRC_helpbrowser_UIHelpBrowserWidget_h */ -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.cpp
r99860 r99880 29 29 #include <QClipboard> 30 30 #include <QtGlobal> 31 #ifdef VBOX_WITH_ QHELP_VIEWER31 #ifdef VBOX_WITH_DOCS_QHELP 32 32 #include <QtHelp/QHelpEngine> 33 33 #include <QtHelp/QHelpContentWidget> … … 64 64 #include "CSystemProperties.h" 65 65 66 #ifdef VBOX_WITH_ QHELP_VIEWER66 #ifdef VBOX_WITH_DOCS_QHELP 67 67 68 68 … … 1070 1070 #include "UIHelpViewer.moc" 1071 1071 1072 #endif /* #ifdef VBOX_WITH_ QHELP_VIEWER*/1072 #endif /* #ifdef VBOX_WITH_DOCS_QHELP */ -
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.h
r99860 r99880 44 44 class UIFindInPageWidget; 45 45 46 #ifdef VBOX_WITH_ QHELP_VIEWER46 #ifdef VBOX_WITH_DOCS_QHELP 47 47 48 48 /** A QTextBrowser extension used as poor man's html viewer. Since we were not happy with the quality of QTextBrowser's image … … 172 172 }; 173 173 174 #endif /* #ifdef VBOX_WITH_ QHELP_VIEWER*/174 #endif /* #ifdef VBOX_WITH_DOCS_QHELP */ 175 175 #endif /* !FEQT_INCLUDED_SRC_helpbrowser_UIHelpViewer_h */
Note:
See TracChangeset
for help on using the changeset viewer.