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

void DCGuiApp::slotChangeDefaultDldMode ( QAction *  DldType  )  [private, slot]

change default download mode

Definition at line 1282 of file dcgui.cpp.

References fileDefaultDldAsk, fileDefaultDldMulti, and fileDefaultDldSingle.

Referenced by initActions().

{
      DldType->setOn(TRUE);
      if (fileDefaultDldAsk->isOn())
      {
            g_pConfig->SetDefaultDownloadMode(0);
      }
      else if (fileDefaultDldSingle->isOn())
      {
            g_pConfig->SetDefaultDownloadMode(1);
      }
      else  if (fileDefaultDldMulti->isOn())
      {
            g_pConfig->SetDefaultDownloadMode(2);
      }
}


Generated by  Doxygen 1.6.0   Back to index