summaryrefslogtreecommitdiffstats
path: root/qmake/examples/tutorial/main.cpp
blob: f63c7e27c536a26c3cd3286b944cef56c2a0afc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <qapplication.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();
}