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