Changeset 1171 in ntrip
- Timestamp:
- Oct 27, 2008, 3:57:29 PM (17 years ago)
- Location:
- trunk/BNC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/bncapp.cpp ¶
r1166 r1171 152 152 153 153 messagePrivate(msg); 154 emit newMessage(msg); 154 155 } 155 156 -
TabularUnified trunk/BNC/bnccaster.cpp ¶
r1170 r1171 92 92 93 93 _confTimer = 0; 94 95 connect(this, SIGNAL(newMessage(QByteArray)), 96 (bncApp*) qApp, SLOT(slotMessage(const QByteArray))); 94 97 } 95 98 … … 358 361 app->connect(getThread, SIGNAL(newMessage(QByteArray)), 359 362 app, SLOT(slotMessage(const QByteArray))); 360 361 std::cout << "newThread " << getThread->staID().data() << std::endl;362 363 363 addGetThread(getThread); 364 364 } … … 385 385 386 386 if (!existFlg) { 387 std::cout << "old Thread " << thread->staID().data() << std::endl;388 387 disconnect(thread, 0, 0, 0); 389 388 _staIDs.removeAll(thread->staID()); -
TabularUnified trunk/BNC/bncwindow.cpp ¶
r1170 r1171 63 63 64 64 setWindowTitle(tr("BKG Ntrip Client (BNC) Version 1.6")); 65 66 connect((bncApp*)qApp, SIGNAL(newMessage(QByteArray)), 67 this, SLOT(slotMessage(QByteArray))); 65 68 66 69 // Create Actions … … 654 657 //////////////////////////////////////////////////////////////////////////// 655 658 void bncWindow::slotGetThreadErrors() { 656 slotMessage("All Get Threads Terminated");657 659 ((bncApp*)qApp)->slotMessage("All Get Threads Terminated"); 658 660 _actAddMountPoints->setEnabled(true); … … 679 681 this, SLOT(slotGetThreadErrors())); 680 682 681 connect(_caster, SIGNAL(newMessage(QByteArray)),682 this, SLOT(slotMessage(QByteArray)));683 connect(_caster, SIGNAL(newMessage(QByteArray)),684 (bncApp*)qApp, SLOT(slotMessage(QByteArray)));685 connect((bncApp*)qApp, SIGNAL(newMessage(QByteArray)),686 this, SLOT(slotMessage(QByteArray)));687 688 683 _caster->slotReadMountpoints(); 689 684 690 slotMessage ("============ Start BNC ============");691 685 ((bncApp*)qApp)->slotMessage("============ Start BNC ============"); 692 686 } -
TabularUnified trunk/BNC/bncwindow.h ¶
r1170 r1171 58 58 59 59 public slots: 60 void slotMessage(const QByteArray msg);61 60 62 61 private slots: 62 void slotMessage(const QByteArray msg); 63 63 void slotHelp(); 64 64 void slotAbout();
Note:
See TracChangeset
for help on using the changeset viewer.