diff options
Diffstat (limited to 'tutorial/t13/main.cpp')
-rw-r--r-- | tutorial/t13/main.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tutorial/t13/main.cpp b/tutorial/t13/main.cpp new file mode 100644 index 000000000..f7922ece8 --- /dev/null +++ b/tutorial/t13/main.cpp @@ -0,0 +1,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(); +} |