Changeset 1535 in ntrip for trunk/BNC/bncwindow.cpp


Ignore:
Timestamp:
Jan 25, 2009, 8:53:37 AM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r1515 r1535  
    4949#include "bnchtml.h"
    5050#include "bnctableitem.h"
     51#include "bncsettings.h"
    5152
    5253using namespace std;
     
    115116  AddToolbar();
    116117
    117   QSettings settings;
     118  bncSettings settings;
    118119  _proxyHostLineEdit  = new QLineEdit(settings.value("proxyHost").toString());
    119120  _proxyPortLineEdit  = new QLineEdit(settings.value("proxyPort").toString());
     
    670671  }
    671672
    672   QSettings settings;
     673  bncSettings settings;
    673674
    674675  QListIterator<QString> it(settings.value("mountPoints").toStringList());
     
    740741void bncWindow::slotAddMountPoints() {
    741742
    742   QSettings settings;
     743  bncSettings settings;
    743744  QString proxyHost = settings.value("proxyHost").toString();
    744745  int     proxyPort = settings.value("proxyPort").toInt();
     
    865866                                   QMessageBox::NoButton);
    866867  if (iRet == QMessageBox::Yes) {
    867   QSettings settings;
     868  bncSettings settings;
    868869  settings.remove("");
    869870  }
     
    887888  }
    888889
    889   QSettings settings;
     890  bncSettings settings;
    890891
    891892  settings.setValue("adviseFail",  _adviseFailSpinBox->value());
     
    10621063  QFont newFont = QFontDialog::getFont(&ok, this->font(), this);
    10631064  if (ok) {
    1064     QSettings settings;
     1065    bncSettings settings;
    10651066    settings.setValue("font", newFont.toString());
    10661067    QApplication::setFont(newFont);
     
    10801081void bncWindow::slotMountPointsRead(QList<bncGetThread*> threads) {
    10811082  populateMountPointsTable();
    1082   QSettings settings;
     1083  bncSettings settings;
    10831084  _binSamplSpinBox->setValue(settings.value("binSampl").toInt());
    10841085  _waitTimeSpinBox->setValue(settings.value("waitTime").toInt());
Note: See TracChangeset for help on using the changeset viewer.