aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@nokia.com>2010-07-07 10:34:06 +0200
committerLeena Miettinen <riitta-leena.miettinen@nokia.com>2010-07-07 10:38:47 +0200
commit5d7f1bd0a5a9b24b3787b89683d7e0e247ae6e36 (patch)
tree23ef8e0087485e468a807f41e896162f38759701 /doc/examples
parentce6460e2290baaf0b9c4f7d8890e6be76e6d0fc0 (diff)
Doc - Add info about layouts to the example
Reviewed-by: Niels Weber
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/batteryindicator/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/examples/batteryindicator/main.cpp b/doc/examples/batteryindicator/main.cpp
index 2674f5de173..4d85d5cdc76 100644
--- a/doc/examples/batteryindicator/main.cpp
+++ b/doc/examples/batteryindicator/main.cpp
@@ -5,11 +5,14 @@ int main(int argc, char *argv[])
{
QApplication a(argc, argv);
BatteryIndicator w;
+
+//! [0]
#if defined(Q_WS_S60)
w.showMaximized();
#else
w.show();
#endif
+//! [0]
return a.exec();
}