equal
deleted
inserted
replaced
40 ****************************************************************************/ |
40 ****************************************************************************/ |
41 #include "qgeoareamonitor.h" |
41 #include "qgeoareamonitor.h" |
42 |
42 |
43 #if defined(Q_OS_SYMBIAN) && defined(QT_LOCATION_S60_MONITORING) |
43 #if defined(Q_OS_SYMBIAN) && defined(QT_LOCATION_S60_MONITORING) |
44 #include "qgeoareamonitor_s60_p.h" |
44 #include "qgeoareamonitor_s60_p.h" |
|
45 #elif defined(Q_WS_MAEMO_5) |
|
46 #include "qgeoareamonitor_maemo_p.h" |
45 #endif |
47 #endif |
46 |
48 |
47 /*! |
49 /*! |
48 \class QGeoAreaMonitor |
50 \class QGeoAreaMonitor |
49 \brief The QGeoAreaMonitor class enables the detection of proximity |
51 \brief The QGeoAreaMonitor class enables the detection of proximity |
172 { |
174 { |
173 #if defined(Q_OS_SYMBIAN) && defined(QT_LOCATION_S60_MONITORING) |
175 #if defined(Q_OS_SYMBIAN) && defined(QT_LOCATION_S60_MONITORING) |
174 QGeoAreaMonitor *ret = NULL; |
176 QGeoAreaMonitor *ret = NULL; |
175 TRAPD(error, ret = QGeoAreaMonitorS60::NewL(parent)); |
177 TRAPD(error, ret = QGeoAreaMonitorS60::NewL(parent)); |
176 return ret; |
178 return ret; |
|
179 #elif defined(Q_WS_MAEMO_5) |
|
180 QGeoAreaMonitorMaemo *ret = new QGeoAreaMonitorMaemo(parent); |
|
181 return ret; |
177 #else |
182 #else |
178 Q_UNUSED(parent); |
183 Q_UNUSED(parent); |
179 #endif |
184 #endif |
180 return 0; |
185 return 0; |
181 } |
186 } |