VBoxHelpActions.h revision e2de40b4b54a8ea51348be768ddcd3ecd753d7b6
/** @file
*
* VBox frontends: Qt GUI ("VirtualBox"):
* VBoxHelpActions class declaration
*/
/*
* Copyright (C) 2009 Sun Microsystems, Inc.
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
* Clara, CA 95054 USA or visit http://www.sun.com if you need
* additional information or have any questions.
*/
#ifndef __VBoxHelpActions_h__
#define __VBoxHelpActions_h__
/* Qt includes */
#include <QObject>
/**
* Help Menu action container.
*
* Contains actions for all help menu items and methods to insert them to a
* QMenu and to perform NLS string translation.
*
* Instances of this class are to be created as members of QWidget classes that
* need a Help menu. The containing class usually passes itself as an argument
* to the #setup() method and then calls #addTo() to add actions to its Help
* menu. The #retranslateUi() method is called when it is necessary to
* re-translate all action NLS according to the current language.
*/
struct VBoxHelpActions
{
{}
void retranslateUi();
};
#endif /* __VBoxHelpActions_h__ */