- Timestamp:
- Aug 9, 2014, 10:00:20 AM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppMain.cpp
r5898 r5900 57 57 ////////////////////////////////////////////////////////////////////////////// 58 58 t_pppMain::~t_pppMain() { 59 s lotStop();59 stop(); 60 60 } 61 61 … … 81 81 catch (t_except exc) { 82 82 _running = true; 83 s lotStop();83 stop(); 84 84 } 85 85 } … … 87 87 // 88 88 ////////////////////////////////////////////////////////////////////////////// 89 void t_pppMain::slotStop() { 90 91 cout << "t_pppMain::slotStop" << endl; 89 void t_pppMain::stop() { 92 90 93 91 if (!_running) { -
trunk/BNC/src/PPP/pppMain.h
r5870 r5900 8 8 namespace BNC_PPP { 9 9 10 class t_pppMain : public QObject { 11 Q_OBJECT 10 class t_pppMain { 12 11 public: 13 12 t_pppMain(); 14 13 ~t_pppMain(); 15 14 void start(); 16 public slots: 17 void slotStop(); 15 void stop(); 18 16 19 17 private: -
trunk/BNC/src/bnccore.cpp
r5899 r5900 868 868 _dateAndTimeGPS = new QDateTime(dateTime); 869 869 } 870 871 // 872 //////////////////////////////////////////////////////////////////////////// 873 void t_bncCore::startPPP() { 874 _pppMain->start(); 875 } 876 877 // 878 //////////////////////////////////////////////////////////////////////////// 879 void t_bncCore::stopPPP() { 880 _pppMain->stop(); 881 } -
trunk/BNC/src/bnccore.h
r5899 r5900 71 71 void setMainWindow(QWidget* mainWindow){_mainWindow = mainWindow;} 72 72 bool GUIenabled() const {return _GUIenabled;} 73 BNC_PPP::t_pppMain* pppMain() {return _pppMain;} 73 void startPPP(); 74 void stopPPP(); 74 75 75 76 QMap<int, bncTableItem*> _uploadTableItems; -
trunk/BNC/src/bncgetthread.cpp
r5899 r5900 413 413 cout << "no more data" << endl; 414 414 BNC_CORE->stopCombination(); 415 BNC_CORE-> pppMain()->deleteLater();415 BNC_CORE->stopPPP(); 416 416 emit finished(); 417 417 this->deleteLater(); -
trunk/BNC/src/bncmain.cpp
r5899 r5900 53 53 #include "rinex/reqcedit.h" 54 54 #include "rinex/reqcanalyze.h" 55 #include "PPP/pppMain.h"56 55 57 56 using namespace std; … … 192 191 // PPP Client(s) (in separate threads) 193 192 // ----------------------------------- 194 BNC_CORE-> pppMain()->start();193 BNC_CORE->startPPP(); 195 194 196 195 // Normal case - data from Internet -
trunk/BNC/src/bncwindow.cpp
r5899 r5900 66 66 #include "rinex/reqcedit.h" 67 67 #include "rinex/reqcanalyze.h" 68 #include "PPP/pppMain.h"69 68 #ifdef QT_WEBKIT 70 69 # include "map/bncmapwin.h" … … 1653 1652 startRealTime(); 1654 1653 } 1655 BNC_CORE-> pppMain()->start();1654 BNC_CORE->startPPP(); 1656 1655 } 1657 1656 … … 1726 1725 QMessageBox::NoButton); 1727 1726 if (iRet == QMessageBox::Yes) { 1728 BNC_CORE-> pppMain()->slotStop();1727 BNC_CORE->stopPPP(); 1729 1728 BNC_CORE->stopCombination(); 1730 1729 delete _caster; _caster = 0; BNC_CORE->setCaster(0); … … 1751 1750 } 1752 1751 1753 BNC_CORE-> pppMain()->slotStop();1752 BNC_CORE->stopPPP(); 1754 1753 1755 1754 QMainWindow::closeEvent(event);
Note:
See TracChangeset
for help on using the changeset viewer.