diff options
Diffstat (limited to 'examples/distributor/main.cpp')
-rw-r--r-- | examples/distributor/main.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/distributor/main.cpp b/examples/distributor/main.cpp new file mode 100644 index 000000000..2a8a30cbe --- /dev/null +++ b/examples/distributor/main.cpp @@ -0,0 +1,11 @@ +#include <qapplication.h> +#include "distributor.h" + +int main( int argc, char ** argv ) +{ + TQApplication a( argc, argv ); + Distributor w; + w.show(); + a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( tquit() ) ); + return a.exec(); +} |