You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
375 B
19 lines
375 B
#include <ntqapplication.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, TQ_SIGNAL(clicked()), TQ_SLOT(close()) );
|
|
dia.show();
|
|
|
|
return app.exec();
|
|
}
|