VirtualBox

Changeset 99880 in vbox for trunk


Ignore:
Timestamp:
May 21, 2023 12:17:43 PM (20 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10451 Replacing VBOX_WITH_QHELP_VIEWER with VBOX_WITH_DOCS_QHELP.

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  
    23772377QString UICommon::helpFile()
    23782378{
    2379 #if defined (VBOX_WITH_QHELP_VIEWER)
     2379#if defined (VBOX_WITH_DOCS_QHELP)
    23802380    const QString strName = "UserManual";
    23812381    const QString strSuffix = "qhc";
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r99860 r99880  
    21442144{
    21452145    Q_UNUSED(strLocation);
    2146 #if defined (VBOX_WITH_QHELP_VIEWER)
     2146#if defined (VBOX_WITH_DOCS_QHELP)
    21472147    showHelpBrowser(strLocation);
    21482148#else
     
    21732173void UIMessageCenter::sltHandleHelpRequest()
    21742174{
    2175 #if defined(VBOX_WITH_QHELP_VIEWER)
     2175#if defined(VBOX_WITH_DOCS_QHELP)
    21762176    sltHandleHelpRequestWithKeyword(uiCommon().helpKeyword(sender()));
    21772177#endif /* #if (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))&& (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)) */
     
    21802180void UIMessageCenter::sltHandleHelpRequestWithKeyword(const QString &strHelpKeyword)
    21812181{
    2182 #if defined(VBOX_WITH_QHELP_VIEWER)
     2182#if defined(VBOX_WITH_DOCS_QHELP)
    21832183    /* First open or show the help browser: */
    21842184    showHelpBrowser(uiCommon().helpFile());
     
    23782378{
    23792379    Q_UNUSED(pParent);
    2380 #if defined(VBOX_WITH_QHELP_VIEWER)
     2380#if defined(VBOX_WITH_DOCS_QHELP)
    23812381    if (!QFileInfo(strHelpFilePath).exists())
    23822382    {
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserDialog.cpp

    r99860 r99880  
    7272void UIHelpBrowserDialog::showHelpForKeyword(const QString &strKeyword)
    7373{
    74 #ifdef VBOX_WITH_QHELP_VIEWER
     74#ifdef VBOX_WITH_DOCS_QHELP
    7575    if (m_pWidget)
    7676        m_pWidget->showHelpForKeyword(strKeyword);
     
    8282void UIHelpBrowserDialog::retranslateUi()
    8383{
    84 #ifdef VBOX_WITH_QHELP_VIEWER
     84#ifdef VBOX_WITH_DOCS_QHELP
    8585    setWindowTitle(UIHelpBrowserWidget::tr("Oracle VM VirtualBox User Manual"));
    8686#endif
     
    119119void UIHelpBrowserDialog::prepareCentralWidget()
    120120{
    121 #ifdef VBOX_WITH_QHELP_VIEWER
     121#ifdef VBOX_WITH_DOCS_QHELP
    122122    m_pWidget = new UIHelpBrowserWidget(EmbedTo_Dialog, m_strHelpFilePath);
    123123    AssertPtrReturnVoid(m_pWidget);
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.cpp

    r99860 r99880  
    3030#include <QComboBox>
    3131#include <QtGlobal>
    32 #ifdef VBOX_WITH_QHELP_VIEWER
     32#ifdef VBOX_WITH_DOCS_QHELP
    3333# include <QtHelp/QHelpEngine>
    3434# include <QtHelp/QHelpContentWidget>
     
    7070#include "CSystemProperties.h"
    7171
    72 #ifdef VBOX_WITH_QHELP_VIEWER
     72#ifdef VBOX_WITH_DOCS_QHELP
    7373
    7474enum HelpBrowserTabs
     
    22752275#include "UIHelpBrowserWidget.moc"
    22762276
    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  
    5858class UIZoomMenuAction;
    5959
    60 #ifdef VBOX_WITH_QHELP_VIEWER
     60#ifdef VBOX_WITH_DOCS_QHELP
    6161class SHARED_LIBRARY_STUFF UIHelpBrowserWidget  : public QIWithRetranslateUI<QWidget>
    6262{
     
    220220};
    221221
    222 #endif /* #ifdef VBOX_WITH_QHELP_VIEWER */
     222#endif /* #ifdef VBOX_WITH_DOCS_QHELP */
    223223#endif /* !FEQT_INCLUDED_SRC_helpbrowser_UIHelpBrowserWidget_h */
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.cpp

    r99860 r99880  
    2929#include <QClipboard>
    3030#include <QtGlobal>
    31 #ifdef VBOX_WITH_QHELP_VIEWER
     31#ifdef VBOX_WITH_DOCS_QHELP
    3232 #include <QtHelp/QHelpEngine>
    3333 #include <QtHelp/QHelpContentWidget>
     
    6464#include "CSystemProperties.h"
    6565
    66 #ifdef VBOX_WITH_QHELP_VIEWER
     66#ifdef VBOX_WITH_DOCS_QHELP
    6767
    6868
     
    10701070#include "UIHelpViewer.moc"
    10711071
    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  
    4444class UIFindInPageWidget;
    4545
    46 #ifdef VBOX_WITH_QHELP_VIEWER
     46#ifdef VBOX_WITH_DOCS_QHELP
    4747
    4848/** A QTextBrowser extension used as poor man's html viewer. Since we were not happy with the quality of QTextBrowser's image
     
    172172};
    173173
    174 #endif /* #ifdef VBOX_WITH_QHELP_VIEWER */
     174#endif /* #ifdef VBOX_WITH_DOCS_QHELP */
    175175#endif /* !FEQT_INCLUDED_SRC_helpbrowser_UIHelpViewer_h */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette