diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/tools/designer/examples/addressbook/main.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/tools/designer/examples/addressbook/main.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/experimental/tqtinterface/qt4/tools/designer/examples/addressbook/main.cpp b/experimental/tqtinterface/qt4/tools/designer/examples/addressbook/main.cpp new file mode 100644 index 000000000..57c9cedc5 --- /dev/null +++ b/experimental/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(); +} |