Changeset 8260 in ntrip for trunk/BNC/src/map/bncmapwin.h


Ignore:
Timestamp:
Jan 18, 2018, 11:34:35 AM (6 years ago)
Author:
stuerze
Message:

see #105: adaptations to allow for QtWebkit or QtWebEngine according to it's availability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/map/bncmapwin.h

    r8252 r8260  
    2626#define BNCMAPWIN_H
    2727
     28#ifdef QT_WEBENGINE
     29  #include <QWebEngineView>
     30#else
     31  #include <QWebView>
     32#endif
     33#include <QLabel>
     34#include <QHBoxLayout>
     35#include <QWebFrame>
    2836#include <QByteArray>
    2937#include <QDialog>
     
    4048
    4149 signals:
    42   void mapClosed(); 
     50  void mapClosed();
    4351
    4452 public slots:
     
    5462  void loadHtmlPage();
    5563  void gotoLocation(double lat, double lon);
    56   QWebView*  _webView;
     64#ifdef QT_WEBENGINE
     65  QWebEngineView*  _webView;
     66#else
     67  QWebView*        _webView;
     68#endif
    5769  QLabel*    _statusLabel;
    5870  double     _currLat;
Note: See TracChangeset for help on using the changeset viewer.