Files
qt-creator/doc/examples/batteryindicator/main.cpp
Leena Miettinen 5d7f1bd0a5 Doc - Add info about layouts to the example
Reviewed-by: Niels Weber
2010-07-07 10:38:47 +02:00

19 lines
265 B
C++

#include <QtGui/QApplication>
#include "batteryindicator.h"
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();
}