Changeset 5066 in ntrip for trunk/BNC/src/rinex/reqcanalyze.cpp


Ignore:
Timestamp:
Mar 30, 2013, 11:31:00 AM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r4718 r5066  
    101101  delete _log;     _log     = 0;
    102102  delete _logFile; _logFile = 0;
    103   bncApp* app = (bncApp*) qApp;
    104   if ( app->mode() != bncApp::interactive) {
    105     app->exit(0);
     103  if (PGM_CORE->mode() != t_pgmCore::interactive) {
     104    qApp->exit(0);
    106105  }
    107106}
     
    117116                                   double maxValue) {
    118117
    119   bncApp* app = dynamic_cast<bncApp*>(qApp);
    120   if (app->GUIenabled()) {
     118  if (PGM_CORE->GUIenabled()) {
    121119
    122120    if (maxValue == 0.0) {
     
    144142    if (data1) {
    145143      t_polarPlot* plot1 = new t_polarPlot(QwtText(title1), scaleInterval,
    146                                           app->mainWindow());
     144                                          PGM_CORE->mainWindow());
    147145      plot1->addCurve(data1);
    148146      plots << plot1;
     
    150148    if (data2) {
    151149      t_polarPlot* plot2 = new t_polarPlot(QwtText(title2), scaleInterval,
    152                                            app->mainWindow());
     150                                           PGM_CORE->mainWindow());
    153151      plot2->addCurve(data2);
    154152      plots << plot2;
     
    298296  // Show the plots
    299297  // --------------
    300   if (dynamic_cast<bncApp*>(qApp)->GUIenabled()) {
     298  if (PGM_CORE->GUIenabled()) {
    301299    QFileInfo  fileInfo(obsFile->fileName());
    302300    QByteArray title = fileInfo.fileName().toAscii();
     
    653651                                     const QByteArray& title) {
    654652
    655   if (dynamic_cast<bncApp*>(qApp)->GUIenabled()) {
     653  if (PGM_CORE->GUIenabled()) {
    656654    t_availPlot* plotA = new t_availPlot(0, &_availDataMap);
    657655    plotA->setTitle(title);
Note: See TracChangeset for help on using the changeset viewer.