VirtualBox

Changeset 71871 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Apr 17, 2018 11:58:18 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9049: Tiny cleanup for QIManagerDialog and move it to VBoxGlobal library.

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r71870 r71871  
    441441        src/UITakeSnapshotDialog.h \
    442442        src/extensions/QIFlowLayout.h \
    443         src/extensions/QIManagerDialog.h \
    444443        src/extensions/QIMenu.h \
    445444        src/extensions/QIStatusBar.h \
     
    660659        src/extensions/QIMainDialog.h \
    661660        src/extensions/QIMainWindow.h \
     661        src/extensions/QIManagerDialog.h \
    662662        src/extensions/QIMessageBox.h \
    663663        src/extensions/QIProcess.h \
     
    737737        src/extensions/QIMainDialog.h \
    738738        src/extensions/QIMainWindow.h \
     739        src/extensions/QIManagerDialog.h \
    739740        src/extensions/QIMessageBox.h \
    740741        src/extensions/QIProcess.h \
     
    910911        src/UITakeSnapshotDialog.cpp \
    911912        src/extensions/QIFlowLayout.cpp \
    912         src/extensions/QIManagerDialog.cpp \
    913913        src/extensions/QIMenu.cpp \
    914914        src/extensions/QIStatusBar.cpp \
     
    11611161        src/extensions/QIMainDialog.cpp \
    11621162        src/extensions/QIMainWindow.cpp \
     1163        src/extensions/QIManagerDialog.cpp \
    11631164        src/extensions/QIMessageBox.cpp \
    11641165        src/extensions/QIProcess.cpp \
     
    12651266        src/extensions/QIMainDialog.cpp \
    12661267        src/extensions/QIMainWindow.cpp \
     1268        src/extensions/QIManagerDialog.cpp \
    12671269        src/extensions/QIMessageBox.cpp \
    12681270        src/extensions/QIProcess.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIManagerDialog.cpp

    r71355 r71871  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - QIManagerDialog class implementation.
     3 * VBox Qt GUI - Qt extensions: QIManagerDialog class implementation.
    44 */
    55
    66/*
    7  * Copyright (C) 2009-2017 Oracle Corporation
     7 * Copyright (C) 2009-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2929# include "QIDialogButtonBox.h"
    3030# include "QIManagerDialog.h"
     31# include "VBoxGlobal.h"
    3132# include "UIDesktopWidgetWatchdog.h"
    3233# ifdef VBOX_WS_MAC
    3334#  include "UIToolBar.h"
    3435#  include "UIWindowMenuManager.h"
    35 # endif /* VBOX_WS_MAC */
    36 # include "VBoxGlobal.h"
     36# endif
    3737
    3838#endif /* !VBOX_WITH_PRECOMPILED_HEADERS */
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIManagerDialog.h

    r70147 r71871  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - QIManagerDialog class declaration.
     3 * VBox Qt GUI - Qt extensions: QIManagerDialog class declaration.
    44 */
    55
    66/*
    7  * Copyright (C) 2009-2017 Oracle Corporation
     7 * Copyright (C) 2009-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2323#include <QMap>
    2424
     25/* GUI includes: */
     26#include "UILibraryDefs.h"
     27
    2528/* Other VBox includes: */
    2629#include <iprt/cdefs.h>
     
    5457
    5558/** Manager dialog factory insterface. */
    56 class QIManagerDialogFactory
     59class SHARED_LIBRARY_STUFF QIManagerDialogFactory
    5760{
    5861public:
     
    7881
    7982/** QMainWindow sub-class used as various manager dialogs. */
    80 class QIManagerDialog : public QMainWindow
     83class SHARED_LIBRARY_STUFF QIManagerDialog : public QMainWindow
    8184{
    8285    Q_OBJECT;
     
    127130        virtual void loadSettings() {}
    128131
     132        /** Saves dialog setting into extradata. */
     133        virtual void saveSettings() const {}
    129134        /** Cleanup menu-bar.
    130135          * @note Injected into cleanup(), normally you don't need to reimplement it. */
     
    133138          * @note Normally you don't need to reimplement it. */
    134139        void cleanup();
    135         /** Saves dialog setting such as geometry into extradata. */
    136         virtual void saveSettings() const {}
    137 
    138140    /** @} */
    139141
     
    210212};
    211213
     214
    212215#endif /* !___QIManagerDialog_h___ */
    213 
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