VirtualBox

Changeset 71895 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 18, 2018 1:08:11 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9049: Tiny cleanup for QIMenu 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

    r71894 r71895  
    440440VirtualBox_QT_MOCHDRS = \
    441441        src/UITakeSnapshotDialog.h \
    442         src/extensions/QIMenu.h \
    443442        src/extensions/QIStatusBar.h \
    444443        src/extensions/graphics/QIGraphicsView.h \
     
    655654        src/extensions/QIMainWindow.h \
    656655        src/extensions/QIManagerDialog.h \
     656        src/extensions/QIMenu.h \
    657657        src/extensions/QIMessageBox.h \
    658658        src/extensions/QIProcess.h \
     
    739739        src/extensions/QIMainWindow.h \
    740740        src/extensions/QIManagerDialog.h \
     741        src/extensions/QIMenu.h \
    741742        src/extensions/QIMessageBox.h \
    742743        src/extensions/QIProcess.h \
     
    916917        src/main.cpp \
    917918        src/UITakeSnapshotDialog.cpp \
    918         src/extensions/QIMenu.cpp \
    919919        src/extensions/QIStatusBar.cpp \
    920920        src/extensions/graphics/QIGraphicsView.cpp \
     
    11651165        src/extensions/QIMainWindow.cpp \
    11661166        src/extensions/QIManagerDialog.cpp \
     1167        src/extensions/QIMenu.cpp \
    11671168        src/extensions/QIMessageBox.cpp \
    11681169        src/extensions/QIProcess.cpp \
     
    12501251        src/platform/darwin/VBoxUtils-darwin-cocoa.mm \
    12511252        src/platform/darwin/VBoxUtils-darwin.cpp
    1252 
    12531253endif
    12541254
     
    12761276        src/extensions/QIMainWindow.cpp \
    12771277        src/extensions/QIManagerDialog.cpp \
     1278        src/extensions/QIMenu.cpp \
    12781279        src/extensions/QIMessageBox.cpp \
    12791280        src/extensions/QIProcess.cpp \
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMenu.cpp

    r69500 r71895  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - QIMenu class implementation.
     3 * VBox Qt GUI - Qt extensions: QIMenu class implementation.
    44 */
    55
    66/*
    7  * Copyright (C) 2010-2017 Oracle Corporation
     7 * Copyright (C) 2010-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    1919# include <precomp.h>
    2020#else
     21
    2122/* GUI includes: */
    2223# include "QIMenu.h"
     24
    2325#endif
    2426
     
    3436    /* Windows host requires window-activation: */
    3537    activateWindow();
    36 #endif /* VBOX_WS_WIN */
     38#endif
     39
    3740    /* Focus next child: */
    3841    QMenu::focusNextChild();
    3942}
    40 
  • trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIMenu.h

    r69500 r71895  
    11/* $Id$ */
    22/** @file
    3  * VBox Qt GUI - QIMenu class declaration.
     3 * VBox Qt GUI - Qt extensions: QIMenu class declaration.
    44 */
    55
    66/*
    7  * Copyright (C) 2010-2017 Oracle Corporation
     7 * Copyright (C) 2010-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2222#include <QMenu>
    2323
    24 /** QMenu extension
    25   * which allows to highlight first menu item for popped up menu. */
     24/* GUI includes: */
     25#include "UILibraryDefs.h"
     26
     27/** QMenu extension with advanced functionality.
     28  * Allows to highlight first menu item for popped up menu. */
    2629class QIMenu : public QMenu
    2730{
     
    3033public:
    3134
    32     /** Constructor, passes @a pParent to the QMenu constructor. */
     35    /** Constructs menu passing @a pParent to the base-class. */
    3336    QIMenu(QWidget *pParent = 0);
    3437
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