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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user