summaryrefslogtreecommitdiffstats
path: root/tutorial/t14/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/t14/main.cpp')
-rw-r--r--tutorial/t14/main.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/tutorial/t14/main.cpp b/tutorial/t14/main.cpp
new file mode 100644
index 000000000..5f2b439ea
--- /dev/null
+++ b/tutorial/t14/main.cpp
@@ -0,0 +1,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();
+}