summaryrefslogtreecommitdiffstats
path: root/qmake/examples/tutorial/main.cpp
blob: 70015ff41333f2995045f0338d87d7757c9d934e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <ntqapplication.h>
#include "hello.h"

int main( int argc, char **argv )
{
    TQApplication a( argc, argv );

    MyPushButton* hello = new MyPushButton( "Hello world!" );
    hello->resize( 100, 30 );

    a.setMainWidget( hello );
    hello->show();
    return a.exec();
}