VirtualBox

Ignore:
Timestamp:
Jan 4, 2021 12:09:20 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9831. Some cleaning

Location:
trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.cpp

    r87158 r87160  
    1919#include <QClipboard>
    2020#include <QComboBox>
    21 #include <QDateTime>
    22 #include <QDir>
    23 #include <QFont>
    24 #include <QHBoxLayout>
     21#include <QtGlobal>
    2522#if defined(RT_OS_LINUX) && defined(VBOX_WITH_DOCS_QHELP) && (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))
    2623 #include <QtHelp/QHelpEngine>
     
    3532#include <QMenu>
    3633#include <QMouseEvent>
    37 #include <QPainter>
    38 #include <QPixmap>
    3934#include <QtPrintSupport/QPrintDialog>
    4035#include <QtPrintSupport/QPrinter>
    41 #include <QPushButton>
    42 #include <QSpacerItem>
    4336#include <QSplitter>
    44 #include <QTextBrowser>
    4537#include <QVBoxLayout>
    46 #include <QWidgetAction>
    4738#ifdef RT_OS_SOLARIS
    4839# include <QFontDatabase>
     
    5041
    5142/* GUI includes: */
    52 #include "UICommon.h"
    5343#include "QIAdvancedSlider.h"
    54 #include "QIFileDialog.h"
    5544#include "QITabWidget.h"
    5645#include "QIToolBar.h"
     
    6150#include "UIHelpBrowserWidget.h"
    6251#include "UIIconPool.h"
    63 #include "UIMessageCenter.h"
    64 #include "UISearchLineEdit.h"
    6552
    6653
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpBrowserWidget.h

    r87157 r87160  
    2323
    2424/* Qt includes: */
    25 
    26 #include <QKeySequence>
    2725#include <QPair>
    2826#include <QWidget>
     
    3129#include "QIManagerDialog.h"
    3230#include "QIWithRetranslateUI.h"
    33 #include "UILibraryDefs.h"
    34 
    35 /* COM includes: */
    36 #include "COMEnums.h"
    3731
    3832/* Forward declarations: */
    3933class QHBoxLayout;
    40 class QItemSelection;
    4134class QVBoxLayout;
    4235class QHelpEngine;
     
    4740class QHelpSearchQueryWidget;
    4841class QHelpSearchResultWidget;
    49 class QListWidget;
    50 class QPlainTextEdit;
    5142class QSplitter;
    5243class QITabWidget;
     
    5445class UIActionPool;
    5546class UIBookmarksListContainer;
    56 class UIDialogPanel;
    5747class UIHelpBrowserTabManager;
    5848
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.cpp

    r87158 r87160  
    1818/* Qt includes: */
    1919#include <QClipboard>
    20 #include <QComboBox>
    21 #include <QDateTime>
    22 #include <QDir>
    23 #include <QFont>
    24 #include <QHBoxLayout>
     20#include <QtGlobal>
    2521#if defined(RT_OS_LINUX) && defined(VBOX_WITH_DOCS_QHELP) && (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))
    2622 #include <QtHelp/QHelpEngine>
     
    3228#endif
    3329#include <QLabel>
    34 #include <QListWidget>
    3530#include <QMenu>
    36 #include <QMouseEvent>
    37 #include <QPainter>
    38 #include <QPixmap>
    39 #include <QtPrintSupport/QPrintDialog>
    40 #include <QtPrintSupport/QPrinter>
    41 #include <QPushButton>
    42 #include <QSpacerItem>
    43 #include <QSplitter>
    44 #include <QTextBrowser>
    45 #include <QVBoxLayout>
     31#include <QHBoxLayout>
    4632#include <QWidgetAction>
    4733#ifdef RT_OS_SOLARIS
     
    5036
    5137/* GUI includes: */
    52 #include "UICommon.h"
    53 #include "QIAdvancedSlider.h"
    54 #include "QIFileDialog.h"
    55 #include "QITabWidget.h"
    56 #include "QIToolBar.h"
    5738#include "QIToolButton.h"
    58 #include "UIActionPool.h"
    59 #include "UIExtraDataManager.h"
    6039#include "UIHelpViewer.h"
    6140#include "UIHelpBrowserWidget.h"
    6241#include "UIIconPool.h"
    63 #include "UIMessageCenter.h"
    6442#include "UISearchLineEdit.h"
    65 
    6643
    6744/* COM includes: */
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.h

    r87158 r87160  
    2323
    2424/* Qt includes: */
    25 
    26 #include <QKeySequence>
    27 #include <QPair>
    2825#include <QTextBrowser>
    29 #include <QWidget>
    3026
    3127/* GUI includes: */
    32 #include "QIManagerDialog.h"
    3328#include "QIWithRetranslateUI.h"
    34 #include "UILibraryDefs.h"
    35 
    36 /* COM includes: */
    37 #include "COMEnums.h"
    3829
    3930/* Forward declarations: */
    40 class QHBoxLayout;
    41 class QItemSelection;
    42 class QVBoxLayout;
    4331class QHelpEngine;
    44 class QHelpContentModel;
    45 class QHelpContentWidget;
    46 class QHelpIndexWidget;
    47 class QHelpSearchEngine;
    48 class QHelpSearchQueryWidget;
    49 class QHelpSearchResultWidget;
    50 class QListWidget;
    51 class QPlainTextEdit;
    52 class QSplitter;
    53 class QITabWidget;
    54 class QIToolBar;
    55 class UIActionPool;
    56 class UIBookmarksListContainer;
    57 class UIDialogPanel;
    5832class UIFindInPageWidget;
    59 class UIHelpBrowserTabManager;
    6033
    6134#if defined(RT_OS_LINUX) && defined(VBOX_WITH_DOCS_QHELP) && (QT_VERSION >= QT_VERSION_CHECK(5, 9, 0))
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