blob: f7922ece8877c5ca7baba79ebf674bef04c60a9d (
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 13
**
****************************************************************/
#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();
}
|