1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Minimize namespace pollution in MenuSetting class hierarchy.

This should be done for all source files, but it is too much to do all at once.
This commit is contained in:
Maarten ter Huurne
2010-07-28 02:36:46 +02:00
parent 961e030670
commit d082f7f280
20 changed files with 97 additions and 86 deletions

View File

@@ -18,13 +18,17 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "menusettingbool.h"
#include "gmenu2x.h"
#include "utilities.h"
#include <sstream>
using namespace std;
using namespace fastdelegate;
using std::string;
using fastdelegate::MakeDelegate;
MenuSettingBool::MenuSettingBool(GMenu2X *gmenu2x, const string &name, const string &description, int *value)
MenuSettingBool::MenuSettingBool(
GMenu2X *gmenu2x, const string &name,
const string &description, int *value)
: MenuSetting(gmenu2x, name, description)
{
_ivalue = value;
@@ -34,7 +38,9 @@ MenuSettingBool::MenuSettingBool(GMenu2X *gmenu2x, const string &name, const str
initButton();
}
MenuSettingBool::MenuSettingBool(GMenu2X *gmenu2x, const string &name, const string &description, bool *value)
MenuSettingBool::MenuSettingBool(
GMenu2X *gmenu2x, const string &name,
const string &description, bool *value)
: MenuSetting(gmenu2x, name, description)
{
_value = value;