Changeset 3640 in ntrip for trunk/BNC/bncpppclient.cpp
- Timestamp:
- Jan 24, 2012, 11:25:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r3639 r3640 54 54 // Constructor 55 55 //////////////////////////////////////////////////////////////////////////// 56 bncPPPclient::bncPPPclient(QByteArray staID, t_pppOpt* opt) { 56 bncPPPclient::bncPPPclient(QByteArray staID, t_pppOpt* opt, bool connectSlots) : 57 bncEphUser(connectSlots) { 57 58 58 59 if (opt) { … … 69 70 _model = new bncModel(this); 70 71 71 connect(this, SIGNAL(newMessage(QByteArray,bool)), 72 ((bncApp*)qApp), SLOT(slotMessage(const QByteArray,bool))); 73 74 connect(((bncApp*)qApp), SIGNAL(newCorrections(QList<QString>)), 75 this, SLOT(slotNewCorrections(QList<QString>))); 72 if (connectSlots) { 73 connect(this, SIGNAL(newMessage(QByteArray,bool)), 74 ((bncApp*)qApp), SLOT(slotMessage(const QByteArray,bool))); 75 76 connect(((bncApp*)qApp), SIGNAL(newCorrections(QList<QString>)), 77 this, SLOT(slotNewCorrections(QList<QString>))); 78 } 76 79 } 77 80
Note:
See TracChangeset
for help on using the changeset viewer.