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

void main_windows::writeHistoryFile (  )  [private]

Write address history. Before quit, write history.

Definition at line 230 of file main_windows.cpp.

Referenced by closeEvent().

{
      debugQt ("main_windows::writeHistoryFile()");
      QSettings settings(QSettings::UserScope,"adella.org", "qtsmbstatus");
      settings.beginGroup("/MainWindow");
            settings.beginGroup("/History");
                  int index=0;
                  while (index<comboBox_hostaddr->count ())
                  {
                        settings.setValue("recentAddress"+QString::number(index),comboBox_hostaddr->text(index) );
                        index++;
                  }
            settings.endGroup();
      settings.endGroup();
}


Generated by  Doxygen 1.6.0   Back to index