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