summaryrefslogtreecommitdiffstats
path: root/examples/chectdelists/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/chectdelists/main.cpp')
-rw-r--r--examples/chectdelists/main.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/chectdelists/main.cpp b/examples/chectdelists/main.cpp
new file mode 100644
index 000000000..65f368348
--- /dev/null
+++ b/examples/chectdelists/main.cpp
@@ -0,0 +1,24 @@
+/****************************************************************************
+**
+** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of an example program for TQt. This example
+** program may be used, distributed and modified without limitation.
+**
+*****************************************************************************/
+
+#include "checklists.h"
+#include <ntqapplication.h>
+
+int main( int argc, char **argv )
+{
+ TQApplication a( argc, argv );
+
+ CheckLists checklists;
+ checklists.resize( 650, 350 );
+ checklists.setCaption( "TQt Example - CheckLists" );
+ a.setMainWidget( &checklists );
+ checklists.show();
+
+ return a.exec();
+}