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