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

void KPureftpdScript::slotAuthListChanged ( QListViewItem *  item  )  [protected, slot]

Set the "authMethod" and "authFile" when current item in "authList" is changed: user click on item or move highlight with cursor keys. It also set the editor buttons (Add, Modify, Delete) and Up and Down buttons such that only relevant buttons will be enabled.

Parameters:
item is the selected element in the "authList" list view

Definition at line 940 of file kcmpureftpdscript.cpp.

References slotAuthMethodChanged(), and ui.

Referenced by KPureftpdScript().

                                                             {
  if (item) {
    ui->authMethod->setCurrentText(item->text(0));
    ui->authFile->setURL(item->text(1));
    slotAuthMethodChanged(ui->authMethod->currentItem());
    setAuthMoveButtons();
  }
}


Generated by  Doxygen 1.6.0   Back to index