summaryrefslogtreecommitdiffstats
path: root/examples/buttongroups/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/buttongroups/main.cpp')
-rw-r--r--examples/buttongroups/main.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/buttongroups/main.cpp b/examples/buttongroups/main.cpp
new file mode 100644
index 000000000..771dd35b8
--- /dev/null
+++ b/examples/buttongroups/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 "buttongroups.h"
+#include <qapplication.h>
+
+int main( int argc, char **argv )
+{
+ TQApplication a( argc, argv );
+
+ ButtonsGroups buttonsgroups;
+ buttonsgroups.resize( 500, 250 );
+ buttonsgroups.setCaption( "TQt Example - Buttongroups" );
+ a.setMainWidget( &buttonsgroups );
+ buttonsgroups.show();
+
+ return a.exec();
+}