summaryrefslogtreecommitdiffstats
path: root/examples/checklists/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 17:32:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 17:32:43 -0600
commit4b9e514d7c18cdaa3e07347245b27d47825196c5 (patch)
tree39ce79dfdbb8b72fc02446791866a10e9043c5d1 /examples/checklists/main.cpp
parent05d2fcdc9265d1ee8b35899e300bf1ddf90c97de (diff)
downloadqt3-4b9e514d7c18cdaa3e07347245b27d47825196c5.tar.gz
qt3-4b9e514d7c18cdaa3e07347245b27d47825196c5.zip
Fix prior commit
Diffstat (limited to 'examples/checklists/main.cpp')
-rw-r--r--examples/checklists/main.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/checklists/main.cpp b/examples/checklists/main.cpp
new file mode 100644
index 0000000..2aa2559
--- /dev/null
+++ b/examples/checklists/main.cpp
@@ -0,0 +1,24 @@
+/****************************************************************************
+**
+** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of an example program for Qt. This example
+** program may be used, distributed and modified without limitation.
+**
+*****************************************************************************/
+
+#include "checklists.h"
+#include <qapplication.h>
+
+int main( int argc, char **argv )
+{
+ QApplication a( argc, argv );
+
+ CheckLists checklists;
+ checklists.resize( 650, 350 );
+ checklists.setCaption( "Qt Example - CheckLists" );
+ a.setMainWidget( &checklists );
+ checklists.show();
+
+ return a.exec();
+}