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