diff options
author | Dominik Holland <dominik.holland@nokia.com> | 2010-07-07 08:37:09 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-07-12 04:38:59 (GMT) |
commit | 4b6180908a52ada73288021c1380f06ae3f75707 (patch) | |
tree | 596b92e35bdafa09ce3ca8449e590075a9441aa7 /examples/network/bearermonitor | |
parent | d7316a6d6a088bf01695a0832182b677ad55907b (diff) | |
download | Qt-4b6180908a52ada73288021c1380f06ae3f75707.zip Qt-4b6180908a52ada73288021c1380f06ae3f75707.tar.gz Qt-4b6180908a52ada73288021c1380f06ae3f75707.tar.bz2 |
Compile fix for bearermonitor example
Diffstat (limited to 'examples/network/bearermonitor')
-rw-r--r-- | examples/network/bearermonitor/sessionwidget.h | 2 | ||||
-rw-r--r-- | examples/network/bearermonitor/sessionwidget_maemo.ui | 48 |
2 files changed, 49 insertions, 1 deletions
diff --git a/examples/network/bearermonitor/sessionwidget.h b/examples/network/bearermonitor/sessionwidget.h index 5b5827b..c92db44 100644 --- a/examples/network/bearermonitor/sessionwidget.h +++ b/examples/network/bearermonitor/sessionwidget.h @@ -41,12 +41,12 @@ #ifndef SESSIONWIDGET_H #define SESSIONWIDGET_H +#include <qnetworksession.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 diff --git a/examples/network/bearermonitor/sessionwidget_maemo.ui b/examples/network/bearermonitor/sessionwidget_maemo.ui index ca68246..8867509 100644 --- a/examples/network/bearermonitor/sessionwidget_maemo.ui +++ b/examples/network/bearermonitor/sessionwidget_maemo.ui @@ -214,6 +214,54 @@ </item> </layout> </item> + <item> + <layout class="QHBoxLayout" name="errorStringLayout_2"> + <item> + <widget class="QLabel" name="rxData"> + <property name="text"> + <string>0</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="txData"> + <property name="text"> + <string>0</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="errorStringLayout_3"> + <item> + <widget class="QLabel" name="errorStringLabel_2"> + <property name="text"> + <string>Active Time:</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="activeTime"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>0 seconds</string> + </property> + </widget> + </item> + </layout> + </item> </layout> </item> <item> |