diff options
Diffstat (limited to 'examples/network/mail/main.cpp')
-rw-r--r-- | examples/network/mail/main.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/network/mail/main.cpp b/examples/network/mail/main.cpp new file mode 100644 index 000000000..c80507699 --- /dev/null +++ b/examples/network/mail/main.cpp @@ -0,0 +1,23 @@ +/**************************************************************************** +** +** 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 <qapplication.h> + +#include "composer.h" + +int main( int argc, char **argv ) +{ + TQApplication a( argc, argv ); + + Composer c; + a.setMainWidget( &c ); + c.resize( 400, 500 ); + c.show(); + return a.exec(); +} |