Changeset 1405 in ntrip


Ignore:
Timestamp:
Dec 29, 2008, 3:15:47 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncnetqueryv2.cpp

    r1404 r1405  
    2323bncNetQueryV2::bncNetQueryV2() {
    2424  _manager   = new QNetworkAccessManager(this);
     25  connect(_manager, SIGNAL(proxyAuthenticationRequired(const QNetworkProxy&,
     26                                                       QAuthenticator*)),
     27          this, SLOT(slotProxyAuthenticationRequired(const QNetworkProxy&,
     28                                                     QAuthenticator*)));
    2529  _reply     = 0;
    2630  _eventLoop = new QEventLoop(this);
     
    6266    _status = finished;
    6367  }
     68}
     69
     70//
     71////////////////////////////////////////////////////////////////////////////
     72void bncNetQueryV2::slotProxyAuthenticationRequired(const QNetworkProxy&,
     73                                                    QAuthenticator*) {
     74  emit newMessage("slotProxyAuthenticationRequired", true);
    6475}
    6576
  • trunk/BNC/bncnetqueryv2.h

    r1391 r1405  
    1919  void slotError(QNetworkReply::NetworkError);
    2020  void slotFinished();
     21  void slotProxyAuthenticationRequired(const QNetworkProxy&, QAuthenticator*);
    2122
    2223 private:
  • trunk/BNC/bncwindow.cpp

    r1352 r1405  
    618618      settings.setValue("proxyHost",   _proxyHostLineEdit->text());
    619619      settings.setValue("proxyPort",   _proxyPortLineEdit->text());
     620      settings.sync();
    620621    }
    621622  }
     
    783784    _caster->slotReadMountPoints();
    784785  }
     786  settings.sync();
    785787}
    786788
Note: See TracChangeset for help on using the changeset viewer.