Index: trunk/BNC/src/PPP_SSR_I/pppFilter.h
===================================================================
--- trunk/BNC/src/PPP_SSR_I/pppFilter.h	(revision 8125)
+++ trunk/BNC/src/PPP_SSR_I/pppFilter.h	(revision 8127)
@@ -90,5 +90,5 @@
   double       lkB;
   unsigned     obsIndex;
-  char system() const {return prn.toAscii()[0];}
+  char system() const {return prn.toLatin1()[0];}
 };
 
Index: trunk/BNC/src/bnccaster.cpp
===================================================================
--- trunk/BNC/src/bnccaster.cpp	(revision 8125)
+++ trunk/BNC/src/bnccaster.cpp	(revision 8127)
@@ -208,5 +208,5 @@
           emit( newMessage(QString("%1: Old epoch %2 thrown away")
                  .arg(staID.data()).arg(string(obs._time).c_str())
-               .toAscii(), true) );
+               .toLatin1(), true) );
         }
       }
@@ -232,5 +232,5 @@
   _sockets->push_back( _server->nextPendingConnection() );
   emit( newMessage(QString("New client connection on sync port: # %1")
-                   .arg(_sockets->size()).toAscii(), true) );
+                   .arg(_sockets->size()).toLatin1(), true) );
 }
 
@@ -238,5 +238,5 @@
   _uSockets->push_back( _uServer->nextPendingConnection() );
   emit( newMessage(QString("New client connection on usync port: # %1")
-                   .arg(_uSockets->size()).toAscii(), true) );
+                   .arg(_uSockets->size()).toLatin1(), true) );
 }
 
@@ -286,5 +286,5 @@
   _staIDs.removeAll(staID);
   emit( newMessage(
-           QString("Decoding %1 stream(s)").arg(_staIDs.size()).toAscii(), true) );
+           QString("Decoding %1 stream(s)").arg(_staIDs.size()).toLatin1(), true) );
   if (_staIDs.size() == 0) {
     emit(newMessage("bncCaster: Last get thread terminated", true));
@@ -406,9 +406,9 @@
     // ----------------
     if (!existFlg) {
-      QByteArray format    = hlp[1].toAscii();
-      QByteArray latitude  = hlp[3].toAscii();
-      QByteArray longitude = hlp[4].toAscii();
-      QByteArray nmea      = hlp[5].toAscii();
-      QByteArray ntripVersion = hlp[6].toAscii();
+      QByteArray format    = hlp[1].toLatin1();
+      QByteArray latitude  = hlp[3].toLatin1();
+      QByteArray longitude = hlp[4].toLatin1();
+      QByteArray nmea      = hlp[5].toLatin1();
+      QByteArray ntripVersion = hlp[6].toLatin1();
 
       bncGetThread* getThread = new bncGetThread(url, format, latitude,
@@ -450,5 +450,5 @@
                            + BNC_CORE->confFileName()
                            + ", %1 stream(s)")
-                            .arg(_threads.count()).toAscii(), true) );
+                            .arg(_threads.count()).toLatin1(), true) );
 
   // (Re-) Start the configuration timer
@@ -555,4 +555,4 @@
   _miscSockets->push_back( _miscServer->nextPendingConnection() );
   emit( newMessage(QString("New client connection on Miscellaneous Output Port: # %1")
-                   .arg(_miscSockets->size()).toAscii(), true) );
-}
+                   .arg(_miscSockets->size()).toLatin1(), true) );
+}
Index: trunk/BNC/src/bnccore.cpp
===================================================================
--- trunk/BNC/src/bnccore.cpp	(revision 8125)
+++ trunk/BNC/src/bnccore.cpp	(revision 8127)
@@ -170,5 +170,5 @@
       expandEnvVar(logFileName);
       _logFile = new QFile(logFileName + "_" +
-                          currDate.toString("yyMMdd").toAscii().data());
+                          currDate.toString("yyMMdd").toLatin1().data());
       _fileDate = currDate;
       if ( Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked) {
@@ -189,5 +189,5 @@
       msgLocal = msg.mid(1);
     }
-    *_logStream << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toAscii().data();
+    *_logStream << currentDateAndTimeGPS().toString("yy-MM-dd hh:mm:ss ").toLatin1().data();
     *_logStream << msgLocal.data() << endl;
     _logStream->flush();
@@ -202,9 +202,9 @@
   t_irc ircPut = _ephUser.putNewEph(eph, true);
   if      (eph->checkState() == t_eph::bad) {
-    messagePrivate("WRONG EPHEMERIS\n" + eph->toString(3.0).toAscii());
+    messagePrivate("WRONG EPHEMERIS\n" + eph->toString(3.0).toLatin1());
     return failure;
   }
   else if (eph->checkState() == t_eph::outdated) {
-    messagePrivate("OUTDATED EPHEMERIS\n" + eph->toString(3.0).toAscii());
+    messagePrivate("OUTDATED EPHEMERIS\n" + eph->toString(3.0).toLatin1());
     return failure;
   }
@@ -270,5 +270,5 @@
     comments.append("Source: " + decoder +
                     " " + url.encodedHost() +
-                    "/" + url.path().mid(1).toAscii());
+                    "/" + url.path().mid(1).toLatin1());
   }
 
@@ -388,11 +388,11 @@
         line.sprintf(
           "%9.2f%11sN: GNSS NAV DATA    M: Mixed%12sRINEX VERSION / TYPE\n",
-          t_rnxNavFile::defaultRnxNavVersion3, "", "");
+          defaultRnxNavVersion3, "", "");
         *_ephStreamGPS << line;
 
         QString hlp = currentDateAndTimeGPS().toString("yyyyMMdd hhmmss UTC").leftJustified(20, ' ', true);
-        *_ephStreamGPS << _pgmName.toAscii().data()
-                       << _userName.toAscii().data()
-                       << hlp.toAscii().data()
+        *_ephStreamGPS << _pgmName.toLatin1().data()
+                       << _userName.toLatin1().data()
+                       << hlp.toLatin1().data()
                        << "PGM / RUN BY / DATE" << endl;
 
@@ -415,11 +415,11 @@
         QString line;
         line.sprintf("%9.2f%11sN: GPS NAV DATA%25sRINEX VERSION / TYPE\n",
-                     t_rnxNavFile::defaultRnxNavVersion2, "", "");
+                     defaultRnxNavVersion2, "", "");
         *_ephStreamGPS << line;
 
         QString hlp = currentDateAndTimeGPS().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true);
-        *_ephStreamGPS << _pgmName.toAscii().data()
-                       << _userName.toAscii().data()
-                       << hlp.toAscii().data()
+        *_ephStreamGPS << _pgmName.toLatin1().data()
+                       << _userName.toLatin1().data()
+                       << hlp.toLatin1().data()
                        << "PGM / RUN BY / DATE" << endl;
 
@@ -437,11 +437,11 @@
         QString line;
         line.sprintf("%9.2f%11sG: GLONASS NAV DATA%21sRINEX VERSION / TYPE\n",
-                     t_rnxNavFile::defaultRnxNavVersion2, "", "");
+                     defaultRnxNavVersion2, "", "");
         *_ephStreamGlonass << line;
 
         QString hlp = currentDateAndTimeGPS().date().toString("dd-MMM-yyyy").leftJustified(20, ' ', true);
-        *_ephStreamGlonass << _pgmName.toAscii().data()
-                           << _userName.toAscii().data()
-                           << hlp.toAscii().data()
+        *_ephStreamGlonass << _pgmName.toLatin1().data()
+                           << _userName.toLatin1().data()
+                           << hlp.toLatin1().data()
                            << "PGM / RUN BY / DATE" << endl;
 
@@ -464,6 +464,6 @@
 void t_bncCore::printEph(const t_eph& eph, bool printFile) {
 
-  QString strV2 = eph.toString(t_rnxNavFile::defaultRnxNavVersion2);
-  QString strV3 = eph.toString(t_rnxObsHeader::defaultRnxObsVersion3);
+  QString strV2 = eph.toString(defaultRnxNavVersion2);
+  QString strV3 = eph.toString(defaultRnxObsVersion3);
 
   if     (_rinexVers == 2 && eph.type() == t_eph::GLONASS) {
@@ -487,8 +487,8 @@
   if (printFile && stream) {
     if (_rinexVers == 2) {
-      *stream << strV2.toAscii();
+      *stream << strV2.toLatin1();
     }
     else {
-      *stream << strV3.toAscii();
+      *stream << strV3.toLatin1();
     }
     stream->flush();
@@ -502,5 +502,5 @@
       QTcpSocket* sock = is.next();
       if (sock->state() == QAbstractSocket::ConnectedState) {
-        if (sock->write(strV3.toAscii()) == -1) {
+        if (sock->write(strV3.toLatin1()) == -1) {
           delete sock;
           is.remove();
Index: trunk/BNC/src/bncfigureppp.h
===================================================================
--- trunk/BNC/src/bncfigureppp.h	(revision 8125)
+++ trunk/BNC/src/bncfigureppp.h	(revision 8127)
@@ -43,5 +43,5 @@
 
  private:
-  const static double _tRange = 300;
+  enum {_tRange = 300};
 
   class pppPos {
Index: trunk/BNC/src/bncgetthread.cpp
===================================================================
--- trunk/BNC/src/bncgetthread.cpp	(revision 8125)
+++ trunk/BNC/src/bncgetthread.cpp	(revision 8127)
@@ -43,8 +43,12 @@
 #include <sstream>
 
+#include <QComboBox>
+#include <QDialog>
 #include <QFile>
 #include <QTextStream>
 #include <QMutex>
 #include <QtNetwork>
+#include <QPushButton>
+#include <QTableWidget>
 #include <QTime>
 
@@ -90,5 +94,5 @@
   _rawFile = 0;
   _mountPoint = mountPoint;
-  _staID = mountPoint.path().mid(1).toAscii();
+  _staID = mountPoint.path().mid(1).toLatin1();
   _format = format;
   _latitude = latitude;
@@ -134,5 +138,5 @@
       continue;
     }
-    QByteArray mp = hlp[0].toAscii();
+    QByteArray mp = hlp[0].toLatin1();
     if (_staID == mp) {
       nmeaPort = hlp[9].toInt();
@@ -275,5 +279,5 @@
         hlp = "0.0";
       }
-      QByteArray _serialHeightNMEA = hlp.toAscii();
+      QByteArray _serialHeightNMEA = hlp.toLatin1();
       _manualNMEAString = ggaString(_latitude, _longitude, _serialHeightNMEA,
           nmeaMode);
@@ -603,5 +607,5 @@
             QString prn(obs._prn.toString().c_str());
             emit(newMessage(
-                _staID + " (" + prn.toAscii() + ")"
+                _staID + " (" + prn.toLatin1() + ")"
                     + ": Wrong observation epoch(s)", false));
             continue;
@@ -619,5 +623,5 @@
             long oldTime = it.value();
             if (obsTime < oldTime) {
-              emit(newMessage(_staID + ": old observation " + prn.toAscii(),
+              emit(newMessage(_staID + ": old observation " + prn.toLatin1(),
                   false));
               continue;
@@ -625,5 +629,5 @@
               emit(newMessage(
                   _staID + ": observation coming more than once "
-                      + prn.toAscii(), false));
+                      + prn.toLatin1(), false));
               continue;
             }
@@ -774,5 +778,5 @@
       for (int ii = 0; ii < decoder()->_typeList.size(); ii++) {
         QString type = QString("%1 ").arg(decoder()->_typeList[ii]);
-        emit(newMessage(_staID + ": Received message type " + type.toAscii(),
+        emit(newMessage(_staID + ": Received message type " + type.toLatin1(),
             true));
       }
@@ -847,5 +851,5 @@
             str << " " << rnxTypes[iType];
           }
-          emit(newMessage(_staID + ": Observation Types: " + msg.toAscii(),
+          emit(newMessage(_staID + ": Observation Types: " + msg.toLatin1(),
               true));
         }
@@ -856,5 +860,5 @@
       for (int ii = 0; ii < decoder()->_antType.size(); ii++) {
         QString ant1 = QString("%1 ").arg(decoder()->_antType[ii]);
-        emit(newMessage(_staID + ": Antenna descriptor " + ant1.toAscii(), true));
+        emit(newMessage(_staID + ": Antenna descriptor " + ant1.toLatin1(), true));
       }
 
@@ -870,9 +874,9 @@
         QByteArray ant1, ant2, ant3;
         ant1 =
-            QString("%1 ").arg(decoder()->_antList[ii].xx, 0, 'f', 4).toAscii();
+            QString("%1 ").arg(decoder()->_antList[ii].xx, 0, 'f', 4).toLatin1();
         ant2 =
-            QString("%1 ").arg(decoder()->_antList[ii].yy, 0, 'f', 4).toAscii();
+            QString("%1 ").arg(decoder()->_antList[ii].yy, 0, 'f', 4).toLatin1();
         ant3 =
-            QString("%1 ").arg(decoder()->_antList[ii].zz, 0, 'f', 4).toAscii();
+            QString("%1 ").arg(decoder()->_antList[ii].zz, 0, 'f', 4).toLatin1();
         emit(newMessage(_staID + ": " + antT + " (ITRF) X " + ant1 + "m", true));
         emit(newMessage(_staID + ": " + antT + " (ITRF) Y " + ant2 + "m", true));
@@ -881,5 +885,5 @@
         if (decoder()->_antList[ii].height_f) {
           hh = decoder()->_antList[ii].height;
-          QByteArray ant4 = QString("%1 ").arg(hh, 0, 'f', 4).toAscii();
+          QByteArray ant4 = QString("%1 ").arg(hh, 0, 'f', 4).toLatin1();
           emit(newMessage(
               _staID + ": Antenna height above marker " + ant4 + "m", true));
@@ -902,5 +906,5 @@
           _gloSlots.sort();
           emit(newMessage(
-              _staID + ": GLONASS Slot:Freq " + _gloSlots.join(" ").toAscii(),
+              _staID + ": GLONASS Slot:Freq " + _gloSlots.join(" ").toLatin1(),
               true));
         }
@@ -983,5 +987,5 @@
   _nmeaSockets->push_back(_nmeaServer->nextPendingConnection());
   emit(newMessage(
-      QString("New PPP client on port: # %1").arg(_nmeaSockets->size()).toAscii(),
+      QString("New PPP client on port: # %1").arg(_nmeaSockets->size()).toLatin1(),
       true));
 }
Index: trunk/BNC/src/bncmap_svg.cpp
===================================================================
--- trunk/BNC/src/bncmap_svg.cpp	(revision 8125)
+++ trunk/BNC/src/bncmap_svg.cpp	(revision 8127)
@@ -247,5 +247,5 @@
     QwtPlotRenderer renderer;
     renderer.setDiscardFlag(QwtPlotRenderer::DiscardBackground, false);
-    renderer.setLayoutFlag(QwtPlotRenderer::KeepFrames, true);
+    //renderer.setLayoutFlag(QwtPlotRenderer::KeepFrames, true);
     renderer.renderTo(_mapPlot, printer);
   }
Index: trunk/BNC/src/bncrinex.cpp
===================================================================
--- trunk/BNC/src/bncrinex.cpp	(revision 8125)
+++ trunk/BNC/src/bncrinex.cpp	(revision 8127)
@@ -124,5 +124,5 @@
       QStringList tags = line.split(";");
       if (tags.size() > 7) {
-        if (tags.at(1) == _mountPoint.path().mid(1).toAscii()) {
+        if (tags.at(1) == _mountPoint.path().mid(1).toLatin1()) {
           net = tags.at(7);
           break;
@@ -368,5 +368,5 @@
   }
 
-  _fName = path.toAscii();
+  _fName = path.toLatin1();
 }
 
Index: trunk/BNC/src/bnctabledlg.cpp
===================================================================
--- trunk/BNC/src/bnctabledlg.cpp	(revision 8125)
+++ trunk/BNC/src/bnctabledlg.cpp	(revision 8127)
@@ -40,4 +40,9 @@
 
 #include <iostream>
+#include <QHeaderView>
+#include <QLabel>
+#include <QLineEdit>
+#include <QMessageBox>
+#include <QVBoxLayout>
 
 #include "bnctabledlg.h"
@@ -492,7 +497,7 @@
     if (url.host() == newHost) {
       _casterUserLineEdit->setText(
-                QUrl::fromPercentEncoding(url.userName().toAscii()));
+                QUrl::fromPercentEncoding(url.userName().toLatin1()));
       _casterPasswordLineEdit->setText(
-                QUrl::fromPercentEncoding(url.password().toAscii()));
+                QUrl::fromPercentEncoding(url.password().toLatin1()));
       if (url.port() > 0) {
         _casterPortLineEdit->setText(QString("%1").arg(url.port()));
Index: trunk/BNC/src/bnctabledlg.h
===================================================================
--- trunk/BNC/src/bnctabledlg.h	(revision 8125)
+++ trunk/BNC/src/bnctabledlg.h	(revision 8127)
@@ -28,4 +28,8 @@
 #include <QtCore>
 #include <QtGui>
+#include <QComboBox>
+#include <QDialog>
+#include <QPushButton>
+#include <QTableWidget>
 #include <QWhatsThis>
 
Index: trunk/BNC/src/bncwindow.cpp
===================================================================
--- trunk/BNC/src/bncwindow.cpp	(revision 8125)
+++ trunk/BNC/src/bncwindow.cpp	(revision 8127)
@@ -40,4 +40,24 @@
 
 #include <iostream>
+
+#include <QAction>
+#include <QApplication>
+#include <QCheckBox>
+#include <QComboBox>
+#include <QDialog>
+#include <QFontDialog>
+#include <QGridLayout>
+#include <QHeaderView>
+#include <QLabel>
+#include <QLineEdit>
+#include <QMenu>
+#include <QMenuBar>
+#include <QMessageBox>
+#include <QPushButton>
+#include <QRadioButton>
+#include <QSpinBox>
+#include <QTableWidgetItem>
+#include <QTextEdit>
+#include <QToolBar>
 
 #include <unistd.h>
@@ -409,5 +429,9 @@
   _mountPointsTable->horizontalHeader()->resizeSection(6,5*ww);
   _mountPointsTable->horizontalHeader()->resizeSection(7,5*ww);
+#if QT_VERSION < 0x050000
   _mountPointsTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
+#else
+  _mountPointsTable->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive);
+#endif
   _mountPointsTable->horizontalHeader()->setStretchLastSection(true);
   _mountPointsTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft);
@@ -439,5 +463,9 @@
   _cmbTable->horizontalHeader()->resizeSection(1,8*ww);
   _cmbTable->horizontalHeader()->resizeSection(2,8*ww);
+#if QT_VERSION < 0x050000
   _cmbTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
+#else
+  _cmbTable->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive);
+#endif
   _cmbTable->horizontalHeader()->setStretchLastSection(true);
   _cmbTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft);
@@ -501,5 +529,9 @@
   _uploadTable->horizontalHeader()->resizeSection(10, 4*ww);
   _uploadTable->horizontalHeader()->resizeSection(11,12*ww);
+#if QT_VERSION < 0x050000
   _uploadTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
+#else
+  _uploadTable->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive);
+#endif
   _uploadTable->horizontalHeader()->setStretchLastSection(true);
   _uploadTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft);
@@ -576,5 +608,9 @@
   _uploadEphTable->horizontalHeader()->resizeSection( 4,10*ww);
   _uploadEphTable->horizontalHeader()->resizeSection( 5,12*ww);
+#if QT_VERSION < 0x050000
   _uploadEphTable->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
+#else
+  _uploadEphTable->horizontalHeader()->setSectionResizeMode(QHeaderView::Interactive);
+#endif
   _uploadEphTable->horizontalHeader()->setDefaultAlignment(Qt::AlignLeft);
 
@@ -2077,5 +2113,5 @@
            this, SLOT(slotMountPointsRead(QList<bncGetThread*>)));
 
-  BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION" ("BNC_OS") ==========", true);
+  BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " (" BNC_OS ") ==========", true);
 
   bncSettings settings;
@@ -2317,5 +2353,5 @@
   img->setPixmap(QPixmap(":ntrip-logo.png"));
   dlgLayout->addWidget(img, 0,0);
-  dlgLayout->addWidget(new QLabel("BKG Ntrip Client (BNC) Version "BNCVERSION), 0,1);
+  dlgLayout->addWidget(new QLabel("BKG Ntrip Client (BNC) Version " BNCVERSION), 0,1);
   dlgLayout->addWidget(tb,1,0,1,2);
   dlgLayout->addWidget(_closeButton,2,1,Qt::AlignRight);
Index: trunk/BNC/src/bncwindow.h
===================================================================
--- trunk/BNC/src/bncwindow.h	(revision 8125)
+++ trunk/BNC/src/bncwindow.h	(revision 8127)
@@ -27,4 +27,5 @@
 
 #include <QtGui>
+#include <QMainWindow>
 #include <QWhatsThis>
 
Index: trunk/BNC/src/rinex/availplot.cpp
===================================================================
--- trunk/BNC/src/rinex/availplot.cpp	(revision 8125)
+++ trunk/BNC/src/rinex/availplot.cpp	(revision 8127)
@@ -75,5 +75,5 @@
 
   setCanvasBackground(QColor(Qt::white));
-  canvas()->setFrameStyle(QFrame::NoFrame | QFrame::Plain);
+  ((QwtPlotCanvas *)canvas())->setFrameStyle(QFrame::NoFrame | QFrame::Plain);
 
   // Axes
@@ -203,5 +203,9 @@
                                     const QVector<double>& yData) {
   QwtPlotCurve* curve = new QwtPlotCurve(name);
-  curve->setSymbol(new QwtSymbol(symbol));
+  QwtSymbol *s = new QwtSymbol(symbol.style());
+  s->setSize(symbol.size());
+  s->setBrush(symbol.brush());
+  s->setPen(symbol.pen());
+  curve->setSymbol(s);
   curve->setStyle(QwtPlotCurve::NoCurve);
   curve->setXAxis(QwtPlot::xBottom);
Index: trunk/BNC/src/rinex/dopplot.cpp
===================================================================
--- trunk/BNC/src/rinex/dopplot.cpp	(revision 8125)
+++ trunk/BNC/src/rinex/dopplot.cpp	(revision 8127)
@@ -65,5 +65,5 @@
 
   setCanvasBackground(QColor(Qt::white));
-  canvas()->setFrameStyle(QFrame::NoFrame | QFrame::Plain);
+  ((QwtPlotCanvas *)canvas())->setFrameStyle(QFrame::NoFrame | QFrame::Plain);
 
   // Axes
Index: trunk/BNC/src/rinex/eleplot.cpp
===================================================================
--- trunk/BNC/src/rinex/eleplot.cpp	(revision 8125)
+++ trunk/BNC/src/rinex/eleplot.cpp	(revision 8127)
@@ -65,5 +65,5 @@
 
   setCanvasBackground(QColor(Qt::white));
-  canvas()->setFrameStyle(QFrame::NoFrame | QFrame::Plain);
+  ((QwtPlotCanvas *)canvas())->setFrameStyle(QFrame::NoFrame | QFrame::Plain);
 
   // Axes
@@ -115,5 +115,9 @@
                                     const QVector<double>& yData) {
   QwtPlotCurve* curve = new QwtPlotCurve(name);
-  curve->setSymbol(new QwtSymbol(symbol));
+  QwtSymbol *s = new QwtSymbol(symbol.style());
+  s->setSize(symbol.size());
+  s->setBrush(symbol.brush());
+  s->setPen(symbol.pen());
+  curve->setSymbol(s);
   curve->setStyle(QwtPlotCurve::NoCurve);
   curve->setXAxis(QwtPlot::xBottom);
Index: trunk/BNC/src/rinex/graphwin.cpp
===================================================================
--- trunk/BNC/src/rinex/graphwin.cpp	(revision 8125)
+++ trunk/BNC/src/rinex/graphwin.cpp	(revision 8127)
@@ -89,6 +89,6 @@
     
      QwtLinearScaleEngine scaleEngine;
-     _colorScale->setScaleDiv(scaleEngine.transformation(),
-                              scaleEngine.divideScale(scaleInterval->minValue(),
+     _colorScale->setTransformation(scaleEngine.transformation());
+     _colorScale->setScaleDiv(scaleEngine.divideScale(scaleInterval->minValue(),
                                                       scaleInterval->maxValue(),
                                                       8, 5));
Index: trunk/BNC/src/rinex/polarplot.cpp
===================================================================
--- trunk/BNC/src/rinex/polarplot.cpp	(revision 8125)
+++ trunk/BNC/src/rinex/polarplot.cpp	(revision 8127)
@@ -32,5 +32,6 @@
   t_colorMap colorMap;
   for (int ii = from; ii <= to; ii++) {
-    QwtSymbol ss(symbol);
+    QwtSymbol ss(symbol.style());
+    ss.setSize(symbol.size());
     const QwtPointPolar& point = sample(ii);
     const QColor color = colorMap.color(_scaleInterval, point._value);
Index: trunk/BNC/src/rinex/polarplot.h
===================================================================
--- trunk/BNC/src/rinex/polarplot.h	(revision 8125)
+++ trunk/BNC/src/rinex/polarplot.h	(revision 8127)
@@ -51,5 +51,5 @@
   virtual QwtPointPolar sample(size_t ii) const {
     const t_polarPoint* point = _data->at(ii);
-    QwtPointPolar qp(point->_az, point->_zen); qp._value = point->_value;
+    QwtPointPolar qp(point->_az, point->_zen);  qp._value = point->_value;
     return qp;
   }
Index: trunk/BNC/src/rinex/reqcedit.cpp
===================================================================
--- trunk/BNC/src/rinex/reqcedit.cpp	(revision 8125)
+++ trunk/BNC/src/rinex/reqcedit.cpp	(revision 8127)
@@ -64,8 +64,8 @@
   int version     = settings.value("reqcRnxVersion").toInt();
   if (version < 3) {
-    _rnxVersion = t_rnxObsHeader::defaultRnxObsVersion2;
+    _rnxVersion = defaultRnxObsVersion2;
   }
   else {
-    _rnxVersion = t_rnxObsHeader::defaultRnxObsVersion3;
+    _rnxVersion = defaultRnxObsVersion3;
   }
   _samplingRate   = settings.value("reqcSampling").toInt();
@@ -578,8 +578,8 @@
 
   if ( (haveGPS && haveGlonass) || _rnxVersion >= 3.0) {
-    outNavFile.setVersion(t_rnxNavFile::defaultRnxNavVersion3);
+    outNavFile.setVersion(defaultRnxNavVersion3);
   }
   else {
-    outNavFile.setVersion(t_rnxNavFile::defaultRnxNavVersion2);
+    outNavFile.setVersion(defaultRnxNavVersion2);
   }
 
Index: trunk/BNC/src/rinex/rnxnavfile.h
===================================================================
--- trunk/BNC/src/rinex/rnxnavfile.h	(revision 8125)
+++ trunk/BNC/src/rinex/rnxnavfile.h	(revision 8127)
@@ -35,11 +35,11 @@
 class t_eph;
 
+#define defaultRnxNavVersion2 2.11
+#define defaultRnxNavVersion3 3.03
+
 class t_rnxNavFile {
 
  public:
   enum e_inpOut {input, output};
-  static const double defaultRnxNavVersion2 = 2.11;
-  static const double defaultRnxNavVersion3 = 3.03;
-
  private:
   class t_rnxNavHeader {
Index: trunk/BNC/src/rinex/rnxobsfile.cpp
===================================================================
--- trunk/BNC/src/rinex/rnxobsfile.cpp	(revision 8125)
+++ trunk/BNC/src/rinex/rnxobsfile.cpp	(revision 8127)
@@ -166,5 +166,5 @@
     else if (key == "# / TYPES OF OBSERV") {
       if (_version == 0.0) {
-        _version = t_rnxObsHeader::defaultRnxObsVersion2;
+        _version = defaultRnxObsVersion2;
       }
       QTextStream* in = new QTextStream(value.toAscii(), QIODevice::ReadOnly);
@@ -190,5 +190,5 @@
     else if (key == "SYS / # / OBS TYPES") {
       if (_version == 0.0) {
-        _version = t_rnxObsHeader::defaultRnxObsVersion3;
+        _version = defaultRnxObsVersion3;
       }
       QTextStream* in = new QTextStream(value.toAscii(), QIODevice::ReadOnly);
@@ -307,8 +307,8 @@
 
   if (version <= 2) {
-    _version = t_rnxObsHeader::defaultRnxObsVersion2;
+    _version = defaultRnxObsVersion2;
   }
   else {
-    _version = t_rnxObsHeader::defaultRnxObsVersion3;
+    _version = defaultRnxObsVersion3;
   }
 
@@ -371,8 +371,8 @@
 
   if (version <= 2) {
-    _version = t_rnxObsHeader::defaultRnxObsVersion2;
+    _version = defaultRnxObsVersion2;
   }
   else {
-    _version = t_rnxObsHeader::defaultRnxObsVersion3;
+    _version = defaultRnxObsVersion3;
   }
   _interval        = header._interval;
Index: trunk/BNC/src/rinex/rnxobsfile.h
===================================================================
--- trunk/BNC/src/rinex/rnxobsfile.h	(revision 8125)
+++ trunk/BNC/src/rinex/rnxobsfile.h	(revision 8127)
@@ -38,4 +38,7 @@
 #include "satObs.h"
 
+#define defaultRnxObsVersion2 2.11
+#define defaultRnxObsVersion3 3.03
+
 class t_rnxObsHeader {
 
@@ -43,6 +46,4 @@
 
  public:
-  static const double  defaultRnxObsVersion2 = 2.11;
-  static const double  defaultRnxObsVersion3 = 3.03;
   static const QString defaultSystems;
 
