blob: 5f2b439eaaafc8b3a5eeca7823990bf6f756eebd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/****************************************************************
**
** TQt tutorial 14
**
****************************************************************/
#include <qapplication.h>
#include "gamebrd.h"
int main( int argc, char **argv )
{
TQApplication::setColorSpec( TQApplication::CustomColor );
TQApplication a( argc, argv );
GameBoard gb;
gb.setGeometry( 100, 100, 500, 355 );
a.setMainWidget( &gb );
gb.show();
return a.exec();
}
|