Lines 35-41
Link Here
|
35 |
# define N_(String) (String) |
35 |
# define N_(String) (String) |
36 |
#endif |
36 |
#endif |
37 |
#include <gtkmmconfig.h> |
37 |
#include <gtkmmconfig.h> |
38 |
#if GTKMM_MAJOR_VERSION==2 && GTKMM_MINOR_VERSION>2 |
38 |
#if GTKMM_MAJOR_VERSION==2 && GTKMM_MINOR_VERSION<2 |
39 |
#include <sigc++/compatibility.h> |
39 |
#include <sigc++/compatibility.h> |
40 |
#define GMM_GTKMM_22_24(a,b) b |
40 |
#define GMM_GTKMM_22_24(a,b) b |
41 |
#else //gtkmm 2.2 |
41 |
#else //gtkmm 2.2 |
Lines 492-511
Link Here
|
492 |
fxStatus->show(); |
492 |
fxStatus->show(); |
493 |
vpContent->show(); |
493 |
vpContent->show(); |
494 |
scrolledwindow6->show(); |
494 |
scrolledwindow6->show(); |
495 |
sdTimerValue->signal_changed().connect(SigC::slot(*this, &ConfigView_glade::on_sdTimerValue_changed), false); |
495 |
sdTimerValue->signal_changed().connect(sigc::mem_fun(*this, &ConfigView_glade::on_sdTimerValue_changed), false); |
496 |
sdTimerValue->signal_editing_done().connect(SigC::slot(*this, &ConfigView_glade::on_sdTimerValue_editing_done), false); |
496 |
sdTimerValue->signal_editing_done().connect(sigc::mem_fun(*this, &ConfigView_glade::on_sdTimerValue_editing_done), false); |
497 |
sdBattLevelValue->signal_changed().connect(SigC::slot(*this, &ConfigView_glade::on_sdBattLevelValue_changed), false); |
497 |
sdBattLevelValue->signal_changed().connect(sigc::mem_fun(*this, &ConfigView_glade::on_sdBattLevelValue_changed), false); |
498 |
sdRuntimeValue->signal_changed().connect(SigC::slot(*this, &ConfigView_glade::on_sdRuntimeValue_changed), false); |
498 |
sdRuntimeValue->signal_changed().connect(sigc::mem_fun(*this, &ConfigView_glade::on_sdRuntimeValue_changed), false); |
499 |
ckbtSdTimer->signal_toggled().connect(SigC::slot(*this, &ConfigView_glade::on_ckbtSdTimer_toggled), false); |
499 |
ckbtSdTimer->signal_toggled().connect(sigc::mem_fun(*this, &ConfigView_glade::on_ckbtSdTimer_toggled), false); |
500 |
ckbtBattLevel->signal_toggled().connect(SigC::slot(*this, &ConfigView_glade::on_ckbtBattLevel_toggled), false); |
500 |
ckbtBattLevel->signal_toggled().connect(sigc::mem_fun(*this, &ConfigView_glade::on_ckbtBattLevel_toggled), false); |
501 |
ckbtSdRuntime->signal_toggled().connect(SigC::slot(*this, &ConfigView_glade::on_ckbtSdRuntime_toggled), false); |
501 |
ckbtSdRuntime->signal_toggled().connect(sigc::mem_fun(*this, &ConfigView_glade::on_ckbtSdRuntime_toggled), false); |
502 |
customSdCommand->signal_changed().connect(SigC::slot(*this, &ConfigView_glade::on_customSdCommand_changed), false); |
502 |
customSdCommand->signal_changed().connect(sigc::mem_fun(*this, &ConfigView_glade::on_customSdCommand_changed), false); |
503 |
rbNoShutdown->signal_toggled().connect(SigC::slot(*this, &ConfigView_glade::on_rbShutdown_toggled), false); |
503 |
rbNoShutdown->signal_toggled().connect(sigc::mem_fun(*this, &ConfigView_glade::on_rbShutdown_toggled), false); |
504 |
rbShutdown->signal_toggled().connect(SigC::slot(*this, &ConfigView_glade::on_rbShutdown_toggled), false); |
504 |
rbShutdown->signal_toggled().connect(sigc::mem_fun(*this, &ConfigView_glade::on_rbShutdown_toggled), false); |
505 |
rbCustomShutdown->signal_toggled().connect(SigC::slot(*this, &ConfigView_glade::on_rbCustomShutdown_toggled), false); |
505 |
rbCustomShutdown->signal_toggled().connect(sigc::mem_fun(*this, &ConfigView_glade::on_rbCustomShutdown_toggled), false); |
506 |
ckbtIconDisplay->signal_toggled().connect(SigC::slot(*this, &ConfigView_glade::on_ckbtIconDisplay_toggled), false); |
506 |
ckbtIconDisplay->signal_toggled().connect(sigc::mem_fun(*this, &ConfigView_glade::on_ckbtIconDisplay_toggled), false); |
507 |
btAdminMode->signal_released().connect(SigC::slot(*this, &ConfigView_glade::on_btAdminMode_released), false); |
507 |
btAdminMode->signal_released().connect(sigc::mem_fun(*this, &ConfigView_glade::on_btAdminMode_released), false); |
508 |
btSaveCfg->signal_released().connect(SigC::slot(*this, &ConfigView_glade::on_btSaveCfg_released), false); |
508 |
btSaveCfg->signal_released().connect(sigc::mem_fun(*this, &ConfigView_glade::on_btSaveCfg_released), false); |
509 |
} |
509 |
} |
510 |
|
510 |
|
511 |
ConfigView_glade::~ConfigView_glade() |
511 |
ConfigView_glade::~ConfigView_glade() |