#include <tqapplication.h>
#include <tqpushbutton.h>
#include <tqlabel.h>
#include "myobject.h"
#include "mydialog.h"

int main(int argc, char **argv)
{
    TQApplication app(argc, argv);
    
    MyObject obj;
    MyDialog dia;
    app.setMainWidget( &dia );
    dia.connect( dia.aButton, TQT_SIGNAL(clicked()), TQT_SLOT(close()) );
    dia.show();

    return app.exec();
}
