--- a/qtmobility/examples/bearermonitor/sessionwidget.h Fri Apr 16 15:51:22 2010 +0300
+++ b/qtmobility/examples/bearermonitor/sessionwidget.h Mon May 03 13:18:40 2010 +0300
@@ -42,8 +42,11 @@
#ifndef SESSIONWIDGET_H
#define SESSIONWIDGET_H
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6)
+#include "ui_sessionwidget_maemo.h"
+#else
#include "ui_sessionwidget.h"
-
+#endif
#include <qnetworksession.h>
QTM_USE_NAMESPACE
@@ -53,7 +56,7 @@
Q_OBJECT
public:
- SessionWidget(const QNetworkConfiguration &config, QWidget *parent = 0);
+ explicit SessionWidget(const QNetworkConfiguration &config, QWidget *parent = 0);
~SessionWidget();
private:
@@ -66,7 +69,9 @@
void closeSession();
void stopSession();
void updateSession();
-
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6)
+ void deleteSession();
+#endif
private:
QNetworkSession *session;
};