summaryrefslogtreecommitdiffstats
path: root/examples/network/bearermonitor/sessionwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/bearermonitor/sessionwidget.h')
-rw-r--r--examples/network/bearermonitor/sessionwidget.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/examples/network/bearermonitor/sessionwidget.h b/examples/network/bearermonitor/sessionwidget.h
index ae5cc96..5e9d62c 100644
--- a/examples/network/bearermonitor/sessionwidget.h
+++ b/examples/network/bearermonitor/sessionwidget.h
@@ -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>
QT_USE_NAMESPACE
@@ -68,7 +71,9 @@ private Q_SLOTS:
void closeSession();
void stopSession();
void updateSession();
-
+#if defined(Q_WS_MAEMO_5) || defined(Q_WS_MAEMO_6)
+ void deleteSession();
+#endif
private:
QNetworkSession *session;
int statsTimer;