Logo Search packages:      
Sourcecode: valknut version File versions  Download package

void DCGuiApp::slotChangeAwayMode (  )  [private, slot]

change user away mode

Definition at line 1676 of file dcgui.cpp.

References actionAwayModeAway, and actionAwayModeNormal.

Referenced by initActions().

{
      switch(g_pConfig->GetAwayMode())
      {
            case euamAWAY:
                  actionAwayModeNormal->setOn(TRUE);
                  g_pConfig->SetAwayMode(euamNORMAL);
                  break;
            default:
                  actionAwayModeAway->setOn(TRUE);
                  g_pConfig->SetAwayMode(euamAWAY);
                  break;
      }

      g_pConnectionManager->SendMyInfoToConnectedServers();
}


Generated by  Doxygen 1.6.0   Back to index