summaryrefslogtreecommitdiffstats
path: root/tqmake/examples/precompile/main.cpp
blob: 0c82180403c758861f63eac0a95c278bb929306d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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, TQ_SIGNAL(clicked()), TQ_SLOT(close()) );
    dia.show();

    return app.exec();
}