1508N/A/** @file
1508N/A * VBox Qt GUI - QIMenu class declaration.
1508N/A */
1508N/A
1508N/A/*
1508N/A * Copyright (C) 2010-2014 Oracle Corporation
1508N/A *
1508N/A * This file is part of VirtualBox Open Source Edition (OSE), as
1508N/A * available from http://www.virtualbox.org. This file is free software;
1508N/A * you can redistribute it and/or modify it under the terms of the GNU
1508N/A * General Public License (GPL) as published by the Free Software
1508N/A * Foundation, in version 2 as it comes in the "COPYING" file of the
1508N/A * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
1508N/A * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
1508N/A */
1508N/A
1508N/A#ifndef ___QIMenu_h___
1508N/A#define ___QIMenu_h___
1508N/A
1508N/A/* Qt includes: */
1508N/A#include <QMenu>
1508N/A
2899N/A/** QMenu extension
1508N/A * which allows to highlight first menu item for popped up menu. */
1508N/Aclass QIMenu : public QMenu
1508N/A{
1508N/A Q_OBJECT;
1508N/A
1508N/Apublic:
1508N/A
1508N/A /** Constructor, passes @a pParent to the QMenu constructor. */
1508N/A QIMenu(QWidget *pParent = 0);
1508N/A
1508N/Aprivate slots:
1508N/A
1508N/A /** Highlights first menu action for popped up menu. */
1508N/A void sltHighlightFirstAction();
2899N/A};
2899N/A
1508N/A#endif /* !___QIMenu_h___ */
1508N/A