forked from qt-creator/qt-creator
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			265 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			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();
 | 
						|
}
 |