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

void main_windows::comboBox_valid (  )  [private]

address lists 20 Max addresses

Definition at line 271 of file main_windows.cpp.

Referenced by socketconnected().

{
      debugQt ("main_windows::comboBox_valid()");
      int index=1;
      QString texte = comboBox_hostaddr->currentText ();
      comboBox_hostaddr->insertItem (texte,0);
      while (index<comboBox_hostaddr->count ())
      {
            if ((comboBox_hostaddr->text(index) == texte) || (index > 19) )
                  comboBox_hostaddr->removeItem (index);
            else index++;
      }
      comboBox_hostaddr->setCurrentItem(0);
}


Generated by  Doxygen 1.6.0   Back to index