Exemplo n.º 1
0
void SETTINGS_C::SetLongitude(double Longitude)
{
  DEBUGLOG_Printf1(
      "SETTINGS_C::SetLongitude(%u)",Longitude);
  DEBUGLOG_LogIn();

  m_Longitude=Longitude;

  DEBUGLOG_LogOut();
  return;
}
Exemplo n.º 2
0
void SETTINGS_C::
    SetUpdateInterval(unsigned int const Interval)
{
  DEBUGLOG_Printf1("SETTINGS_C::SetUpdateInterval(%u)",
      Interval);
  DEBUGLOG_LogIn();

  m_UpdateInterval=Interval;

  DEBUGLOG_LogOut();
  return;
}
Exemplo n.º 3
0
void SETTINGS_C::
    SetConfirmQuitFlag(bool const ConfirmQuitFlag)
{
  DEBUGLOG_Printf1("SETTINGS_C::SetConfirmQuitFlag(%u)",
      ConfirmQuitFlag);
  DEBUGLOG_LogIn();

  m_ConfirmQuitFlag=ConfirmQuitFlag;

  DEBUGLOG_LogOut();
  return;
}
Exemplo n.º 4
0
void SETTINGS_C::
    SetBackgroundColor(QColor const BackgroundColor)
{
  DEBUGLOG_Printf1("SETTINGS_C::SetBackgroundColor(%u)",
      BackgroundColor.value());
  DEBUGLOG_LogIn();

  m_BackgroundColor=BackgroundColor;

  DEBUGLOG_LogOut();
  return;
}
Exemplo n.º 5
0
void SETTINGS_C::
    SetUseOpaqueBackgroundFlag(bool const UseFlag)
{
  DEBUGLOG_Printf1(
      "SETTINGS_C::SetUseOpaqueBackgroundFlag(%u)",
      UseFlag);
  DEBUGLOG_LogIn();

  m_UseOpaqueBackgroundFlag=UseFlag;

  DEBUGLOG_LogOut();
  return;
}
Exemplo n.º 6
0
void SETTINGS_C::
    SetStillRunningReminderFlag(bool const ReminderFlag)
{
  DEBUGLOG_Printf1(
      "SETTINGS_C::SetStillRunningReminderFlag(%u)",
      ReminderFlag);
  DEBUGLOG_LogIn();

  m_StillRunningReminderFlag=ReminderFlag;

  DEBUGLOG_LogOut();
  return;
}
Exemplo n.º 7
0
void SETTINGS_C::
    SetRemindOncePerSessionFlag(bool const OnceFlag)
{
  DEBUGLOG_Printf1(
      "SETTINGS_C::SetRemindOncePerSessionFlag(%u)",
      OnceFlag);
  DEBUGLOG_LogIn();

  m_RemindOncePerSessionFlag=OnceFlag;

  DEBUGLOG_LogOut();
  return;
}
Exemplo n.º 8
0
void SETTINGS_C::
    SetDefaultToMetricUnitsFlag(bool const DefaultToMetricUnitsFlag)
{
  DEBUGLOG_Printf1(
      "SETTINGS_C::SetDefaultToMetricUnitsFlag(%u)",
      DefaultToMetricUnitsFlag);
  DEBUGLOG_LogIn();

  m_DefaultToMetricUnitsFlag=DefaultToMetricUnitsFlag;

  DEBUGLOG_LogOut();
  return;
}
Exemplo n.º 9
0
void SETTINGS_C::
    SetAllowMultipleInstancesFlag(bool const AllowMultipleInstancesFlag)
{
  DEBUGLOG_Printf1(
      "SETTINGS_C::SetAllowMultipleInstancesFlag(%u)",
      AllowMultipleInstancesFlag);
  DEBUGLOG_LogIn();

  m_AllowMultipleInstancesFlag=AllowMultipleInstancesFlag;

  DEBUGLOG_LogOut();
  return;
}
Exemplo n.º 10
0
bool SETTINGS_C::operator!=(SETTINGS_C const &RHS) const
{
  bool EqualFlag;


  DEBUGLOG_Printf1("SETTINGS_C::operator==(%p)",&RHS);
  DEBUGLOG_LogIn();

  EqualFlag=!((*this)==RHS);

  DEBUGLOG_LogOut();
  return(EqualFlag);
}
Exemplo n.º 11
0
ABOUTDIALOG_C::ABOUTDIALOG_C(QWidget *pParent)
    : QDialog(pParent)
{
  DEBUGLOG_Printf1("ABOUTDIALOG_C::ABOUTDIALOG_C(%p)",pParent);
  DEBUGLOG_Login();

  /* Set up the user interface. */
  setupUi(this);

  /* Set the data in the various widgets. */
  setWindowTitle("About "APPLICATION_DISPLAYNAMESTRING);
  m_pProgramNameVersionLabel->setText(
      APPLICATION_DISPLAYNAMESTRING" "APPLICATION_VERSIONSTRING);
  m_pProgramInformationEdit->setText(
      APPLICATION_DISPLAYNAMESTRING" "APPLICATION_DESCRIPTIONSTRING"\n");
  m_pProgramInformationEdit->append(APPLICATION_COPYRIGHTNOTICESTRING"\n");
  m_pProgramInformationEdit->append(
      "<a href=\""APPLICATION_WEBSITESTRING"\">"APPLICATION_WEBSITESTRING"</a>");
  m_pLicenseAgreementEdit->setText(f_pLicenseAgreement);

  DEBUGLOG_Logout();
  return;
}
Exemplo n.º 12
0
bool SETTINGS_C::operator==(SETTINGS_C const &RHS) const
{
  bool EqualFlag;


  DEBUGLOG_Printf1("SETTINGS_C::operator==(%p)",&RHS);
  DEBUGLOG_LogIn();

  EqualFlag=(QString::localeAwareCompare(
      m_AnimationPathname,RHS.m_AnimationPathname)==0) &&
      (m_AllowMultipleInstancesFlag==RHS.m_AllowMultipleInstancesFlag) &&
      (m_BackgroundColor==RHS.m_BackgroundColor) &&
      (m_ConfirmDiscardFlag==RHS.m_ConfirmDiscardFlag) &&
      (m_ConfirmQuitFlag==RHS.m_ConfirmQuitFlag) &&
      (m_DefaultToMetricUnitsFlag==RHS.m_DefaultToMetricUnitsFlag) &&
      (m_Latitude==RHS.m_Latitude) && (m_Longitude==RHS.m_Longitude) &&
      (m_RemindOncePerSessionFlag==RHS.m_RemindOncePerSessionFlag) &&
      (m_StillRunningReminderFlag==RHS.m_StillRunningReminderFlag) &&
      (m_UpdateInterval==RHS.m_UpdateInterval) &&
      (m_UseOpaqueBackgroundFlag==RHS.m_UseOpaqueBackgroundFlag);

  DEBUGLOG_LogOut();
  return(EqualFlag);
}