Changeset 1175 in ntrip
- Timestamp:
- Oct 27, 2008, 4:53:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/bncwindow.cpp ¶
r1174 r1175 38 38 * 39 39 * -----------------------------------------------------------------------*/ 40 41 #include <iostream> 40 42 41 43 #include <unistd.h> … … 788 790 //////////////////////////////////////////////////////////////////////////// 789 791 void bncWindow::slotNewGetThread(bncGetThread* thread) { 790 791 792 // connect(thread, SIGNAL(newBytes(QByteArray, double)), 793 // (bncTableItem*) _mountPointsTable->item(iRow, 6), 794 // SLOT(slotNewBytes(QByteArray, double))); 792 for (int iRow = 0; iRow < _mountPointsTable->rowCount(); iRow++) { 793 QUrl url( "//" + _mountPointsTable->item(iRow, 0)->text() + 794 "@" + _mountPointsTable->item(iRow, 1)->text() ); 795 if (url == thread->mountPoint() && 796 _mountPointsTable->item(iRow, 3)->text() == thread->latitude() && 797 _mountPointsTable->item(iRow, 4)->text() == thread->longitude() ) { 798 799 connect(thread, SIGNAL(newBytes(QByteArray, double)), 800 (bncTableItem*) _mountPointsTable->item(iRow, 6), 801 SLOT(slotNewBytes(QByteArray, double))); 802 break; 803 } 804 } 795 805 } 796 806
Note:
See TracChangeset
for help on using the changeset viewer.