qtmobility/examples/fetchgooglemaps/mapwindow.h
changeset 11 06b8e2af4411
parent 5 453da2cfceef
equal deleted inserted replaced
8:71781823f776 11:06b8e2af4411
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the Qt Mobility Components.
     7 ** This file is part of the Qt Mobility Components.
     8 **
     8 **
    51 QT_END_NAMESPACE
    51 QT_END_NAMESPACE
    52 
    52 
    53 QTM_BEGIN_NAMESPACE
    53 QTM_BEGIN_NAMESPACE
    54 class QGeoPositionInfo;
    54 class QGeoPositionInfo;
    55 class QGeoPositionInfoSource;
    55 class QGeoPositionInfoSource;
    56 #ifndef Q_WS_MAEMO_5
       
    57 class QNetworkSession;
    56 class QNetworkSession;
    58 #endif
       
    59 QTM_END_NAMESPACE
    57 QTM_END_NAMESPACE
    60 
    58 
    61 QTM_USE_NAMESPACE
    59 QTM_USE_NAMESPACE
    62 
    60 
    63 class MapWindow : public QMainWindow
    61 class MapWindow : public QMainWindow
    79     QWebView *webView;
    77     QWebView *webView;
    80     QLabel *posLabel;
    78     QLabel *posLabel;
    81     QLabel *headingAndSpeedLabel;
    79     QLabel *headingAndSpeedLabel;
    82     QLabel *dateTimeLabel;
    80     QLabel *dateTimeLabel;
    83     bool loading;
    81     bool loading;
    84 #ifndef Q_WS_MAEMO_5
       
    85     QTM_PREPEND_NAMESPACE(QNetworkSession) *session;
    82     QTM_PREPEND_NAMESPACE(QNetworkSession) *session;
    86 #endif
       
    87     bool usingLogFile;
    83     bool usingLogFile;
    88     QGeoPositionInfoSource *location;
    84     QGeoPositionInfoSource *location;
    89     bool waitingForFix;
    85     bool waitingForFix;
    90 };
    86 };
    91 
    87