Changeset 1225 in ntrip


Ignore:
Timestamp:
Nov 22, 2008, 2:54:46 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.cpp

    r1224 r1225  
    403403      bncGetThread* getThread = new bncGetThread(url, format, latitude,
    404404                                                 longitude, nmea, iMount);
    405      
    406       bncApp* app = (bncApp*) qApp;
    407       app->connect(getThread, SIGNAL(newMessage(QByteArray)),
    408                    app, SLOT(slotMessage(const QByteArray)));
    409405      addGetThread(getThread);
    410406    }
  • trunk/BNC/bncgetthread.cpp

    r1218 r1225  
    108108////////////////////////////////////////////////////////////////////////////
    109109void bncGetThread::initialize() {
     110
     111     
     112  bncApp* app = (bncApp*) qApp;
     113  app->connect(this, SIGNAL(newMessage(QByteArray)),
     114               app, SLOT(slotMessage(const QByteArray)));
    110115
    111116  _decoder    = 0;
  • trunk/BNC/bncmain.cpp

    r1179 r1225  
    164164
    165165    app.connect(caster, SIGNAL(getThreadErrors()), &app, SLOT(quit()));
    166     app.connect(caster, SIGNAL(newMessage(QByteArray)),
    167                 &app, SLOT(slotMessage(QByteArray)));
    168166 
    169167    ((bncApp*)qApp)->slotMessage("============ Start BNC ============");
     
    194192
    195193      bncGetThread* getThread = new bncGetThread(fileName, format);
    196       app.connect(getThread, SIGNAL(newMessage(QByteArray)),
    197                   &app, SLOT(slotMessage(const QByteArray)));
    198      
    199194      caster->addGetThread(getThread);
    200195    }
Note: See TracChangeset for help on using the changeset viewer.