Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > 39815cfb0428fd9d1c438b6b3c91a209 > files > 515

qt3-example-3.3.8-4.2mdv2007.1.x86_64.rpm

#include <qapplication.h>
#include "mainform.h"

int main( int argc, char ** argv )
{
    QApplication a( argc, argv );
    MainForm *w = new MainForm;
    w->show();
    a.connect( &a, SIGNAL( lastWindowClosed() ), w, SLOT( quit() ) );
    return a.exec();
}